sfx101 / deck

DECK is a powerful and high performant local web development studio, an open source alternative to Docker desktop
https://github.com/deck-app
GNU Affero General Public License v3.0
1.5k stars 71 forks source link

Permission denied The exception occurred while attempting to log [Laravel] #139

Closed sanjayojha closed 1 year ago

sanjayojha commented 1 year ago

For some reason, Laravel can not write in stroage log. I am getting following error:

The stream or file "/var/www/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied The exception occurred while attempting to log:

Using Windows with WSL2.

nabad600 commented 1 year ago

Hi @sanjayojha, You can change the directory permission through the console, please below the details image Click Shell image Click LARAVEL container image open console

image Run the command sudo chmod 777 storage

Hope the issue is resolved.

nabad600 commented 1 year ago

Hi @sanjayojha Hope the issue is resolved, I'm closing this ticket as you created a separate ticket with a new issue. we'd be happy to help