5

unicorn/rails server errors in production, but doesn't write to log or stderr

view full story
linux-howto

http://serverfault.com – Where is my stack trace? I have a small Rails 3.2 app that I am trying to get running under unicorn proxied to an Apache vhost on a Linode server. In development mode locally, and on the linode, it works as expected. But as soon as I throw the -E production switch, I get the error in the browser that "We're sorry, but something went wrong." So, of course I try to look in the logs to see what the issue is. But there is NOTHING in the app log dir. Nor is there any useful info in /var/log/apache2. So, I tried to reduce the situation to its essentials, and just running and accessing unicorn_rai (HowTos)