Against the advice of, well, the entire Rails community, I attempted to deploy a project to Godaddy.
Godaddy proudly displays the little Ruby logo next to Php when browsing through their hosting plans, and seeing as you can get Rails hosting for $7/month through them, it seems like a decent deal, even if you know it’s gonna get slow.
Baisically, what ends up happening when deploying to Godaddy, is you upload your application to a special directory you create through their control pannel, modify your dispatch.fcgi file, .htaccess files, turn off Java and pray. Its all supposed to run as FCGI in the end, which is not the speediest way to deploy a Rails app, but is acceptable for smaller, non-demanding applications.
The application I was attempting to deploy was a Rails 2.1 app, and I found that Godaddy is rocking Rails 1.1.6 (Release Aug 2006), so I froze Rails (standard practice), change the configs to point to the manually created database (no rake support here folks) and tried to hit it. Nothing. First, every time you modify the .htaccess file (and you will need to - many times) it takes 10-30 minutes for Apache to notice. So, you’re stuck making a change, waiting, testing, washing and repeating. If you’re using FCGI, there is literally NO output into the ‘errorlog’ Godaddy gives you, so you have to deploy with regular CGI to get any idea why your application isn’t working and then switch back to FCGI and pray.
Finally, after a couple hours of searching the interwebs and poking and prodding, I was getting somewhere - the error log started to get populated, but FastCGI wasn’t starting correctly. After some snooping, I saw that Rails 2.1 assumes that you’re not running whatever version of Gem was around in 2006. Gem was failing with a method not found error when Rails tries to talk to Godaddy’s almost 3 year old version.
I putzed around a bit looking for ways to skip that step of Rails’ boot process, swaping out boot.rb files from older version of Rails, hacking, etc.. and to no avail.
This is where I stopped. I figured that even if I got past this problem, the version of Rmagick was from mid 2006 and would likely not work with my app, and I wasn’t about to try and get Godaddy to update it. If they haven’t updated any of the Rails stuff yet, I don’t think they are going to any time soon.
My message for Godaddy is this: I want the entire day I spend on this back. You should stop advertising that you support Ruby/Rails when you obviously don’t. I’d bet 90% of Rails apps in development today would not be able to run on their hosting plans. Eh.
Latest Entries
- Zip Code Distance Searching in Ruby on Rails
- Smart Searching Using Anonymous Scopes
- Yes, I started a dating site. I’m sorry.
- I’ve pulled a Brett Farve
- blog.john.yerhot.org
- Deployment Nightmare: Godaddy
- KVM, VMware, and my whole Saturday
- Henry Rollins at Sacred Heart
- Obligatory Google Chrome Post
- rQuote - Ruby on Rails Stock Quote Plugin
Nov 7th, 2008 at 3:33 am
John,
I’m sorry to hear that you are having these issues. This is something we will evaluate as we look to enhance our current hosting offerings. I will be in touch with you soon so we can discuss this more in depth. Thank you.
Sincerely,
Alicia R.
Go Daddy Hosting
Mar 22nd, 2009 at 6:19 pm
Amen to this … I have it in spades.
All 5 of my GoDaddy Rails apps stopped working 4 days ago (on 3/18/2009), and although 4 of the 5 have been stable and working undisturbed for 6-8 months, they claim this sudden failure of all the apps is strickly my problem.
THE APPS DON’T RESPOND, AND THE LOGS ARE EMPTY… and they refuse to help me sort it out. (A church event app that has 400+ participants just stopped responding, and the conference is *this* Saturday) The timing of the failure could not be worse.
GoDaddy’s “World Class Support” does not include anyone on the other end of the phone who can even tell you as must as is written above. I even offered to PAY someobne to help - but no such person is available.
They have no good DOC or CHECKLIST of sufficient detail about how to set up even a hello-world Rails web app running on their service, much less tips about navigating the .htaccess and fcgi and cgi aspects.
If you ask for help, you get the reply, “Sorry we don’t get into debugging customer scripts” … debugging my scripts be-damned, I’m just trying to get the thing basically configured!!! And GoDaddy your info is NO HELP.
I’ve been using them for over 2 years now, and every time I work my way through something, I ask them to put it in their docs for others, and they don’t!!! Shame!!!
I have no evidence at this point that they even *can* help. I ask for just 5 mins of a real admin’s time — nothing, no reply — It seems the people who knew something about Rails left the building, and now all they can do say, “Sorry, we don’t fix customer scripts” … even when an app on their server never even gets control.
I’ve had all I can take. I am shopping for new Rails hosting provider.
If I could get the HEROKU gem installed on Windows I’d already be there… alas, it worked when they started out…
I am taking Rails hosting org recommendations at fredwild@gmail.com
I’d LOVE to hear a story of one that works!
Fred