|
Re: deploy:update_code hangs... why?: msg#00178lang.ruby.capistrano.general
Figured it out- I needed to include my public ssh key for localhost in my authorized_hosts file... works now. jfrankov wrote: > I'm using webistrano 1.2 on Centos 5. This is a new server so I'm > setting things up like how they were on my old server. I installed my > subversion repo, & webistrano, and did a deploy:setup, which worked > great. The problem is when I do a real deploy:update into the > production environment, it hangs. > > The cap output shows this: > > ** loading stage recipe 'touch_log_files' > ** loading stage recipe 'diff_from_last_deploy' > ** loading stage recipe 'mongrel_cluster_overrides' > ** loading stage recipe 'restart_observer' > * executing `deploy' > * executing `deploy:update' > ** transaction: start > * executing `deploy:update_code' > > ...and it stops. When I look at the process table on the server, I see > these 3 proceses: > > jason 4307 0.0 0.0 4452 988 pts/7 S+ 01:24 0:00 sh -c > cd /home/jason/svn/working/webistrano-1.2 && ruby script/runner -e > production ' deployment = Deployment.find(6); deployment.prompt_config > = {} ; Webistrano::Deployer.new(deployment).invoke_task! ' >> /home/ > jason/svn/working/webistrano-1.2/log/production.log 2>&1 > > jason 4308 5.6 0.8 34892 29912 pts/7 S+ 01:24 0:02 ruby > script/runner -e production deployment = Deployment.find(6); > deployment.prompt_config = {} ; > Webistrano::Deployer.new(deployment).invoke_task! > > jason 4374 0.0 0.0 9080 2428 pts/7 S+ 01:25 0:00 svn > info svn+ssh://xx.xx.xx.xx/svn/foo/code/ror/trunk --username deploy -- > password ***** --no-auth-cache -rHEAD > > > > Why does it hang at this point? When I run the svn info command > manually, it returns immediately/works fine, so why is it going to > sleep when webistrano runs it? > > All advice would be appreciated- thanks in advance! > -Jason |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | deploy:update_code hangs... why?: 00178, jfrankov |
|---|---|
| Next by Date: | Host Verification failure.: 00178, Coder2000 |
| Previous by Thread: | deploy:update_code hangs... why?i: 00178, jfrankov |
| Next by Thread: | Host Verification failure.: 00178, Coder2000 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |