I had faced the same issue on Ubuntu 20.04 (web server: apache2).
Returned an error ": ERROR (no such process)"
There is no process running in your supervisor. If you have any scheduler or queue jobs then you can create a process in the supervisor.
to create a process for the supervisor
sudo nano /etc/supervisor/conf.d/process_name.conf
you can change the process_name.conf to your process name.
2 . Enter the process roles in the opened window. here I'm listing an example
[program:queue-worker] process_name=%(program_name)s_%(process_num)02d command= your process autostart=true autorestart=true user=root numprocs=8 redirect_stderr=true stdout_logfile=/var/www/path_to_project/storage/logs/notification_out.log stderr_logfile= /var/www/path_to_project/storage/logs/notification_err.log
There is to logs created by the supervisor stdout_logfile and stderr_logfile to monitor your process
stdout_logfile
stderr_logfile
and you can change the program queue-worker to any process name
Enter the command to reread supervisor.
sudo supervisorctl reread
Enter the command to update the supervisor.
sudo supervisorctl update
Enter the command to start the supervisor.
sudo supervisorctl start:queue-worker
the queue-worker is your program name
here is the detailed doc.
https://www.digitalocean.com/community/tutorials/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps
There is no process running in your supervisor. If you have any scheduler or queue jobs then you can create a process in the supervisor.
to create a process for the supervisor
sudo nano /etc/supervisor/conf.d/process_name.confyou can change the process_name.conf to your process name.
2 . Enter the process roles in the opened window. here I'm listing an example
There is to logs created by the supervisor
stdout_logfileandstderr_logfileto monitor your processand you can change the program queue-worker to any process name
Enter the command to reread supervisor.
sudo supervisorctl rereadEnter the command to update the supervisor.
sudo supervisorctl updateEnter the command to start the supervisor.
sudo supervisorctl start:queue-workerthe queue-worker is your program name
here is the detailed doc.
https://www.digitalocean.com/community/tutorials/how-to-install-and-manage-supervisor-on-ubuntu-and-debian-vps