500 server error when deploying Laravel application in aws


Abbie

I've been trying to fix this bug for 2 weeks now and it's still not resolved.

I've used all the answers related to this question but haven't found any solution that works for my problem :(

used command

chmod -R o+w laravel_blog/storage
sudo chmod -R 755 laravel_blog
php artisan key:generate
php artisan cache:clear 
php artisan config:clear
sudo chown -R www-data:www-data ./storage

please help me ||

balcony
  1. Check in your files in the Laravel root folder .env:

    a) Check if you have the .envfile, if not copy and paste .env.exampleit to.env

    b) APP_DEBUG = true(when deploying to server, after checking your app - change to false)

    c) APP_KEY =(these must be empty)

    d) save the .envfile

    e) runphp artisan key:generate

    f) Open your website (all other errors returned by the server)

  2. Runcomposer install

Related


500 error when deploying laravel on server with nginx

Evolution Roff I am learning Laravel now. I made a blog demo and it works fine with MAMP on my mac. But when I deploy it on my remote server it works now! I get nothing but 500 errors! I searched the problem many times, I reinstalled my vps and got a new Larav

Server error after deploying mvc application to aws

Craig PH I have an asp.net MVC application that allows users to upload PDFs to the system (PDF files are saved to a folder called Surveys). The PDF is then sent to the Azure Read API and the returned data is stored in a .text file on the system (so I can enter

Merge error when deploying Laravel application

Flugund Hi I just got this error when deploying my Laravel app to staging: Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_PARSE) syntax error, unexpected '<<' (T_SL) Seems to be a merge conflict in the package, any ideas? Open: /var/www/are

Merge error when deploying Laravel application

Flugund Hi I just got this error when deploying my Laravel app to staging: Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_PARSE) syntax error, unexpected '<<' (T_SL) Seems to be a merge conflict in the package, any ideas? Open: /var/www/are

500 error when loading view when deploying on server

coffee So I have a Laravel 5.2 project that is deployed as a local vhost and on a remote server. When I call a specific view, remotely, locally, everything works fine, I get a 500 error. The problem is, the views, controllers and routes all seem to be working

Error 500 when uploading Laravel project to server

Nick: When I upload a Laravel blog and try to view it, I get a 500 error (Internal Server Error). I'm new to laravel so I don't have a lot of experience yet. But I have tried a few things. I've read that Laravel's root directory must be in the /public folder.

Error 500 when uploading Laravel project to server

Nick: When I upload a Laravel blog and try to view it, I get a 500 error (Internal Server Error). I'm new to laravel so I don't have a lot of experience yet. But I have tried a few things. I've read that Laravel's root directory must be in the /public folder.

Deploying Website: 500 - Internal Server Error

Jacob Jedricek I am trying to deploy an ASP.NET application. I have deployed the site to IIS, but when accessing it with a browser it shows me this: Server Error 500 Internal Server Error. There is a problem with the resource you are looking for and cannot be

Deploying Website: 500 - Internal Server Error

Jacob Jedricek I am trying to deploy an ASP.NET application. I have deployed the site to IIS, but when accessing it with a browser it shows me this: Server Error 500 Internal Server Error. There is a problem with the resource you are looking for and cannot be

Deploying Website: 500 - Internal Server Error

Jacob Jedricek I am trying to deploy an ASP.NET application. I have deployed the site to IIS, but when accessing it with a browser it shows me this: Server Error 500 Internal Server Error. There is a problem with the resource you are looking for and cannot be