Capistrano正在部署cold,部署更新并上传symlink。但是,它不会重新启动。
我注意到/script/process/reaper文件上的权限被拒绝。我发现a suggestion暗示文件需要更新权限。有没有人有这方面的经验?
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$ 发布于 2014-01-15 05:19:36
作为更新的答案,对于在Passenger上运行的Capistrano 3,我目前正在做的是:
task :restart do
on roles(:app), in: :sequence, wait: 5 do
# If your tmp folder does not exist yet, uncomment the
# line below to create it.
# execute :mkdir, "#{File.join(current_path,'tmp')}"
execute :touch, "#{File.join(current_path,'tmp','restart.txt')}"
end
end发布于 2009-11-30 17:41:38
他们有自己的支持论坛,也许你应该去那里试试。http://groups.google.co.uk/group/capistrano/
发布于 2009-12-01 03:41:45
Rails 2.3不再与旧的reaper脚本一起发布。http://www.capify.org/index.php/How_to_use_Capistrano_with_Rails_2.3
https://stackoverflow.com/questions/1816978
复制相似问题