Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Installation  >  Tracks on a web host  >  Thread
   
 
Media Temple grid server (gs) issues
 
kitz
Posted: 03 March 2009 07:53 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  6
Joined  2009-03-03

Hi all,

Sorry to bother with what might be a ridiculous question (hope not), but I am having some issues getting Tracks running on my Media Temple GS.  I have searched the forum for help on this and notice that someone else had an issue that was resolved, but it wasnt the same problem and to be honest, im a rookie (this is the first ruby app Ive ever installed), could use the help of some seniors! 

Everything seemed to have gone as planned until I tried to start up Tracks via MT’s account center. When attempted, I got the dreaded “application started, but no pid file was found.  check ‘mtr status.’”

Im pretty sure this has something to do with the fact that my database isnt hooked up correctly.  I’ve tried to use the rake command (rake db:migrate RAILS_ENV=production) but i get the following error when doing so:

rake aborted!
undefined method `install_gem_spec_stubs' for #<Rails::Initializer:0xb7acabcc> 

I’ve set up a db for this and edited my database.yml file like so (as I’ve read a couple other post giving examples on media temple’s support forum for ruby apps):

production:
  
adapter: mysql
  database
: dbXXXXX_[dbname]
  username
: dbXXXXX_[user]
  password
: *****
  
host: internal-db.sXXXXX.gridserver.com 

Does anyone have any ideas on what i might try to get this thing running? 
TIA!

Profile
 
Reinier Balt
Posted: 06 March 2009 08:15 AM   [ Ignore ]   [ # 1 ]  
Sr. Member
RankRankRankRank
Total Posts:  580
Joined  2006-10-05

this is not about your database, but something with your gems

did you do a clean install? are you using rubygems 1.3.1?

Profile
 
kitz
Posted: 09 March 2009 01:09 PM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  6
Joined  2009-03-03

Yeah, I am running 1.3.1 and have done a fresh install of everything, still getting errors trying to start the application.  Via the account center on mediatemple it’s telling me “application started, but no pid file was found, check mtr status.” 

I called MT support back and spoke to a member of their tech support team that is going to try and help by attempting to install the app on him own server to see if he can do it.  If you have any other suggestions in the meantime, please let me know!  I will update the forum with news as I get it.

Thanks

Profile
 
Reinier Balt
Posted: 10 March 2009 02:15 PM   [ Ignore ]   [ # 3 ]  
Sr. Member
RankRankRankRank
Total Posts:  580
Joined  2006-10-05

this should not matter, but I saw an item stating that this could be because the rails gem is not installed.

Profile
 
kitz
Posted: 10 March 2009 02:23 PM   [ Ignore ]   [ # 4 ]  
Newbie
Rank
Total Posts:  6
Joined  2009-03-03

yeah, rails is def installed.  I did a reinstall on the phone with the MT tech support guy.  The database just isnt (seemingly) migratable via terminal (that’s the part of the setup that I got stuck at, so im assuming that is causing issue when i try to start the ruby app).

Any other ideas would be greatly appreciated!

Profile
 
kitz
Posted: 25 March 2009 07:37 PM   [ Ignore ]   [ # 5 ]  
Newbie
Rank
Total Posts:  6
Joined  2009-03-03

Anyone?  I really want to get this going and I have absolutely no clue on where to start trouble shooting :(

Profile
 
kitz
Posted: 29 March 2009 08:07 PM   [ Ignore ]   [ # 6 ]  
Newbie
Rank
Total Posts:  6
Joined  2009-03-03

Ok all, I finally got the db to migrate.  In order to do so, I had to basically replace the tracks directory on the server as something was off with the copy of Ruby that I had in the tracks folder (or thats my guess).

After that, I had to do some minor edits to my database.yml file in order to get it to rake (had to make sure the production: section was to spec…apparently yaml can get finicky with an erroneous space here and there).  Anyhow, all raked.

I finally thought it was all over, and now i go to my subdomain and realize Im getting a “502 Bad Gateway” error.  Does anyone have any ideas what that might be?

Profile
 
kitz
Posted: 31 March 2009 12:46 AM   [ Ignore ]   [ # 7 ]  
Newbie
Rank
Total Posts:  6
Joined  2009-03-03

all is working now.  I wrote a tutorial in the wiki so nobody has to figure everything out for themselves again.

http://www.getontracks.org/wiki/Media-Temple-gs/

Profile
 
   
 
 
‹‹ Need a bit more infor for installing on webhost      Installed on Joyent Shared hosting - app closes with shell ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.2 (20091002)
Script Executed in 0.1167 seconds

Atom Feed
RSS 2.0