An unhandled lowlevel error occurred. The application logs may have details.

April 25, 2016 11.2k views
Ruby on Rails Nginx Ubuntu

I deployed my first rails project following deploying-a-rails-app-on-ubuntu-14-04-with-capistrano-nginx-and-puma
after lot of issues, I completed all the steps almost in 4 days.

But now when I point my web browser to my server IP it say

An unhandled lowlevel error occurred. The application logs may have details.

whats the issue now and how to see application logs ?

1 comment
  • A few places to look are:
    myapp/current/log/production.log
    replacing myapp with the name of your app.
    Other logs will be located in /var/log - particularly /var/log/syslog

1 Answer

You need to look in your app directory logs for puma or webserver. I just had this and found this message:

Rack app error: #<RuntimeError: Missing `secret_token` and `secret_key_base` for 'production' environment, set these values in `config/secrets.yml`>

Have another answer? Share your knowledge.