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 ?
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.
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
>
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
>
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
>
A few places to look are:
myapp/current/log/production.log
replacingmyapp
with the name of your app. Other logs will be located in/var/log
- particularly/var/log/syslog