Shameless self plug: I wrote a blog post explaining this further: http://eric.lubow.org/2010/mac/capistrano-hangs-on-mac-os-x-leopard/ since not everyone wants to go through a ticket.
I also ran into a similar problem after upgrading net-ssh. If the user doesn't have permission to export (ie clobber the existing file(s)), Capistrano would hang with no more output. I have my Capistrano deploy login as an unprivileged user. Someone modified the file as root, changed the ownership and permissions and the deploy hung. If upgrading net-ssh doesn't solve your issue like Lee suggested, check out the perms and ownership on the files just in case. -e On Sat, Apr 24, 2010 at 5:27 AM, Lee Hambley <[email protected]> wrote: > Upgrade your capistrano, looks like a thread joining bug that was fixed > around 20.014 of Net-SSH, also you could try getting off 1.8.7, that > patchlevel had bugs (threading wasn't the worst) > > At least, try upgrading your net-ssh gem past 2.0.14 (they're at 2.0.22 or > something now) > > - Lee > > On 24 April 2010 07:50, Aaron <[email protected]> wrote: > >> Hi, all. I have a new problem that I haven't been able to figure out. >> >> Using Capistrano on a Mac, deploying to four Ubuntu servers. >> Everything has been working perfectly for several months. Suddenly, >> with no changes in the deploy script or location or configuration of >> svn, when I try to deploy the process hangs on "svn export..." >> >> I've ssh'd in to each production server, and verified that I can >> execute the "svn export..." command by hand with no problem. >> >> Anyone have any idea what might be going on? Here's an excerpt from >> the deploy output: >> >> * executing `deploy:update_code' >> executing locally: "svn info svn://localhost/ -rHEAD" >> * executing "svn export -q -r1773 >> svn://nestor/branches/benefits/production >> /opt/apps/deploy/benefits/releases/20100424053414 && (echo 1773 > /opt/ >> apps/deploy/benefits/releases/20100424053414/REVISION)" >> servers: ["homer", "achilles", "agamemnon", "odysseus"] >> >> At this point, the process hangs. Hitting ^C gives the following stack >> trace: http://pastie.org/932681 >> >> $ ruby --version >> ruby 1.8.7 (2009-06-08 patchlevel 173) [universal-darwin10.0] >> $ cap --version >> Capistrano v2.5.2 >> >> -- >> * You received this message because you are subscribed to the Google >> Groups "Capistrano" group. >> * To post to this group, send email to [email protected] >> * To unsubscribe from this group, send email to >> [email protected]<capistrano%[email protected]>For >> more options, visit this group at >> http://groups.google.com/group/capistrano?hl=en > > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected]<capistrano%[email protected]>For > more options, visit this group at > http://groups.google.com/group/capistrano?hl=en > -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
