Question: Error 500 After Deployed The Application

Error 500 After Deployed The Application

Dear Sirs, I bought the app Simple Stock Manager yesterday e after I deployed it in my server in DigitalOcean, using ubuntu 22.04, I fill up the fields in Initial Wizard, the server gave

MM

Max Malta

Asked
Dear Sirs,

I bought the app Simple Stock Manager yesterday e after I deployed it in my server in DigitalOcean, using ubuntu 22.04, I fill up the fields in Initial Wizard, the server gave me an error 500.
I tried again, same error. Please help me what is wrong? I changed the vhost setting default path from /public_html/ to /public_html/public.
The database connection with MariaDB it ok, the tables and users were created with successful.

Currently url: http://estoque.protestocontagem.com.br

Thank you so much,

Max Malta
Brazil.
  • MM

    Max Malta

    Answered
    Solution: the password saved in .env file need to include double quotes ("").
    Example: If you password is secret, edit the file .env and change from: DB_PASSWORD=secret to DB_PASSWORD="secret"
    The developer needs to fix this bug.

    Hint: if you would like to force redirect http to https, edit file /public/.htaccess:
    Include 2 lines after RewriteEngine On and restart the web server.

    RewriteCond %{HTTPS} !=on
    RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
  • MS

    Mian Saleem

    Answered
    Thank you for feedback. I will update the installer in next release.
  • Login to Reply