I'm deploying to Ubuntu 7.0.4 (Feisty) running on an EC2 instance. I don't know if it matters, but: I'm deploying from Mac OS X 10.4 The svn server is Fedora Core release 5 (Bordeaux)
I just did some more poking around, and found the following: I ran in to the same problem deploying to a box running the same Fedora release as my svn server (this one isn't on EC2). Adding "default_run_options[:pty] = true" fixed it. If I ssh in to my ec2 instance, I can run a svn checkout no problem: EC2 prompt> svn checkout svn+ssh://[EMAIL PROTECTED]/path/to/right/ place/in/svn/repository /place/to/checkout/to <==== this works but if I try to run the command directly from a ssh command like this: Mac Prompt> ssh [EMAIL PROTECTED] svn checkout svn+ssh:// [EMAIL PROTECTED]/path/to/right/place/in/svn/repository /place/to/ checkout/to then it fails with the same error message: Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,gssapi-with-mic,password). svn: Connection closed unexpectedly Let me know if I can do anything else to help. Scott On Oct 16, 3:14 pm, Jamis Buck <[EMAIL PROTECTED]> wrote: > Scott, out of curiosity, what operating system are you deploying to? > Some people have reported that when subversion is run without a pty, > it won't prompt, but I've not been able to duplicate that. I'd like > to have some idea of what to recommend when people report this issue. > > Thanks, > > Jamis > > On Oct 16, 2007, at 3:45 PM, [EMAIL PROTECTED] wrote: > > > > > Oops, I don't think the previous thread was posted when I started > > writing this one. That does the trick! > > > Thanks so much, Jamis. > > > Scott Patten > > > On Oct 16, 2:43 pm, Jamis Buck <[EMAIL PROTECTED]> wrote: > >> Please try adding the following: > > >> default_run_options[:pty] = true > > >> And see if that makes any difference. > > >> - Jamis > > >> On Oct 16, 2007, at 3:39 PM, [EMAIL PROTECTED] wrote: > > >>> Hi everyone, > > >>> I just upgraded from 2.0.0 to 2.1.0, and I'm getting this error. I > >>> spent some time sifting through the code and trying to figure out > >>> what > >>> had changed, with no luck, so I thought I'd ask the experts. Here's > >>> what I see > > >>> With Capistrano 2.1.0: > > >>> ~/rails/grapher/trunk $>cap deploy:update_code > >>> * executing `deploy:update_code' > >>> * executing "svn checkout -q -r907 svn+ssh:// > >>> [EMAIL PROTECTED]/path/to/right/place/in/repository /mnt/ > >>> app/ > >>> grapher/releases/20071016211140 && (echo 907 > /mnt/app/grapher/ > >>> releases/20071016211140/REVISION)" > >>> servers: ["somehost.com"] > >>> [somehost.com] executing command > >>> ** [err] Permission denied, please try again. > >>> ** [err] Permission denied, please try again. > >>> ** [err] Permission denied (publickey,gssapi-with-mic,password). > >>> ** [err] svn: Connection closed unexpectedly > >>> command finished > >>> command "svn checkout -q -r907 svn+ssh://[EMAIL PROTECTED]/ > >>> path/to/right/place/in/repository /mnt/app/grapher/releases/ > >>> 20071016211140 && (echo 907 > /mnt/app/grapher/releases/ > >>> 20071016211140/ > >>> REVISION)" failed on plotomatic.com > > >>> with Capistrano 2.0.0: > > >>> ~/rails/grapher/trunk $>cap _2.0.0_ deploy:update_code > >>> * executing `deploy:update_code' > >>> * executing "svn checkout -q -r908 svn+ssh:// > >>> [EMAIL PROTECTED]/path/to/right/place/in/repository /mnt/ > >>> app/ > >>> grapher/releases/20071016211231 && (echo 908 > /mnt/app/grapher/ > >>> releases/20071016211231/REVISION)" > >>> servers: ["somehost.com"] > >>> [somehost.com] executing command > >>> ** [out] [EMAIL PROTECTED]'s password: > >>> Password: > >>> ** [out] > >>> ** [out] [EMAIL PROTECTED]'s password: > >>> ** [out] > > >>> As far as I can see, the difference is that it asks for my > >>> password in > >>> 2.0.0. I tried fooling around with setting :scm_username > >>> and :scm_password, and setting :scm_prefer_prompt to true, but that > >>> didn't help. > > >>> Hopefully that's enough information to make things clear, but let me > >>> know if anything else would help. > > >>> Thanks in advance, > > >>> Scott Patten > > >> smime.p7s > >> 3KDownload > > > > > > > smime.p7s > 3KDownload --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
