Netbox upgrade issue - service can't start (from 2.2.6 to 2.8.9) #3952

Closed
opened 2025-12-29 18:32:15 +01:00 by adam · 1 comment
Owner

Originally created by @chaputj on GitHub (Aug 7, 2020).

Environment

  • Python version: 2.7.5 (I know Python 3.6 is installed but python ––version reports 2.7.5)
  • NetBox version: 2.8.9
  • CentOS Linux release 7.8.2003 (Core)

Steps to Reproduce

  1. Netbox 2.2.6 was directly installed in /opt/netbox so I renamed it /opt/netbox-2.2.6
  2. Install Redis (and add Redis configuration to the configuration.py file)
  3. Had to remove python34 (so python36 and all requirements could install)
  4. Follow the migration procedure with Netbox 2.8.9 (https://netbox.readthedocs.io/en/stable/installation/upgrading/)
  5. Upgrade successful without any errors

Expected Behavior

Upgrade completed successfully and service can start (as before the upgrade)

Observed Behavior

The netbox service can't start anymore

Installed gunicorn (following https://netbox.readthedocs.io/en/stable/installation/4-http-daemon/#gunicorn-configuration & https://netbox.readthedocs.io/en/stable/installation/4-http-daemon/#systemd-configuration

Same thing

systemctl status netbox attached as a screenshot.

netbox_service

Thank you

Originally created by @chaputj on GitHub (Aug 7, 2020). ### Environment * Python version: 2.7.5 (I know Python 3.6 is installed but **python ––version** reports 2.7.5) * NetBox version: 2.8.9 * CentOS Linux release 7.8.2003 (Core) ### Steps to Reproduce 1. Netbox 2.2.6 was directly installed in /opt/netbox so I renamed it /opt/netbox-2.2.6 2. Install Redis (and add Redis configuration to the configuration.py file) 3. Had to remove python34 (so python36 and all requirements could install) 4. Follow the migration procedure with Netbox 2.8.9 (https://netbox.readthedocs.io/en/stable/installation/upgrading/) 4. Upgrade successful without any errors ### Expected Behavior Upgrade completed successfully and service can start (as before the upgrade) ### Observed Behavior The netbox service can't start anymore Installed gunicorn (following https://netbox.readthedocs.io/en/stable/installation/4-http-daemon/#gunicorn-configuration & https://netbox.readthedocs.io/en/stable/installation/4-http-daemon/#systemd-configuration Same thing **systemctl status netbox** attached as a screenshot. ![netbox_service](https://user-images.githubusercontent.com/39830707/89648777-b9f43880-d88d-11ea-9eea-a588b83d31de.PNG) Thank you
adam closed this issue 2025-12-29 18:32:15 +01:00
Author
Owner

@lampwins commented on GitHub (Aug 10, 2020):

Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using one of the templates provided [here (https://github.com/netbox-community/netbox/issues/new/choose). For general discussion, questions, or assistance with installation issues, please post to our mailing list instead.

@lampwins commented on GitHub (Aug 10, 2020): Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using one of the templates provided [here (https://github.com/netbox-community/netbox/issues/new/choose). For general discussion, questions, or assistance with installation issues, please post to our [mailing list](https://groups.google.com/forum/#!forum/netbox-discuss) instead.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3952