Coder Social home page Coder Social logo

Comments (12)

emersonfelipesp avatar emersonfelipesp commented on May 26, 2024

Could you please try running it on django development mode using python3 manage.py runserver 0.0.0.0:8000 --insecure and provide out terminal output error here?
Also, try using the last version released to se if maybe the problem is already solved!

from netbox-proxbox.

Crimson1110 avatar Crimson1110 commented on May 26, 2024

Perhaps I need to test it on fresh install of Netbox, but for now the error is still there with the last version.

and the manage.py gave this error:
ModuleNotFoundError: No module named 'django'

I installed the requirements.txt
then it started to give this error:
manage.py runserver: error: unrecognized arguments: --insecure

on venv it starts normally but when I try to do the Proxmox full update, it still gives the keyerror.

Am I doing something wrong?

from netbox-proxbox.

emersonfelipesp avatar emersonfelipesp commented on May 26, 2024

Try following steps:

  1. Enter Netbox Virtual Environment
source /opt/netbox/venv/bin/activate
  1. Start Django server on port 8000 for testing purposes, it shows real-time logging on Linux terminal.
cd /opt/netbox/netbox
python3 manage.py runserver 0.0.0.0:8000 --insecure
  1. Open your Netbox on Web Browser using the following URL format: http://<your-ip-address>:8000

WARNING: You MUST use http:// instead of https://, because the --insecure argument is to do exactly that: to not use HTTPS. If not, it will probably occur HTTP error and the page will not even open if not using HTTP.

If you get the same errors again, copy the full logging output you got on Linux terminal so I can help you to solve it!

from netbox-proxbox.

JacobdeBrouwer avatar JacobdeBrouwer commented on May 26, 2024

hi @emersonfelipesp,

i am running into the same issue (on a fresh netbox install, with the plugin installed according to the instructions.

Running your instructions as mentioned above only results in the following output:

`(venv) root@netbox01:/opt/netbox/netbox# python3 manage.py runserver 0.0.0.0:800 0 --insecure
Performing system checks...

System check identified no issues (0 silenced).
May 10, 2022 - 20:23:03
Django version 4.0.4, using settings 'netbox.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
[10/May/2022 20:23:18] "GET / HTTP/1.1" 200 154256
[10/May/2022 20:23:18] "GET /static/netbox-light.css?v=3.2.2 HTTP/1.1" 200 23217 5
[10/May/2022 20:23:18] "GET /static/netbox-dark.css?v=3.2.2 HTTP/1.1" 200 374410
[10/May/2022 20:23:18] "GET /static/netbox-external.css?v=3.2.2 HTTP/1.1" 200 28 6568
[10/May/2022 20:23:18] "GET /static/netbox.js?v=3.2.2 HTTP/1.1" 200 375393
[10/May/2022 20:23:18] "GET /static/netbox_icon.svg HTTP/1.1" 200 835
[10/May/2022 20:23:18] "GET /static/netbox_logo.svg HTTP/1.1" 200 4719
[10/May/2022 20:23:18] "GET /static/netbox-print.css?v=3.2.2 HTTP/1.1" 200 72786 7
[10/May/2022 20:23:18] "GET /static/materialdesignicons-webfont-KSYPMDN6.woff2?v =5.9.55 HTTP/1.1" 200 325244
[10/May/2022 20:23:18] "GET /static/netbox_touch-icon-180.png HTTP/1.1" 200 4054
[10/May/2022 20:23:18] "GET /static/netbox.ico HTTP/1.1" 200 1174
[10/May/2022 20:23:21] "GET /plugins/proxbox/ HTTP/1.1" 200 134981
[Proxbox - Netbox plugin | Update All]
[10/May/2022 20:23:22] "GET /plugins/proxbox/full_update/ HTTP/1.1" 500 1561
[10/May/2022 20:23:22] "GET /static/netbox-light.css HTTP/1.1" 200 232175
[10/May/2022 20:23:22] "GET /favicon.ico HTTP/1.1" 404 133718
[10/May/2022 20:23:57] "GET / HTTP/1.1" 200 154256
[10/May/2022 20:24:00] "GET /plugins/proxbox/ HTTP/1.1" 200 134981
[Proxbox - Netbox plugin | Update All]
[10/May/2022 20:24:01] "GET /plugins/proxbox/full_update/ HTTP/1.1" 500 1561`

is there some more verbose logging available? this doesn't seem to give us much information.

from netbox-proxbox.

emersonfelipesp avatar emersonfelipesp commented on May 26, 2024

i am running into the same issue (on a fresh netbox install, with the plugin installed according to the instructions.

Hi @JacobdeBrouwer, what Netbox version are you using and are you running the last Proxbox version released (v0.0.4)?

from netbox-proxbox.

JacobdeBrouwer avatar JacobdeBrouwer commented on May 26, 2024

@emersonfelipesp i am running netbox 3.2.2 and using proxbox cloned from the github's master repository. (i had other issues in the PIP release).

also, i am running both on a debian 11 VM with python 3.9.

from netbox-proxbox.

emersonfelipesp avatar emersonfelipesp commented on May 26, 2024

Are you using develop branch (which is the default one)?
Does Netbox GUI (webpage) shows any errors? Or it just does not open?

from netbox-proxbox.

JacobdeBrouwer avatar JacobdeBrouwer commented on May 26, 2024

i am running the default branch (which indeed seems to be development).

see the attached screenshot for details on what the GUI shows:

image

from netbox-proxbox.

emersonfelipesp avatar emersonfelipesp commented on May 26, 2024

i am running the default branch (which indeed seems to be development).

see the attached screenshot for details on what the GUI shows:

image

What Proxmox version are you running? Does Proxbox created any object on Netbox?
Also, let me know if you have Virtual Machines or Containers with the same name, because I think there is a bug related to it.

from netbox-proxbox.

ettorsson avatar ettorsson commented on May 26, 2024

I am having the same problem.
image

I am using Proxmox 7.2-3.
Netbox version 0.0.4

I have no vms with same name, I had one but still the same problem after changing the name.

from netbox-proxbox.

emersonfelipesp avatar emersonfelipesp commented on May 26, 2024

I am having the same problem. image

I am using Proxmox 7.2-3. Netbox version 0.0.4

I have no vms with same name, I had one but still the same problem after changing the name.

Maybe the problem is related to Proxmox >7.x.x as all my development environment runs Proxmox with version 6.x.x.
I will upgrade one of my servers to latest Proxmox version and comeback here to show my results.

from netbox-proxbox.

emersonfelipesp avatar emersonfelipesp commented on May 26, 2024

Hi, could you please try testing it again, if possible? There was several new updates to code since then. Thank you already!

from netbox-proxbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.