netbox and netbox-rq services activating auto-restart #13834
Replies: 4 comments 15 replies
-
Your first point of call is to run But I can tell you that you're going to have problems with such an old version: 2.5.3 was released in January 2019. Firstly, I see you're trying to run However, the virtualenv was not made part of standard installs until Feb 2020:
Prior to that it would have been a hit-and-miss of installing global pip packages which may or may not interfere with the system python packages you have. Secondly, (re)installing old versions of Netbox is prone to problems. Netbox never fully pinned its package version requirements, which means it's not repeatable to install. v2.5.3 may have installed successfully nearly 5 years ago, but today it may pull in a different and incompatible set of dependencies. If this affects you, then run However, do note that you can take a Netbox 2.5.3 database and import it into any version up to and including Netbox 2.11.12. After restoring you need to run Once you are on 2.11.12 then you can export the database again and then import into any current version, including the latest 3.6.1. I'd strongly recommend you aim to do this, rather than try to keep the 5-year-old software running. |
Beta Was this translation helpful? Give feedback.
-
Hello, thanks |
Beta Was this translation helpful? Give feedback.
-
3.8 is fine. IIRC, Netbox 2.11 works with Python 3.6 to 3.8 inclusive. Higher versions may or may not work. |
Beta Was this translation helpful? Give feedback.
-
D, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We have a version netbox 2.5.3 with database v.9.6 install on debian 9.
I want to migrate this install a same version or a version below in order to do a import to my database on my last OS debian 11
So I create a new virtual machine on my ESXi, I installed as PostgreSQL Database 9.6, Redis 3.2.6 with python 3.6.0.
All package works I have trouble with gunicorn.
When I install netbox the folder crontrib don't exist so I do copy of this file because of when I lauch this comma,nd line
sudo systemctl start netbox netbox-rq
the service is not active● netbox.service - NetBox WSGI Service Loaded: loaded (/etc/systemd/system/netbox.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Wed 2023-09-20 10:24:27 CEST; 25s ago Docs: https://docs.netbox.dev/ Process: 921789 ExecStart=/usr/local/bin/gunicorn --pid /var/tmp/netbox.pid --pythonpath /opt/netbox/netbox --config /o> Main PID: 921789 (code=exited, status=1/FAILURE) CPU: 103ms
I use ChaTGPT Bard in order to my issue but nothing for resolv my issue I read many discussion I try many command line on this discussion but not working
Someone can help me ?
Sorry in oder to my spelling mistake I'm French I hope you undertand me
Thanks
Beta Was this translation helpful? Give feedback.
All reactions