Question: 500 Server Error After Install

500 Server Error After Install

Went through the install process with version 2.0 and now have a 500 server error. No idea how to address that and need assistance. Not sure where to find the logs or really understand this

J

John

Asked
Went through the install process with version 2.0 and now have a 500 server error. No idea how to address that and need assistance. Not sure where to find the logs or really understand this directive to the public folder. As far as I know, I've done that. I see that the database is populated with content so something installed.
  • MS

    Mian Saleem

    Answered
    Hello,

    You can check your server php error log to know the cause. You can check the Laravel log in the `storage/logs/` folder too.

    Thank you
  • J

    John

    Answered
    Diagnostics says there are no errors in the logs. I do not see any error logs anywhere else.
  • J

    John

    Answered
    Finally found this laravel log. Here is the error:
    2023-12-09 14:04:44] production.ERROR: Unsupported cipher or incorrect key length. Supported ciphers are: aes-128-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm. {"exception":"[object] (RuntimeException(code: 0): Unsupported cipher or incorrect key length. Supported ciphers are: aes-128-cbc, aes-256-cbc, aes-128-gcm, aes-256-gcm. at /home/sites/22b/7/72cc583474/public_html/prayercmc/vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php:55)
    [stacktrace]
  • MS

    Mian Saleem

    Answered
    Hello,

    You can remove the text after `APP_KEY=` in the `.env` and then run `php artisan generate:key`

    If you can't run commands, I have replied with new key above. Please use that to update the .env file.

    Thank you
  • Login to Reply