SVN+TRAC的Cap问题
flanker@weston:~/app$ cap deploy
[DEPRECATION] Capistrano.configuration is deprecated. Use Capistrano::Configuration.instance instead
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
* executing "svn checkout -q -r70 svn+ssh://deploy@source.xxx.com/repos/boba/branches/1 /var/www/boba/releases/20070806042605 && (echo 70 > /var/www/boba/releases/20070806042605/REVISION)"
servers: ["daniel.xxx.com"]
[deploy@daniel.xxx.com] executing command
command finished
* executing `deploy:finalize_update'
* executing "chmod -R g+w /var/www/boba/releases/20070806042605"
servers: ["daniel.xxx.com"]
[deploy@daniel.xxx.com] executing command
command finished
* executing "rm -rf /var/www/boba/releases/20070806042605/log /var/www/boba/releases/20070806042605/public/system /var/www/boba/releases/20070806042605/tmp/pids &&n mkdir -p /var/www/boba/releases/20070806042605/public &&n mkdir -p /var/www/boba/releases/20070806042605/tmp &&n ln -s /var/www/boba/shaxxx/log /var/www/boba/releases/20070806042605/log &&n ln -s /var/www/boba/shaxxx/system /var/www/boba/releases/20070806042605/public/system &&n ln -s /var/www/boba/shaxxx/pids /var/www/boba/releases/20070806042605/tmp/pids"
servers: ["daniel.xxx.com"]
[deploy@daniel.xxx.com] executing command
command finished
* executing "find /var/www/boba/releases/20070806042605/public/images /var/www/boba/releases/20070806042605/public/stylesheets /var/www/boba/releases/20070806042605/public/javascripts -exec touch -t 200708060426.09 {} ';'; true"
servers: ["daniel.xxx.com"]
[deploy@daniel.xxx.com] executing command
command finished
* executing `deploy:symlink'
* executing "rm -f /var/www/boba/current && ln -s /var/www/boba/releases/20070806042605 /var/www/boba/current"
servers: ["daniel.xxx.com"]
[deploy@daniel.xxx.com] executing command
command finished
** transaction: commit
* executing `deploy:restart'
* executing "sudo /var/www/boba/current/script/process/reaper"
servers: ["daniel.xxx.com"]
[deploy@daniel.xxx.com] executing command
** [out :: deploy@daniel.xxx.com] Couldn't find any pid file in '/var/www/boba/current/tmp/pids' matching 'dispatch.[0-9]*.pid'
** [out :: deploy@daniel.xxx.com]
** [out :: deploy@daniel.xxx.com] (also looked for processes matching "/var/www/boba/current/public/dispatch.fcgi")
** [out :: deploy@daniel.xxx.com]
command finished
source.xxx.com为SVN+TRAC,daniel.xxx.com为mongrel,nginx~
客户端执行cap deploy后就出错,问题就是在
** [out :: deploy@daniel.xxx.com] Couldn't find any pid file in '/var/www/boba/current/tmp/pids' matching 'dispatch.[0-9]*.pid'
** [out :: deploy@daniel.xxx.com]
** [out :: deploy@daniel.xxx.com] (also looked for processes matching "/var/www/boba/current/public/dispatch.fcgi")
** [out :: deploy@daniel.xxx.com]
请教~~
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
方便搜索到类似问题
在 deploy.rb手动指定web和app启动的方式便可~