Replies: 9 comments 12 replies
-
What does |
Beta Was this translation helpful? Give feedback.
-
@vongchan I have the same problem that you reported, could you show me what you did to solve it? |
Beta Was this translation helpful? Give feedback.
-
almost always permission issues from past experience, good luck! |
Beta Was this translation helpful? Give feedback.
-
I found the same issue, this is my exact script I used to upgrade my netbox and it fixed my issues.
Run these commands but replace netbox-X-Y-Z with your old (existing) install
I suspect this is what will fix your issue
Then lastly once that's all done, run the upgrade from within the newly linked netbox folder
|
Beta Was this translation helpful? Give feedback.
-
Having the same issue. |
Beta Was this translation helpful? Give feedback.
-
I'm experiencing this issue also: My development environment consists of the following: I've been performing the installation as a local admin user. Some of the commands required root access so "sudo su" was performed. Receiving the following When I execute: I'm thinking the issue is a rights issue. |
Beta Was this translation helpful? Give feedback.
-
Receive the following error when executing the command provided: [root@scdl-ifipam-001 netbox]# sudo -u netbox /opt/netbox/venv/bin/gunicorn --pid /var/tmp/netbox.pid --pythonpath /opt/netbox/netbox --config /opt/netbox/gunicorn.py netbox.wsgi [root@scdl-ifipam-001 bin]# ls -l gunicorn Thanks in advance for any direction you can provide. |
Beta Was this translation helpful? Give feedback.
-
I believe I've come to the root cause of my installation. netbox installation was performed as root so the netbox service started as root instead of netbox Is there a step that I have missed or is this something precellular with RHEL 8 |
Beta Was this translation helpful? Give feedback.
-
The following are the rights associated with the media, reports and scripts folders: [dennis@scdl-ifipam-001 netbox]$ ls -l Permissions are consistent with the Netbox configuration. "Top -u netbox" indicates nothing is running as netbox. Unless I'm missing something, the following applications should be run as netbox: gunicorn, python3 Does anybody know how I can change who starts the applications ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
NetBox version
v3.1.1
Python version
3.9
Steps to Reproduce
I got an issue with the netbox-rq. Our netbox GUI is working fine. but when i tried to restart or check the status of netbox (i.g: systemctl status netbox netbox-rq), it show an error.
Could you please assist me with this issue?
Expected Behavior
no error and should be able to restart the server such as systemctl restart netbox netbox-rq
Observed Behavior
root@local-01:/home/netbox# systemctl status netbox netbox-rq
● netbox.service - NetBox WSGI Service
Loaded: loaded (/etc/systemd/system/netbox.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2022-05-10 13:24:20 PDT; 29s ago
Docs: https://docs.netbox.dev/
Process: 363981 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)
Main PID: 363981 (code=exited, status=1/FAILURE)
May 10 13:24:37 local-01 systemd[1]: netbox-rq.service: Main process exited, code=exited, status=1/FAILURE
May 10 13:24:37 local-01 systemd[1]: netbox-rq.service: Failed with result 'exit-code'.
Beta Was this translation helpful? Give feedback.
All reactions