Reputation: 133
I deployed app after ruby update, and restarted passenger:
passenger-config restart-app /home/deploy/my_app_staging --ignore-app-not-running
After that I get 500 error:
We're sorry, but something went wrong.
The issue has been logged for investigation. Please try again later.
Error id: 2426c9c8
How to find logs for this error id ?
tail -f -n 200 /var/log/nginx/error.log
doesn't show any errors
Web app( rails) also doesn't show any errors.
Upvotes: 1
Views: 1633
Reputation: 133
@rdalpra thank's a lot for responses!!! I found the solution passenger save logs to /tmp/passenger-xxx as html So I scp this file and open locally
At the end - The problem resolved with rvm use --default 2.5.5
Upvotes: 2
Reputation: 368
Can you provide a bit more detail on your stack?
If you have a load balancer on top of it, I would look there, as it might be preventing the connection from reaching your proxy.
Also, take a look at /var/log/nginx/access.log
to see if the connections aren't being returned as successful but not reaching your passenger instance.
Adding your nginx.conf might be useful as well.
Upvotes: 2