I just updated ubuntu packages and composer update from inside my ssh terminal on Forge
Now when I try to login I get TokenMismatchException in VerifyCsrfToken.php (line 68)
I have tried
- deleted browsers cookies and application data
- php artisan clear:cache
- composer dump-autoload
- Deleted composer.lock on both sides, updated from homestead and git push to server
- php artisan clear-compiled
- Restarted Nginx, Server
I am running out of ideas now. What can I do to fix this??
Thanks
After discussion, it was a folder permissions issues.
chmod 777 -R storage
OP must be careful with this as it opens up the server.
More appropriate for production would be the following:
sudo chgrp -R www-data storage bootstrap/cache sudo chmod -R ug+rwx storage bootstrap/cache