SVN+TRAC的Cap问题

发布于 2022-07-26 15:09:38 字数 4393 浏览 13 评论 1

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

被翻牌 2022-08-01 04:49:12

方便搜索到类似问题
在 deploy.rb手动指定web和app启动的方式便可~

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文