AWS Elastic Beanstalks Shows "whoops! There Was An Error" On Its Url After Uploading Laravel Project
I need your help. I have created a website on Laravel and its working totally fine on my localhost but when I deploy it on AWS using Elastic Beanstalk it shows "Whoops There was an error" title page only without any error or text on the page except title.
I have tried many options like changing env file name, generating app key, changing root folder from / to /public but it just doesn't work. Below I am sharing you my folder structure that I am uploading to AWS beanstalk after zipping. Here is elastic beanstalk url. http://lessyes.us-east-1.elasticbeanstalk.com/
Answer
Probably because your file/folder permissions
How to set up file permissions for Laravel?
sudo find /path/to/your/laravel/root/directory -type f -exec chmod 664 {} \;
sudo find /path/to/your/laravel/root/directory -type d -exec chmod 775 {} \;
For your cache
directory:
sudo chmod -R ug+rwx storage bootstrap/cache
Related Questions
- → "failed to open stream" error when executing "migrate:make"
- → October CMS Plugin Routes.php not registering
- → OctoberCMS Migrate Table
- → OctoberCMS Rain User plugin not working or redirecting
- → October CMS Custom Mail Layout
- → October CMS - How to correctly route
- → October CMS create a multi select Form field
- → October CMS - Conditionally Load a Different Page
- → How to disable assets combining on development in OctoberCMS
- → October CMS - Radio Button Ajax Click Twice in a Row Causes Content to disappear
- → OctoberCms component: How to display all ID(items) instead of sorting only one ID?
- → In OctoberCMS how do you find the hint path?
- → How to register middlewares in OctoberCMS plugin?