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
   
 
Server keeps stopping on bluehost (unix using cPanel)
 
bitpusher
Posted: 10 May 2009 12:06 AM   [ Ignore ]  
Newbie
Rank
Total Posts:  1
Joined  2009-05-10

Hello,

I’m not familiar with RoR, but I do have a lot of programming experience.

That being said, I successfully installed tracks on my bluehost account (it runs cPanel), all through the SSH. However, the server keeps stopping shortly after I log out of the SSH and I was wondering if anyone had any tips on how to get the RoR server to stay alive?

Also, I’ve done enough RoR tutorials to see that many apps are accessed through the “/public” folder, but tracks doesn’t seem to use this method—it uses a port instead. Any way to change that so that tracks uses the /public directory sicne I’m having a lot more success getting my web server to allow access to those files.

thanks,

BP

Profile
 
Reinier Balt
Posted: 13 May 2009 08:25 PM   [ Ignore ]   [ # 1 ]  
Sr. Member
RankRankRankRank
Total Posts:  580
Joined  2006-10-05

do you manually start the server from SSH? In that case it could be the server process is killed after you log out.

Profile
 
neuro
Posted: 20 July 2009 08:00 AM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  1
Joined  2009-07-15

Not sure if this is the right place or not, but I managed to get tracks working on bluehost.

http://helpdesk.bluehost.com/kb/index.php/kb/article/000207
this article helped me get started on how to go about installing ruby apps. Basically I followed its steps but replaced tracks as my app.


Here is what I did: (need to have SSH access)

0) login to shell
1) $ cd ~
2) $ wget http://bsag.bingodisk.com/public/files/tracks-1.7.zip
3) $ unzip tracks-1.7.zip
4) $ mv tracks-1.7 tracks
... also followed the installing stuff from (http://www.getontracks.org/doc/chapter/2-installation.html). except the last step to start server (script/server -e production—didn’t do this)

5) created a subdomain from cpanel ( gtd.mydomain.com) pointing to ~/public_html/gtd
6) $ cd ~/public_html/
7) $ rm -r gtd
8) $ ln -s /home/USERNAME/tracks/public gtd
9) tried webpage: gtd.mydomain.com -> got back dispatch.fcgi file (i think), anyway it didn’t work.

since fcgi stuff wasn’t working i figured it was .htaccess file problem. So, I searched around bluehost help.
Found:
http://helpdesk.bluehost.com/kb/index.php/kb/article/000493

10) replaced ~/tracks/public/.htaccess with the file provided in above link.

11) again tried: gtd.mydomain.com—> SUCCESS!!!

I spent a couple hours trying to get it working, hopefully it’ll be useful to some and save some time.

Profile
 
   
 
 
‹‹ Tracks on Heroku howto      actionpack version error? ››

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

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

Atom Feed
RSS 2.0