Hi Guys,
Love Netbox but struggling to go through the upgrade process.
I've currently deployed a version in our dev environment trying to get it upgraded to 2.9 first and been following the steps to get it upgraded but running into a number of issues and was wondering if anybody could provide advice.
1. Copied all configuration data from /opt/netbox to /opt/netbox-2.9.0
Since the current deployment is in /op/netbox I figured it would be easier just specifying which version I'll be upgrading too as I want to upgrade to v3.0 eventually and will take a while. Followed the below guide mainly.
2. Added cryptography<3.4 to local_requirements.txt
This I had to do cause during the upgrade I would get about my version of cryptography not being up to date. Adding this in has helped a lot.
3. After the upgrade I can't seem to start the netbox service.
● 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 2021-11-29 12:43:19 AEDT; 25s ago
Process: 18882 ExecStart=/opt/netbox/venv/bin/gunicorn --pid /var/tmp/netbox.pid --pythonpath /opt/netbox/netbox --config /opt/netbox/gunicorn.py netbox.wsgi (code=exited, status=1/FAILURE)
I can see it referencing the old /opt/netbox location rather than the /opt/netbox-v2.9.0 which I was hoping it would reference.
What would be the next steps to troubleshoot this further?
Cheers,
Nick