Browsershot not wroking on Laravel queue

163 Views Asked by At

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.

0

There are 0 best solutions below