Supervisor doesnot start

Hello All,
I have installed the ERPNext setup on our server it was multi tenant and installed in our virtual environment.
Yesterday we tried to pull the latest updates for setup and the setup stop working .
I have reset up the same setups using my git repositories without our virtual environment.

The new setup works on if is run the same using frappe --serve --port (multitenancy does not works)

I tried to stop screen and use supervisor , supervisor does not starts.

nginx .conf setting

supervisor.conf

if i run supervisorctl status following is output
frappe:frappe-web FATAL Exited too quickly (process log may have details)
frappe:frappe-worker FATAL Exited too quickly (process log may have details)
frappe:frappe-workerbeat FATAL Exited too quickly (process log may have details)

If I use supervisorctl start all following is out put
frappe-worker: ERROR (abnormal termination)
frappe-web: ERROR (abnormal termination)
frappe-workerbeat: ERROR (abnormal termination)

the out put of tail -f /var/log/supervisor/supervisord.log is as follows

2014-12-19 08:06:30,819 INFO exited: frappe-workerbeat (exit status 1; not expected)
2014-12-19 08:06:32,828 INFO spawned: ‘frappe-worker’ with pid 1344
2014-12-19 08:06:32,829 INFO spawned: ‘frappe-web’ with pid 1345
2014-12-19 08:06:32,871 INFO exited: frappe-web (exit status 1; not expected)
2014-12-19 08:06:32,872 INFO gave up: frappe-web entered FATAL state, too many start retries too quickly
2014-12-19 08:06:32,872 INFO exited: frappe-worker (exit status 1; not expected)
2014-12-19 08:06:33,873 INFO gave up: frappe-worker entered FATAL state, too many start retries too quickly
2014-12-19 08:06:33,876 INFO spawned: ‘frappe-workerbeat’ with pid 1346
2014-12-19 08:06:33,902 INFO exited: frappe-workerbeat (exit status 1; not expected)
2014-12-19 08:06:34,903 INFO gave up: frappe-workerbeat entered FATAL state, too many start retries too quickly

Is there any other way to use multinency with --serve --port command?

Thanks and regards,
Gangadhar kadam

It is asking you to check log files here, /home/indictrans/webapps/tailorpad_super/frappe-bench/logs

Hello Pratik,
Thank you for you reply . I have checked there is only bench.log and auto_update_log.log in logs which doesnot says about supervisor.

Regards,
Gangadhar kadam

Did you try reloading supervisor?
sudo supervisorctl reload

Doesn’t seem to be bench / frappe releated you can try to regenerate supervisor config as the new latest template doesn’t use the SITES PATH env var.

2 Likes