Open Crimson1110 opened 2 years ago
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!
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?
source /opt/netbox/venv/bin/activate
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
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!
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.
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)?
@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.
Are you using develop branch (which is the default one)? Does Netbox GUI (webpage) shows any errors? Or it just does not open?
i am running the default branch (which indeed seems to be development).
see the attached screenshot for details on what the GUI shows:
i am running the default branch (which indeed seems to be development).
see the attached screenshot for details on what the GUI shows:
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.
I am having the same problem.
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.
I am having the same problem.
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.
Hi, could you please try testing it again, if possible? There was several new updates to code since then. Thank you already!
On a fresh install of Netbox, I am having this error as soon as I try to do a full update:
Server Error
There was a problem with your request. Please contact an administrator.
The complete exception is provided below:
<class 'KeyError'>
'errors'
Python version: 3.8.10 NetBox version: 3.0.0
If further assistance is required, please post to the NetBox mailing list. Home Page