logo       

Re: 2.00 => 2.1.0 introduces error on deploy:update_code: msg#00141

lang.ruby.capistrano.general

Subject: Re: 2.00 => 2.1.0 introduces error on deploy:update_code


FYI same behavior from OS X tiger to rhel 3
2.10 reported permission problems on svn+ssh export until i added
default_run_options[:pty] = true

On Oct 16, 5:14 pm, Jamis Buck <ja...-uHoyYlH2B+GakBO8gow8eQ@xxxxxxxxxxxxxxxx>
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,
> scott.a.pat...-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx 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
> > <ja...-uHoyYlH2B+GakBO8gow8eQ@xxxxxxxxxxxxxxxx> 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,
> >> scott.a.pat...-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx 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://
> >>> usern...-9Qnik2YlCYrX2evXmvM/hg@xxxxxxxxxxxxxxxx/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://usern...-9Qnik2YlCYrX2evXmvM/hg@xxxxxxxxxxxxxxxx/
> >>> 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://
> >>> usern...-9Qnik2YlCYrX2evXmvM/hg@xxxxxxxxxxxxxxxx/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] usern...-9Qnik2YlCYrX2evXmvM/hg@xxxxxxxxxxxxxxxx's password:
> >>> Password:
> >>> ** [out]
> >>> ** [out] usern...-9Qnik2YlCYrX2evXmvM/hg@xxxxxxxxxxxxxxxx'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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise