Rails App Just Broke!


#1

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.


#2

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]


#3

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


#4

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.


#5

Check your error logs: /user/logs/

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#6

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 :frowning: