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
   
 
Tracks on TextDrive problem: could not open database
 
hardcoreUFO
Posted: 28 March 2007 02:36 PM   [ Ignore ]  
Newbie
Rank
Total Posts:  6
Joined  2007-03-28

I am having some success running Tracks on TextDrive, but I am running into a problem when trying to run tracks as a remote process (e.g. a cron job). When I run it from the command line using:

ruby script/server -e production -d

it works fine. However, running this remotely results in a “could not open database” error. I have even tried creating a script to run:

#!/bin/sh
cd /users/home/<mydomain>/tracks-1.043
ruby script/server -e production -d

But I get the same result. It seems like this should work, since it is exactly what I am doing from the command line, but it does not. Any idea what needs to be done?

Profile
 
hardcoreUFO
Posted: 28 March 2007 04:08 PM   [ Ignore ]   [ # 1 ]  
Newbie
Rank
Total Posts:  6
Joined  2007-03-28

Never mind—figured it out. I had to spell out the path to the database file (the system did not like ~).

Profile
 
   
 
 
‹‹ Problem installing Tracks on Textdrive      CGI AMIN problem ››

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

ExpressionEngine Discussion Forum - Version 2.1.1 (20081028)
Script Executed in 0.0980 seconds

Atom Feed
RSS 2.0