Question

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

Posted April 25, 2016 22.7k 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

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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`>

Submit an Answer