capistrano  

[capistrano] Re: Not deploy to 2 roles

kakikubo
Sat, 11 Jul 2009 10:03:23 -0700

I encounter quite the same problem with Shumkov, too.
ruby 1.8.7 p174(./configure --enable-shared)
CentOS 5.3 x86-64

I did as follows and had evaded the problem.
Though it doesn't essentially solve
 ..
 task :update, :max_hosts => 1 do
    transaction do
      update_code
      symlink
    end
 end

To omit the description like the above-mentioned, it made it to the
use of p72.
(works fine on ruby 1.8.7 p74)


On 7月8日, 午後9:51, Lee Hambley <lee.hamb...@gmail.com> wrote:
> Rafael,
> Thanks for handling that query, we need to resolve this as more and more
> people are tripping over it lately.
>
> - Lee
>
> 2009/7/8 Shumkov <ivanshum...@gmail.com>
>
>
>
> > Thanx, work fine on ruby version:
>
> > macbook-ivan-shumkov:geometria ivanshumkov$ ruby -v
> > ruby 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9]
>
> > On 8 июл, 03:27, "Rafael G." <r...@aspgems.com> wrote:
> > > Can you try the same with other ruby version?[1]
>
> > > [1]
> >https://capistrano.lighthouseapp.com/projects/8716/tickets/79-capistr...
>
> > > Shumkov wrote:
> > > > I think problem in deploing on two servers:
>
> > > > role :app, '195.182....', '195.182....'
>
> > > > macbook-ivan-shumkov:geometria ivanshumkov$ cap deploy
> > > >   * executing `deploy'
> > > >   * executing `deploy:update'
> > > >  ** transaction: start
> > > >   * executing `deploy:update_code'
> > > >     executing locally: "svn infohttps://
> > svn.geometria-lab.ru/geometria_old/trunk/geometria
> > > > --username deploy --password ...... --no-auth-cache  -rHEAD"
> > > >   * executing "svn export -q --username deploy --password ..... --no-
> > > > auth-cache  -r1611
> >https://svn.geometria-lab.ru/geometria_old/trunk/geometria
> > > > /usr/local/www/geometria/releases/20090707223233 && (echo 1611 > /usr/
> > > > local/www/geometria/releases/20090707223233/REVISION)"
> > > >     servers: ["195.182....", "195.182...."]
>
> > > > I'm wait 5 minutes but picture not changed.
>
> > > > On Jul 7, 6:17 pm, Lee Hambley <lee.hamb...@gmail.com> wrote:
>
> > > >> Byron...That may well be the case, whatever the case, I do need to
> > clarify
> > > >> this a bit and document it. - Lee
> > > >> 2009/7/7 Byron Saltysiak <byronsa...@gmail.com>
>
> > > >>> How would capistrano know which role to deploy to if you don't
> > specify
> > > >>> it? I believe if you don't specify it will run on all roles it finds.
>
> > > >>> On 7/6/09, Shumkov <ivanshum...@gmail.com> wrote:
>
> > > >>>> Hi gus, i have 2 roles in deploy.rb:
>
> > > >>>> role :gamma, '195.182...'
> > > >>>> role :tetta, '195.182...'
>
> > > >>>> When i'm user "cap deploy" i see:
>
> > > >>>> macbook-ivan-shumkov:geometria ivanshumkov$ cap deploy
> > > >>>>   * executing `deploy'
> > > >>>>   * executing `deploy:update'
> > > >>>>  ** transaction: start
> > > >>>>   * executing `deploy:update_code'
> > > >>>>     executing locally: "svn info
> > > >>>>https://svn.geometria-lab.ru/geometria_old/trunk/geometria
> > > >>>> --username deploy --password ...... --no-auth-cache  -rHEAD"
> > > >>>>   * executing "svn export -q --username deploy --password ......
> > --no-
> > > >>>> auth-cache  -r1601
> > > >>>>https://svn.geometria-lab.ru/geometria_old/trunk/geometria
> > > >>>> /usr/local/www/geometria/releases/20090707003625 && (echo 1601 >
> > /usr/
> > > >>>> local/www/geometria/releases/20090707003625/REVISION)"
> > > >>>>     servers: ["195.182....", "195.182...."]
>
> > > >>>> And this picture not changed.
>
> > > >>>> When i'm delete one of the roles - deploy work prefect! No
> > difference
> > > >>>> wich role i'm delete.
>
> > > >>>> macbook-ivan-shumkov:geometria ivanshumkov$ ruby -v
> > > >>>> ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9]
>
> > > >>>> macbook-ivan-shumkov:geometria ivanshumkov$ cap --version
> > > >>>> Capistrano v2.5.7
>
> > > >>> --
> > > >>> Sent from my mobile device
>
> > > >>> Byron
>
> > > --
> > > Rafa

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to capistrano@googlegroups.com
To unsubscribe from this group, send email to 
capistrano+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---