Upgrade v2.11.12 to v3.0.2 #7256
-
Using Option B as I always to update netbox. The upgrade completes but does have the following warnings in relation to mkdocs build: Applying database migrations (python3 netbox/manage.py migrate)... 425 static files copied to '/opt/netbox/netbox/static'.
Service does not start after a restart: Sep 13 14:11:16 cmdb systemd: Started NetBox WSGI Service. Is the issue related to the mkdocs build as I can't recall seeing this before with other upgrades. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This shows that you're not running Netbox inside its virtualenv. It's picking up packages from the host instead. Almost certainly the problem is in your
Note: after changing these files (i.e. |
Beta Was this translation helpful? Give feedback.
-
Thanks @candlerb that did the trick, successfully on v3.0.2 now. Not sure how it was working before this. |
Beta Was this translation helpful? Give feedback.
This shows that you're not running Netbox inside its virtualenv. It's picking up packages from the host instead.
Almost certainly the problem is in your
netbox.service
andnetbox-rq.service
. They should look like the ones in the contrib directory, especially these lines:Note: after changing these files (i.e.
/e…