- 论坛徽章:
- 0
|
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]
请教~~ |
|