-
Hello redis-server version is 5.0.7 After the upgrade the netbox service fails to start. Here is a log from my upgrade: root@netbox:/opt# cd netbox 481 static files copied to '/opt/netbox-3.2.6/netbox/static'.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
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 i ran a diff of the old file with the new file in contrib They were identical I copied the file to the new folder and restarted the service root@netbox:~# systemctl status netbox netbox-rq Jul 26 20:59:40 netbox systemd[1]: Started NetBox WSGI Service. ● netbox-rq.service - NetBox Request Queue Worker Jul 26 20:59:41 netbox systemd[1]: netbox-rq.service: Succeeded. netbox is now working as it should! |
Beta Was this translation helpful? Give feedback.
-
I noticed that the upgrade guide in the documentation mentions that gunicorn.py file but i missed it. |
Beta Was this translation helpful? Give feedback.
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…