From 43366f8039ae05fd330cb7753c66f374fca20a6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Kl=C3=ADma?= Date: Fri, 16 Nov 2018 07:38:33 +0100 Subject: [PATCH] netbox/manage.py rqworker command unknown Configuration file template `/etc/supervisor/conf.d/netbox.conf` contains `netbox-rqworker` section. In case, you do not enable WEBHOOKS_ENABLE and use REDIS you get this from `supervisor` ```no-highlight Nov 16 07:21:39 localhost supervisord[14968]: 2018-11-16 07:21:39,774 INFO exited: netbox-rqworker (exit status 1; not expected) Nov 16 07:21:40 localhost supervisord[14968]: 2018-11-16 07:21:40,778 INFO spawned: 'netbox-rqworker' with pid 31816 Nov 16 07:21:41 localhost supervisord[14968]: 2018-11-16 07:21:41,781 INFO success: netbox-rqworker entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Nov 16 07:21:43 localhost supervisord[14968]: 2018-11-16 07:21:43,008 INFO exited: netbox-rqworker (exit status 1; not expected) Nov 16 07:21:44 localhost supervisord[14968]: 2018-11-16 07:21:44,012 INFO spawned: 'netbox-rqworker' with pid 31822 Nov 16 07:21:45 localhost supervisord[14968]: 2018-11-16 07:21:45,014 INFO success: netbox-rqworker entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) ``` --- docs/installation/3-http-daemon.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/installation/3-http-daemon.md b/docs/installation/3-http-daemon.md index 6ca38783e..b30f3bcb3 100644 --- a/docs/installation/3-http-daemon.md +++ b/docs/installation/3-http-daemon.md @@ -134,10 +134,11 @@ command = gunicorn -c /opt/netbox/gunicorn_config.py netbox.wsgi directory = /opt/netbox/netbox/ user = www-data -[program:netbox-rqworker] -command = python3 /opt/netbox/netbox/manage.py rqworker -directory = /opt/netbox/netbox/ -user = www-data +# ### Uncomment when you enabled WEBHOOKS_ENABLE and use REDIS +# [program:netbox-rqworker] +# command = python3 /opt/netbox/netbox/manage.py rqworker +# directory = /opt/netbox/netbox/ +# user = www-data ``` Then, restart the supervisor service to detect and run the gunicorn service: