@consigliere Don't know how Digitalocean works internally but it seems like a permissions problem. Clear all the compiled views from storage/framework/views, then hit the route and check if it helps.
Simply chmod -R 777 <folder> is not the "right way", you're essentially giving everyone who has access to the system all privileges to this folder. Safer way is to add web user, usually www-data, write permissions to the folder. Something like
chown -R www-data <folder>, recursively set owner to www-data
chmod -R u+w <folder>, recursively add write permissions for the user (www-data)
Hello guys,
I got same server error for one route
But the problem is solved very easily with simple mistake i have done in it
just add csrf token code in the submitted form for laravel 5.1.
Hope it helps someone who might land here , although is too late
I had the same case I ended up deleting the controller in my production environment that was causing 500, i then recreated the controller using php artisan make:controller . then i copied the code from the dev environment and paste in production environment