Cheats
Close all running supervisor jobs
supervisorctl stop all
Errors on Forge
Below is an error after deleting a site. This is related to this line:
Jan 10 08:51:21 server01 supervisord[3713742]: Error: The directory named as part of the path /home/forge/site.example.net/horizon.log does not exist in section ‘program:b>
Here is the full output when checking the status.
forge@server01:~$ sudo systemctl status supervisor ● supervisor.service - Supervisor process control system for UNIX Loaded: loaded (/lib/systemd/system/supervisor.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Fri 2025-01-10 08:50:31 SAST; 15s ago Docs: http://supervisord.org Process: 3713568 ExecStart=/usr/bin/supervisord -n -c /etc/supervisor/supervisord.conf (code=exited, status=2) Main PID: 3713568 (code=exited, status=2) Jan 10 08:51:21 server01 systemd[1]: supervisor.service: Scheduled restart job, restart counter is at 90971. Jan 10 08:51:21 server01 systemd[1]: Stopped Supervisor process control system for UNIX. Jan 10 08:51:21 server01 systemd[1]: Started Supervisor process control system for UNIX. Jan 10 08:51:21 server01 supervisord[3713742]: Error: The directory named as part of the path /home/forge/site.example.net/horizon.log does not exist in section 'program:b> Jan 10 08:51:21 server01 supervisord[3713742]: For help, use /usr/bin/supervisord -h Jan 10 08:51:21 server01 systemd[1]: supervisor.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Jan 10 08:51:21 server01 systemd[1]: supervisor.service: Failed with result 'exit-code'.
To find the culprit, do this:
# cat /etc/supervisor/conf.d/ daemon-728302.conf worker-390633.conf worker-640677.conf horizon.conf worker-398908.conf worker-825957.conf worker-332384.conf worker-399009.conf worker-825981.conf worker-335074.conf worker-457822.conf worker-826643.conf worker-336951.conf worker-485345.conf
Check horizon.conf, especially.
Reference
https://stackoverflow.com/questions/17069373/stopping-supervisor-doesnt-stop-celery-workers