L
L
lavezzi12015-08-14 10:35:56
Ruby on Rails
lavezzi1, 2015-08-14 10:35:56

After deployment, error 500, logs are empty, what to do?

I am working on this tutorial https://www.digitalocean.com/community/tutorials/h... Now, when I access my server ip, this picture

We're sorry, but something went wrong.
If you are the application owner check the logs for more information.

In the browser line, it is in brackets (500). I tried looking at the rails logs in log/production.log. They are empty. How to identify the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
TyzhSysAdmin, 2015-08-14
@POS_troi

Firstly, you have the wrong link - there is a dot at the end. Correct
Secondly, once again check from whom the services are started, the rights to write / read and the availability of sockets.
Wanguyu - you don't run unicorn or whatever you use there, or if you deploy to "home_dir", then nginx does not have access to this directory.
Check who is running nginx and whether the socket is available to him.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question