[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

CAP DEPLOY problem

Palani Kumar

8/19/2008 7:05:00 AM

Any one please help me to solve the problem.when i try to the cap
deploy it doesn't work. It ask the password 3 times. even i gave the
correct password it throws the error. Here is the output i faced when i
try to deploy.


[guest@localhost stage]$ RAILS_ENV=stage cap deploy
* executing task deploy
* executing task update
** transaction: start
* executing task update_code
* querying latest revision...
* executing "if [[ ! -d
/home/publish/myproject/releases/20080819063844 ]]; then\n
svn co --no-auth-cache --username publish --password pu5h-1t-up -q
-r6406 svn://dev.myproject.com/branches/stage
/home/publish/myproject/releases/20080819063844 &&\n (test
-e /home/publish/myproject/revisions.log || (touch
/home/publish/staging/revisions.log && chmod 666
/home/publish/staging/revisions.log)) && echo `date +\"%Y-%m-%d
%H:%M:%S\"` $USER 6406 20080819063844 >>
/home/publish/myproject/revisions.log;\n fi"
servers: ["sdev.myproject.com"]
Password:
Password:
Password:
*** [update_code] transaction: rollback
* [update_code] rolling back
* executing "rm -rf /home/publish/myproject/releases/20080819063844"
servers: ["sdev.myproject.com"]
Password:
Password:
** [update_code] exception while rolling back:
Net::SSH::AuthenticationFailed,
port22auth_methodspasswordkeyboard-interactivekeys/home/guest/.ssh/stageusernamepublishpassword
authentication failed for
`port22auth_methodspasswordkeyboard-interactivekeys/home/guest/.ssh/stageusernamepublishpassword'
--
Posted via http://www.ruby-....

1 Answer

David Masover

8/20/2008 5:23:00 AM

0

On Tuesday 19 August 2008 02:05:04 Palani Kumar wrote:
> Any one please help me to solve the problem.when i try to the cap
> deploy it doesn't work.

This is probably better asked on the Capistrano Google Group.