1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Laravel: (Job dispatch) Failed to open stream: Permission denied

Discussão em 'Outras Linguagens' iniciado por Abhishek Sharma, Novembro 4, 2024 às 08:32.

  1. fopen(app/storage/framework/cache/data/6a/e8/6ae8f7a027ae2ffc516a3933fcade51ab014d34d): Failed to open stream: Permission denied

    Stack trace

    app/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:256
    app/vendor/laravel/framework/src/Illuminate/Filesystem/LockableFile.php:69
    app/vendor/laravel/framework/src/Illuminate/Filesystem/LockableFile.php:42
    app/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php:108
    app/vendor/laravel/framework/src/Illuminate/Cache/FileLock.php:14
    app/vendor/laravel/framework/src/Illuminate/Cache/Lock.php:91
    app/vendor/laravel/framework/src/Illuminate/Bus/UniqueLock.php:43
    app/vendor/laravel/framework/src/Illuminate/Foundation/Bus/PendingDispatch.php:164
    app/vendor/laravel/framework/src/Illuminate/Foundation/Bus/PendingDispatch.php:188
    app/vendor/ssntpl/cloud-storage/src/CloudStorageAdapter.php:65
    app/vendor/ssntpl/cloud-storage/src/CloudStorageAdapter.php:151


    I am dispatching job app/vendor/ssntpl/cloud-storage/src/CloudStorageAdapter.php:65 job

    SyncFileJob::dispatch($path, $fromDisk, $remoteDisk)->onConnection($this->connection)->onQueue($this->queue);


    then sometimes that line throw above error(Failed to open stream: Permission denied) whereas sometimes it working fine.

    can anyone explain me, why is it happened? what will be the solution for it?

    If there was a permission issue then not a single job would be run. queue connection is sync

    Continue reading...

Compartilhe esta Página