Uncaught UnexpectedValueException: The stream or file “/var/app/current/storage/logs/laravel.log” could not be opened: failed to open stream
If you get this kind of error when trying to use php artisan migrate in your AWS EB environment , use this technique to solve it . You may face 500 error for the same reason in your laravel setup .
Go to your laravel installation path & change the chmod of those two folder
[root@ip-10-0-0-34 current]# chmod -R 777 storage
[root@ip-10-0-0-34 current]# chmod -R 777 bootsrap
Problem Solved !!
Cheers !! .
If you need any Server setup for AWS , heroku , docker , digital ocean or any VPS / dedicated hosting , feel free to contact with me .