Hi @juvpengele you checked that the file really was imported there /home/juvenal/Lab/Pro/support-stat/storage/imports/ and with that name?
doesn't look that the error is in the queue driver
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I wan to read a file in queue (QUEUE_DRIVER=database), when i dispatch a job from the controller to queue, and pass the file path as parameter, the job start to run, but when open a file, the code throw an ErrorException as follow:
[2019-06-06 15:17:09] local.ERROR: Could not open /home/juvenal/Lab/Pro/support-stat/storage/imports/ENNYO9iwInnClO5r9r3mtVJ1camwKKzU9wkkylrC.xlsx for reading! File does not exist.
When I set the queue_driver = sync, the job can open the file the path without an error.
this is my code in the controller
$path = request()->file("cdr_file")->store("imports");
$absolutePath = storage_path($path);
StoreCdr::dispatch($absolutePath);
How could I open a file in a queue driver ?
Please or to participate in this conversation.