Welcome Guest | Login

Error 500

Deployed an app that was locally developed using Mongrel (here I'm using FastCGI), tried everything in the tutorials and the troubleshooter and still get an Error 500. The first page that the app should point to doesn't use any gems or plugins, so if they were incorrectly installed it wouldn't be affected. Routes.rb acting up again? There's nothing in the production logs...

2008-07-02 11:28 PM

Please have a look at what production log says. It appears that your app's MySQL database logins are incorrect and hence it's not able to to it.

2008-07-03 12:00 AM

The error log on the cpanel has this:
nothing that is from today or yesterday

The production, development, server and test logs under /log are completely blank. I was able to perform the migrations for the database, so I'm assuming that the username and password in database.yml are fine.

2008-07-03 01:21 AM

Hi,

Please refrain from posting account/server specific details on the forums. Also it seems you're looking into just the app directory and not into the one under ~apps/you_rails_app/current/public. There seems be an irrelevant recursive link going to public of the app which isn't revisioned. Please look into the log files under current release of the app to find the relevant errors.

2008-07-03 02:48 AM

Thanks Varun. I had uploaded a new version without killing the old one in /apps and the symlink didn't overwrite the old symlink, hence the problem.

2008-07-03 12:29 PM

Hi Flanker,

It seems like the ~/apps folder is empty. Also the application is working fine from the location /home/user/railsapp/public.  
Please verify the it from your end. Let us know if your are still facing any issues while cap deploying.

2008-07-03 01:30 PM

Hi Vinayan,

No, I'm not facing any more issues. I haven't configured Capistrano for the new release yet, so that is why the apps folder is empty.

2008-07-03 01:35 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.