deployment hangs
Posted: 08 March 2010 03:04 PM   [ Ignore ]
Sr. Member
RankRankRankRank
Total Posts:  132
Joined  2009-10-02

I’ve been using capistrano successfully for quite some time but today I haven’t had a single deployment finish. They hang at this line indefinitely

executing "cd /opt/ublip/rails/current && rake ublip:deploy_db_procs RAILS_ENV=staging"
    
servers["assetmotion.numerexfast.com"]
    [assetmotion
.numerexfast.com] executing command 

I had to delete a few releases and set the symlink to the last one I had left from friday.

Profile
 
 
Posted: 17 March 2010 08:36 AM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  14
Joined  2009-12-20

This happened to me once.  Make sure you have the latest version of capistrano.

Profile
 
 
Posted: 17 March 2010 01:30 PM   [ Ignore ]   [ # 2 ]
Administrator
RankRankRankRank
Total Posts:  249
Joined  2008-12-18

If upgrading capistrano doesn’t work can you try running the rake task independently that appears to be hanging? I believe it’s this one:

rake ublip:deploy_db_procs RAILS_ENV=staging 

At least from what I can see it looks like this task is hanging.

Profile
 
 
Posted: 17 March 2010 01:54 PM   [ Ignore ]   [ # 3 ]
Sr. Member
RankRankRankRank
Total Posts:  132
Joined  2009-10-02

So basically it just takes a long time because my db has 103 tables.

Profile