views:

60

answers:

3

Capistrano is deploying cold, deploying updates and uploading the symlink fine. It will not however restart.

I notice that permission is denied on the /script/process/reaper file. I have found a suggestion implying the file needs updated permissions. Does anyone have experience with this?

Macintosh-5:barcoden fogonthedowns$ cap deploy:restart
  * executing `deploy:restart'
  * executing "/home/fogonthedowns/owens.fogonthedowns.com/current/script/process/reaper"
    servers: ["owens.fogonthedowns.com"]
Password: 
    [owens.fogonthedowns.com] executing command
 ** [out :: owens.fogonthedowns.com] sh: /home/fogonthedowns/owens.fogonthedowns.com/current/script/process/reaper: Permission denied
    command finished
failed: "sh -c \"/home/fogonthedowns/owens.fogonthedowns.com/current/script/process/reaper\"" on owens.fogonthedowns.com
Macintosh-5:barcoden fogonthedowns$
A: 

They have their own support forums, maybe you should try there. http://groups.google.co.uk/group/capistrano/

Beaks
A: 

Rails 2.3 no longer ships with the old reaper scripts. http://www.capify.org/index.php/How_to_use_Capistrano_with_Rails_2.3

Jonathan Julian
A: 

What is your deployment environment? With Passenger (Apache) I have something like:


  task :restart, :roles => :app, :except => { :no_release => true } do
    run "touch #{current_path}/tmp/restart.txt"
  end

Andy Atkinson
Thanks! Its already saving me time.
JZ