Skip to content
Advertisement

Starting supervisorctl gives ERROR (spawn error) on laravel queue worker process

So i have installed supervisor and it appears to be running. I have placed my config file for the queue worker in /etc/supervisor/conf.d/laravel-worker.conf

And it looks like this

JavaScript

And my supervisord.conf looks like this

JavaScript

I am getting the error – ERROR (spawn error) when i attempt to start the processes.

When i look at the log file it shows –

JavaScript

I have verified that all the files in my config file exist. I am not sure i am using the right configuration in my laravel-worker.conf. I have searched documentation and other stackoverflow threads but could not find the solution

Advertisement

Answer

So the problem apparently was with my laravel-worker I needed to complete command path by adding ‘/artisan’ to the path like so –

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement