Webistrano 1.2: deploy hangs during initial checkout

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!

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!