The error says it can't write to the storage directory. You need to make sure it has the correct permissions. You can run this to achieve that
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
So, following the laracasts videos I changed my default site's meta to my domain and then installed a Let's Encrypt certificate, tried browsing my site and I just get an empty screen and a 500 error in the browser's console. I tried redeploying my aplication since maybe the change in directory was the cause but still nothing.
Checking nginx logs this is the full error stack I'm getting:
https://i.gyazo.com/5326e10a3a6e8caa3954b72f0044a059.png
Any help would be appreciated.
Please or to participate in this conversation.