DEV Community

Discussion on: Deploy Laravel Application with Nginx on Ubuntu 18.04 on DigitalOcean

Collapse
 
wmfairuz profile image
Fairuz Wan Ismail

Since the folder is owned by the user and Nginx is running with the user www-data, I would assume in your case, Laravel will not able to create file in the storage folder?

Collapse
 
maurisource profile image
Manesh

that's correct, and fixed running this

sudo chown -R :www-data /var/www/yourlaravelapp