# Webistrano 1.2: deploy hangs during initial checkout

**URL:** <https://www.ruby-forum.com/t/webistrano-1-2-deploy-hangs-during-initial-checkout/135446>\
**Category:** Deployment\
**Created:** [April 22, 2008, 9:29am UTC](https://www.ruby-forum.com/t/webistrano-1-2-deploy-hangs-during-initial-checkout/135446 "2008-04-22T09:29:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfoxny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a6a055/32.png) [@jfoxny](https://www.ruby-forum.com/u/jfoxny)\
**Post date:** [April 22, 2008, 9:29am UTC](https://www.ruby-forum.com/t/webistrano-1-2-deploy-hangs-during-initial-checkout/135446/1 "2008-04-22T09:29:42Z")

</div>

I’m doing a deploy+migrate on my server using Webistrano 1.2, and the  
checkout is hanging. Output looks like this:

\*\* loading stage recipe ‘copy\_foo\_database\_yml’

- executing `deploy:migrations’
- executing `deploy:update\_code’
- executing “svn checkout --username deploy --password XXXXXXXX  
–no-auth-cache -r1933 svn+ssh://x.x.x.x/svn/s/code/ror/tags/foo/2  
/srv/www/foo\_test/releases/20080422064500 && (echo 1933 \>  
/srv/www/foo\_test/releases/20080422064500/REVISION)”  
servers: [“x.x.x.x”]  
[x.x.x.x] executing command  
\*\* [out] A /srv/www/foo\_test/releases/20080422064500/test  
\*\* [out] A /srv/www/foo\_test/releases/20080422064500/test/unit  
…(lots more output skipped… then it just ends…)  
\*\* [out] A  
/srv/www/foo\_test/releases/20080422064500/vendor/plugins/selenium-on-rails/doc/classes/SeleniumOnRails/FixtureLoader.html  
\*\* [out] A /srv/www/foo\_test/releases/20080422064500/vendor/

…and now it’s hung. The spinning wheel at the top of the deploy page  
is still going, but no new ssh output gets displayed in the console  
area. The process table on the server shows these:

jon 13432 1 0 02:44 pts/7 00:00:00 sh -c cd  
/home/jon/svn/working/webistrano-1.2 && ruby script/runner -e production  
’ deployment = Deployment.find(60); deployment.prompt\_config =  
{“repository”=\>“svn+ssh://x.x.x.x/svn/s/code/ror/tags/foo/2”} ;  
Webistrano::Deployer.new(deployment).invoke\_task! ’ \>\>  
/home/jon/svn/working/webistrano-1.2/log/production.log 2\>&1  
jon 13433 13432 5 02:44 pts/7 00:01:28 ruby script/runner -e  
production deployment = Deployment.find(60); deployment.prompt\_config =  
{“repository”=\>“svn+ssh://x.x.x.x/svn/s/code/ror/tags/foo/2”} ;  
Webistrano::Deployer.new(deployment).invoke\_task!

Both of these processes are “S+” and “Sl+” which means they’re  
sleeping/waiting for something to complete. Anyone know what they’re  
waiting for exactly?

Thanks!

---

<div class="post-metadata">

**Author:** ![jfoxny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a6a055/32.png) [@jfoxny](https://www.ruby-forum.com/u/jfoxny)\
**Post date:** [April 22, 2008, 10:04am UTC](https://www.ruby-forum.com/t/webistrano-1-2-deploy-hangs-during-initial-checkout/135446/2 "2008-04-22T10:04:23Z")

</div>

When the system emailed me the deploy transcript, I found out what was  
wrong:

\*\*\* command “sudo -p 'sudo password: ’ mongrel\_rails cluster::restart -C  
/srv/www/foo/current/config/mongrel.yml --clean” failed on x.x.x.x

Jason Fr wrote:

> I’m doing a deploy+migrate on my server using Webistrano 1.2, and the  
> checkout is hanging. Output looks like this:
> 
> [snip]
> 
> Both of these processes are “S+” and “Sl+” which means they’re  
> sleeping/waiting for something to complete. Anyone know what they’re  
> waiting for exactly?
> 
> Thanks!
