Skip to content

Issues with netbox upgrade from 2.11.12 to 3.2.6 #9848

Answered by vacumet
vacumet asked this question in Q&A
Discussion options

You must be logged in to vote

I locked at /var/log/syslog and noticed that it couldn't find gunicorn.py

Jul 26 20:57:40 netbox gunicorn[1180]: Error: '/opt/netbox/gunicorn.py' doesn't exist
Jul 26 20:57:40 netbox systemd[1]: netbox.service: Main process exited, code=exited, status=1/FAILURE
Jul 26 20:57:40 netbox systemd[1]: netbox.service: Failed with result 'exit-code'.

i ran a diff of the old file with the new file in contrib
cd /opt
diff netbox-2.11.12/gunicorn.py netbox-3.2.6/contrib/gunicorn.py

They were identical

I copied the file to the new folder and restarted the service
cp netbox-2.11.12/gunicorn.py netbox-3.2.6/
systemctl restart netbox netbox-rq

root@netbox:~# systemctl status netbox netbox-rq
● netbox.se…

Replies: 2 comments 2 replies

Comment options

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

You must be logged in to vote
2 replies
@candlerb
Comment options

@vacumet
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants