0

I have an issue where as I am taking screenshots of responses using Browsershot which works fine when using dispatchSync. But as soon as I switch over to dispatch and use the queue (redis) the jobs fail with the following output;

Working directory: /var/www/html
Output:
================
Error Output:
================
Error: Failed to launch the browser process! spawn /usr/bin/chromium-browser ENOENT

I might also mention this is running through a Docker container.

Luke Snowden
  • 4,056
  • 2
  • 37
  • 70
  • Is the same docker container listening and executing REDIS queued jobs? Nothing in laravel or PHP log? – Mtxz Nov 25 '22 at 00:16
  • Yes, horizon is loaded via worker and the same error in the logs – Luke Snowden Nov 25 '22 at 08:49
  • Is the same linux user running the command from your queue listener, and when you test manually? (eg: root with your test, "php-fpm" with your queue listener). Can you add some details about the Job content? The command that it runs? Ty – Mtxz Nov 25 '22 at 16:41

0 Answers0