Skip to content

error upgrading 3.3.2 to 3.6.6 -> ModuleNotFoundError: No module named 'graphiql_debug_toolbar' #14435

Closed Locked Answered by candlerb
sivasudheer6 asked this question in Help Wanted!
Discussion options

You must be logged in to vote

File "/usr/local/lib/python3.8/dist-packages/gunicorn/arbiter.py

You are running the wrong instance of gunicorn. You are running a global system-installed one, but you should be running the one inside Netbox's virtualenv. The global one doesn't know about the Netbox virtualenv or the packages installed in it.

This is controlled by /etc/systemd/system/netbox.service. There's a working one you should copy in the contrib/ directory. It should have a line like this:

ExecStart=/opt/netbox/venv/bin/gunicorn --pid /var/tmp/netbox.pid --pythonpath /opt/netbox/netbox --config /opt/netbox/gunicorn.py netbox.wsgi

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sivasudheer6
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants