upgrading from 4.0.3 to 4.1.0 netbox-rq failes to start #17403
-
upgrading from version 4.0.3 to 4.1.0 using the git process - there don't seem to be any errors running the upgrade.sh script we have a basic install and only adding LDAP config - Ubuntu 22.04 systemctl status netbox-rq journalctl -eu netbox-rq Sep 06 18:50:02 wb-netbox-t02 python3[16712]: Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You're running with global Python libraries. Don't do that; Netbox must always run in its own virtualenv.
What is directory /opt/netbox/bin/ for? This shouldn't exist. You should be using /opt/netbox/venv/bin/python3 to run python inside the venv - as per the supplied config file. The installation instructions are there to help you. If you decide to install things differently, and things break, then it's up to you to debug and fix any problems. |
Beta Was this translation helpful? Give feedback.
You're running with global Python libraries. Don't do that; Netbox must always run in its own virtualenv.
What is directory /opt/netbox/bin/ for? This shouldn't exist. You should be using /opt/netbox/venv/bin/python3 to run python inside the venv - as per the supplied config file.
The installation instructions are there to help you. If you decide to install things differently, and things br…