Try clearing your cache with Artisan.
Permission Denied on Ubuntu
Hi, I'm moving from Windows to ubuntu and I've tried everything to make it work, but I can't move forward.
First thing I did was add my user to www-data group
sudo usermod -a -G www-data andre-mello
than create /var/www folder.
that clone using sudo.
sudo clone https://.......git
So I changed group and owner
chgrp -R www-data /var/www/laravel
chown -R www-data /var/www/laravel
gave permission
chmod -R 775 /var/www/laravel/storage
chmod -R 775 /var/www/laravel/bootstrap/cache
The app are writing logs normally in storage/logs
Composer install have worked
But I getting this message when access in browser
ErrorException in Filesystem.php line 81:
file_put_contents(/b1349b087ffe25207b75411bdf223a83): failed to open stream: Permission denied
I've tried even chmod -R 777 /var/www/larevel but getting the same error!
What am I missing?
Thanks
Please or to participate in this conversation.