Rails App Just Broke!!!

Rails App Just Broke!!!

Posted by: milkjam
Posted on: 2009-04-08 11:16:00

Looks like my shared host server got rebooted last night, and my Rails app has since broke. I only get the error ..

Rails application failed to start properly

I don't see anything in the Rails logs (i.e. app/logs/production.log). I can run a script/console and interact with the models fine, so the database and code are fine.

I am using Passenger and if I do a 'touch tmp/restart.txt' the file doesn't disappear.

As a test I even generated a completely fresh Rails app and this doesn't even work. I get the default index.html page come up, but when I click 'About you application environment' I get the following error:


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@xxx and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Re: Rails App Just Broke!!!

Posted by: milkjam
Posted on: 2009-04-08 11:19:00

Here are the results of some basic stuff:

gem list rails
*** LOCAL GEMS ***
rails (2.2.2, 2.1.2, 2.1.1, 2.1.0, 2.0.5, 2.0.2)

which ruby
/usr/bin/ruby

ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]


Re: Rails App Just Broke!!!

Posted by: milkjam
Posted on: 2009-04-08 11:46:00

Right i just fired up webrick with script/server and my app runs fine. The problem seems to be with the server. Any ideas?

Re: Rails App Just Broke!!!

Posted by: milkjam
Posted on: 2009-04-09 00:49:00

This is terrible. After a few initial replies from Dreamhost Support, suggesting the problem is with my app. I am now getting no more replies to my support request.

I have a broken site, clients waiting and nothing I can do.



Re: Rails App Just Broke!!!

Posted by: sXi
Posted on: 2009-04-09 04:02:00

Check your error logs: /user/logs/




How To Install PHP.INI / ionCube on DreamHost

Re: Rails App Just Broke!!!

Posted by: milkjam
Posted on: 2009-04-09 10:59:00

Thanks but nothing in them. I can see HTTP requests in the access.log but there is nothing in error.log.


It is now 24 hours since I have heard from support :(

Tags: internal server errorserver error log500 internal server errorhost serverinternal errorerror errorserver administratorlogsmodels