502 Bad Gateway error after upgrading from Ubuntu Server 20.10 to 20.04LTS #7115

Closed
opened 2025-12-29 20:19:24 +01:00 by adam · 0 comments
Owner

Originally created by @sucram92 on GitHub (Oct 18, 2022).

NetBox version

v2.9.7

Python version

3.10

Steps to Reproduce

Hello I recently upgraded my Ubuntu Server from 21.10LTS to 22.04LTS and it has broken Netbox.
Error I get when loading the page post upgrade is Error 502 bad gateway nginx/1.18.0 (Ubuntu)

Expected Behavior

For the webpage to load as expected with no errors

Observed Behavior

netbox.service - NetBox WSGI Service
Loaded: loaded (/etc/systemd/system/netbox.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2022-10-17 19:11:31 MDT; 23s ago
Docs: https://netbox.readthedocs.io/en/stable/
Process: 7339 ExecStart=/opt/netbox/venv/bin/gunicorn --pid /var/tmp/netbox.pid --pythonpath /opt/netbox/netbox --config /opt/netbox/gunicorn.py netbox.wsgi >
Main PID: 7339 (code=exited, status=1/FAILURE)
CPU: 1.031s

Originally created by @sucram92 on GitHub (Oct 18, 2022). ### NetBox version v2.9.7 ### Python version 3.10 ### Steps to Reproduce Hello I recently upgraded my Ubuntu Server from 21.10LTS to 22.04LTS and it has broken Netbox. Error I get when loading the page post upgrade is Error 502 bad gateway nginx/1.18.0 (Ubuntu) ### Expected Behavior For the webpage to load as expected with no errors ### Observed Behavior netbox.service - NetBox WSGI Service Loaded: loaded (/etc/systemd/system/netbox.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Mon 2022-10-17 19:11:31 MDT; 23s ago Docs: https://netbox.readthedocs.io/en/stable/ Process: 7339 ExecStart=/opt/netbox/venv/bin/gunicorn --pid /var/tmp/netbox.pid --pythonpath /opt/netbox/netbox --config /opt/netbox/gunicorn.py netbox.wsgi > Main PID: 7339 (code=exited, status=1/FAILURE) CPU: 1.031s
adam closed this issue 2025-12-29 20:19:25 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7115