Hi, I've and app on a server an when it's in debug mode I can run task in Supervisor, but when I change it debug to false it crashes: supervisortctl: FATAL Exited too quickly (process log may have details)
supervisorlog:
[InvalidArgumentException]
There are no commands defined in the "queue" namespace.
X-Powered-By: PHP/5.5.18 Content-type: text/html
laravel.log: [2014-11-04 17:37:12] production.ERROR: exception 'InvalidArgumentException' with message 'There are no commands defined in the "queue" namespace.' in /production/vendor/symfony/console/Symfony/Component/Console/Application.php:514 Stack trace: #0 /production/vendor/symfony/console/Symfony/Component/Console/Application.php(548): Symfony\Component\Console\Application->findNamespace('queue') #1 /production/vendor/symfony/console/Symfony/Component/Console/Application.php(188): Symfony\Component\Console\Application->find('queue:listen') #2 /production/vendor/symfony/console/Symfony/Component/Console/Application.php(121): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #3 /production/artisan(58): Symfony\Component\Console\Application->run() #4 {main} [] []
[program:production] command=php artisan queue:listen --env=production directory=/production stdout_logfile=/production/app/storage/logs/supervisord.log redirect_stderr=true autostart=true autorestart=true
Laravel 4.1 Beanstalkd 1.9 Supervisor 3.1.3
Does anyone know how to run supervisor task without issues?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community