A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
×Changed your mind?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
How do I figure out what is wrong?
Posted August 23, 201312k views
I followed the tutorial on railscasts.com concerning deployment to a VPS and got after a couple adjustments ran cap deploy:setup and cap deploy:cold without getting back any errors. I ssh'd into my droplet and restarted both Unicorn and Nginx but now i get a "can't establish connection error."
In the past I would use cpanel to take a look at the logs to see what error was being thrown...is there a way to check why my site is down?
when I typed that in nothing popped up. when i tried starting unicorn....
@estimaterer:~# service unicorn start
* Starting Unicorn web server unicorn master failed to start, check stderr log for details
Well it looks like my rails app is installed to root@estimaterer:/home/root/apps/contests/current per capistrano and git instructions....
While there is still the rails app installed to root@estimaterer:/home/rails.
I'm guessing the site is trying to run the app in the home/rails setup. Do i have to delete the original rails installation?