supervisor start ERROR

When things don't work as they should.
Post Reply
amphetamine
Posts: 34
Joined: Sat Jul 04, 2020 8:43 am

supervisor start ERROR

Post by amphetamine »

try to fix the supervisor issue, but failed and even worse than before. site was down now.
(because the supervisor cannot be stopped in anyway, so removed mayan-edms.conf and used mayan.conf, thens system generate the 0 byte of mayan-edms.conf, and still cannot be stopped, then try to reverse the original one, copy the content of mayan-edms.conf.bak into 0 byte of mayan-edms.conf )...

restart the supervisor, and won't get the system back online. :(
any tips to fix that?

~$ sudo systemctl status supervisor

Code: Select all

● supervisor.service - Supervisor process control system for UNIX
     Loaded: loaded (/lib/systemd/system/supervisor.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2021-11-15 11:32:34 CST; 9s ago
       Docs: http://supervisord.org
   Main PID: 1493010 (supervisord)
      Tasks: 7 (limit: 4504)
     Memory: 237.1M
     CGroup: /system.slice/supervisor.service
             ├─1493010 /usr/bin/python3 /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
             ├─1493061 /opt/mayan-edms/bin/python /opt/mayan-edms/bin/gunicorn --bind 0.0.0.0:8000 --env DJANGO_SETTINGS_MODULE=mayan.set>
             ├─1493073 /opt/mayan-edms/bin/python /opt/mayan-edms/bin/celery -A mayan beat --pidfile= -l ERROR
             ├─1493074 /opt/mayan-edms/bin/python /opt/mayan-edms/bin/celery -A mayan worker --hostname=mayan-edms-worker_a.%h --loglevel>
             ├─1493078 /opt/mayan-edms/bin/python /opt/mayan-edms/bin/celery -A mayan worker --hostname=mayan-edms-worker_b.%h --loglevel>
             ├─1493080 /opt/mayan-edms/bin/python /opt/mayan-edms/bin/celery -A mayan worker --hostname=mayan-edms-worker_c.%h --loglevel>
             └─1493086 /opt/mayan-edms/bin/python /opt/mayan-edms/bin/celery -A mayan worker --concurrency=1 --hostname=mayan-edms-worker>

Nov 15 11:32:40 edms supervisord[1493010]: 2021-11-15 11:32:40,004 INFO exited: mayan-edms-celery-beat (exit status 1; not expected)
Nov 15 11:32:40 edms supervisord[1493010]: 2021-11-15 11:32:40,074 INFO exited: mayan-edms-worker_b (exit status 1; not expected)
Nov 15 11:32:40 edms supervisord[1493010]: 2021-11-15 11:32:40,173 INFO exited: mayan-edms-worker_c (exit status 1; not expected)
Nov 15 11:32:40 edms supervisord[1493010]: 2021-11-15 11:32:40,619 INFO exited: mayan-edms-worker_d (exit status 1; not expected)
Nov 15 11:32:41 edms supervisord[1493010]: 2021-11-15 11:32:41,022 INFO spawned: 'mayan-edms-celery-beat' with pid 1493073
Nov 15 11:32:41 edms supervisord[1493010]: 2021-11-15 11:32:41,028 INFO spawned: 'mayan-edms-worker_a' with pid 1493074
Nov 15 11:32:41 edms supervisord[1493010]: 2021-11-15 11:32:41,030 INFO success: mayan-edms-gunicorn entered RUNNING state, process has s>
Nov 15 11:32:41 edms supervisord[1493010]: 2021-11-15 11:32:41,117 INFO spawned: 'mayan-edms-worker_b' with pid 1493078
Nov 15 11:32:41 edms supervisord[1493010]: 2021-11-15 11:32:41,194 INFO spawned: 'mayan-edms-worker_c' with pid 1493080
Nov 15 11:32:42 edms supervisord[1493010]: 2021-11-15 11:32:42,201 INFO spawned: 'mayan-edms-worker_d' with pid 1493086
lines 3-26/26 (END)
     Active: active (running) since Mon 2021-11-15 11:32:34 CST; 9s ago
       Docs: http://supervisord.org
   Main PID: 1493010 (supervisord)
      Tasks: 7 (limit: 4504)
     Memory: 237.1M
     CGroup: /system.slice/supervisor.service
             ├─1493010 /usr/bin/python3 /usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf
             ├─1493061 /opt/mayan-edms/bin/python /opt/mayan-edms/bin/gunicorn --bind 0.0.0.0:8000 --env DJANGO_SETTINGS_MODULE=mayan.se>
             ├─1493073 /opt/mayan-edms/bin/python /opt/mayan-edms/bin/celery -A mayan beat --pidfile= -l ERROR
             ├─1493074 /opt/mayan-edms/bin/python /opt/mayan-edms/bin/celery -A mayan worker --hostname=mayan-edms-worker_a.%h --logleve>
             ├─1493078 /opt/mayan-edms/bin/python /opt/mayan-edms/bin/celery -A mayan worker --hostname=mayan-edms-worker_b.%h --logleve>
             ├─1493080 /opt/mayan-edms/bin/python /opt/mayan-edms/bin/celery -A mayan worker --hostname=mayan-edms-worker_c.%h --logleve>
             └─1493086 /opt/mayan-edms/bin/python /opt/mayan-edms/bin/celery -A mayan worker --concurrency=1 --hostname=mayan-edms-worke>

Nov 15 11:32:40 edms supervisord[1493010]: 2021-11-15 11:32:40,004 INFO exited: mayan-edms-celery-beat (exit status 1; not expected)
Nov 15 11:32:40 edms supervisord[1493010]: 2021-11-15 11:32:40,074 INFO exited: mayan-edms-worker_b (exit status 1; not expected)
Nov 15 11:32:40 edms supervisord[1493010]: 2021-11-15 11:32:40,173 INFO exited: mayan-edms-worker_c (exit status 1; not expected)
Nov 15 11:32:40 edms supervisord[1493010]: 2021-11-15 11:32:40,619 INFO exited: mayan-edms-worker_d (exit status 1; not expected)
Nov 15 11:32:41 edms supervisord[1493010]: 2021-11-15 11:32:41,022 INFO spawned: 'mayan-edms-celery-beat' with pid 1493073
Nov 15 11:32:41 edms supervisord[1493010]: 2021-11-15 11:32:41,028 INFO spawned: 'mayan-edms-worker_a' with pid 1493074
Nov 15 11:32:41 edms supervisord[1493010]: 2021-11-15 11:32:41,030 INFO success: mayan-edms-gunicorn entered RUNNING state, process has >
Nov 15 11:32:41 edms supervisord[1493010]: 2021-11-15 11:32:41,117 INFO spawned: 'mayan-edms-worker_b' with pid 1493078
Nov 15 11:32:41 edms supervisord[1493010]: 2021-11-15 11:32:41,194 INFO spawned: 'mayan-edms-worker_c' with pid 1493080
Nov 15 11:32:42 edms supervisord[1493010]: 2021-11-15 11:32:42,201 INFO spawned: 'mayan-edms-worker_d' with pid 1493086
lines 3-26/26 (END)
amphetamine
Posts: 34
Joined: Sat Jul 04, 2020 8:43 am

Re: supervisor start ERROR

Post by amphetamine »

finally, redo the upgrade process and fixed the issue
Post Reply