Welcome Guest | Login

Problems with deploying a new Rails app

I have a couple of add-on domain apps working under my account already, and am trying to add in another one.  I got most things up and running, however I'm having a lot of trouble using Capistrano to deploy the latest app.

Whenever I try to deploy, I get the following error:  Rails Error: Unable to access log file.  Please ensure that /home/[username]/apps/[app_folder]/releases/20080218031723/config/../log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.

I cannot change/modify the log directory in question, so I was wondering if you could help me figure out what's going wrong.

Thanks.

2008-02-17 09:28 PM


I can see more than one app under your account. Could you post a ticket to the support team specifying the exact app you are having problem with?

2008-02-17 10:54 PM

I was able to figure out the problem, thanks though.

For others' information:

One problem I was having was that I had attempted to create a couple of log folders under some release directories and was then unable to delete them.  Doing a chmod 0777 on them, followed by an rm -rf was able to solve that problem.

I then removed all my linked directories, as well as the app directory, and merely did a cap deploy (note, NOT a cap deploy:cold) to get it up and running initially.

That got it going, and now I can change it by using capistrano.

2008-02-17 11:08 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.