Yeah: ** [server.com :: err] Permission denied, please try again. ** [server.com :: err] Permission denied, please try again. ** [server.com :: err] Permission denied (publickey,password). ** [server.com :: err] fatal: The remote end hung up unexpectedly
Looks like a problem with git being unable to connect to your repository from the remote server, to me. Make sure your keys are set up on the remote host such that you can connect to the repository host. - Jamis On 1/27/09 8:28 AM, [email protected] wrote: > Thanks for helping me so far Jamis > > * executing `deploy:cold' > * executing `deploy:update' > ** transaction: start > * executing `deploy:update_code' > executing locally: "git ls-remote [email protected]:/home/user/ > project/.git/myrepo.git master" > [email protected]'s password: > * executing "git clone --depth 1 [email protected]:/home/user/ > project/.git/myrepo.git /home/user/project/releases/20090127141338 && > cd /home/user/project/releases/20090127141338 && git checkout -b > deploy b9f6334df79afd89d3cff68c5ea50b15284311c9 && rm -Rf /home/user/ > project/releases/20090127141338/.git && (echo > b9f6334df79afd89d3cff68c5ea50b15284311c9 > /home/user/project/releases/ > 20090127141338/REVISION)" > servers: ["server.com"] > Password: > [server.com] executing command > ** [server.com :: err] Permission denied, please try again. > ** [server.com :: err] Permission denied, please try again. > ** [server.com :: err] Permission denied (publickey,password). > ** [server.com :: err] fatal: The remote end hung up unexpectedly > ** [server.com :: out] Initialized empty Git repository in /mnt/local/ > home/user/project/releases/20090127141338/.git/ > command finished > *** [deploy:update_code] rolling back > * executing "rm -rf /home/user/project/releases/20090127141338; > true" > servers: ["server.com"] > [server.com] executing command > command finished > failed: "sh -c \"git clone --depth 1 [email protected]:/home/user/ > project/.git/myrepo.git master /home/user/project/releases/ > 20090127141338 && cd /home/user/project/releases/20090127141338 && git > checkout -b deploy b9f6334df79afd89d3cff68c5ea50b15284311c9 && rm - > Rf /home/user/project/releases/20090127141338/.git && (echo > b9f6334df79afd89d3cff68c5ea50b15284311c9 > /home/user/project/releases/ > 20090127141338/REVISION)\"" on server.com > > just quickly looking at that I've got a feeling that you're going to > tell me its my ssh publickey ..... but I will wait for your opinion. > > thanks > > Lee > > On Jan 27, 2:58 pm, Jamis Buck <[email protected]> wrote: >> The actual error is occurring above that line, in the output somewhere. >> You'll need to look at the output from the server and see what's going >> on. Feel free to post more of the output if you'd like another eyeball >> or two to look with you. >> >> - Jamis >> >> On 1/27/09 7:19 AM, [email protected] wrote: >> >>> Hi there I'm just trying to get to grips with using git and capistrano >>> to deploy my rails apps, >>> I am using a dreamhost account to deploy the application on >>> here is the error/ failure message I keep getting: >>> failed: "sh -c \"git clone --depth 1 [email protected]:/home/user/ >>> project/.git/myrepo.git /home/user/project/releases/20090127141338 && >>> cd /home/user/project/releases/20090127141338 && git checkout -b >>> deploy b9f6334df79afd89d3cff68c5ea50b15284311c9 && rm -Rf /home/user/ >>> project/releases/20090127141338/.git && (echo >>> b9f6334df79afd89d3cff68c5ea50b15284311c9 > /home/user//releases/ >>> 20090127141338/REVISION)\"" on servername.com >>> for obvious reasons I've blanked out any sensitive info i.e usernames >>> etc. but could anyone tell me whats going wrong and if possible how to >>> remedy it? >>> many thanks >>> Lee > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
