An Interest In:
Web News this Week
- April 19, 2024
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
August 23, 2021 10:43 am GMT
Original Link: https://dev.to/613596/permission-denied-for-laravel-8-storage-logs-solved-2021-12ld
Permission denied for laravel 8 storage logs [solved] - 2021
If you are a laravel developer you may run into the laraval.log permission error that is **The stream or file "log file location" could not be opened: failed to open stream: Permission denied. I found this error mostly while deploying laravel in VPS (virtual private network) in digitalocean droplet.
To solve this error there is only one command which is:
sudo chown -R www-data:www-data /var/www/{laravel_project_name}
Now your storage permission error must be solved by now.
Happy Coding!!
Original Link: https://dev.to/613596/permission-denied-for-laravel-8-storage-logs-solved-2021-12ld
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To