thanks Jacob, I keep your info beside as I am not yet over the all
process, just progressing...
I found the issue :   I needed to setup a  local SSH Client command-
line (as per an old post from jamis)
once done.. my first deploy went well !!!

reference SSH :   http://linuxgazette.net/issue67/nazario2.html

cheers

On 2 Dec, 03:57, Jacob Atzen <[EMAIL PROTECTED]> wrote:
> Though this is not a direct answer to your question it might help you
> anyways. Right now the server you deploy to tries to access your
> repository. And for some reason it fails. I have grown quite fond of
> another deployment strategy, "local checkout, remote cache". A plugin
> for cap 2.1 which does this can be found at:
>
> http://trac.extendviget.com/lab/wiki/CapistranoRsyncWithRemoteCache
>
> Then you won't have to worry about svn on the server you're deploying to
>   as your code will simply be rsync'ed from your local machine onto the
> server.
>
>
>
> Erwin wrote:
> > I am trying to perform my first deployment, following the
> > DeployingRailsApplications pdf, step by step,  I just bought...  I
> > have teh most simple rails test project (no db), it's in a svn
> > repository, the cap deploy:setup succeed
>
> >  yves$ cap deploy:setup
> >   * executing `deploy:setup'
> >   * executing "umask 02 && mkdir -p /var/rails/aelmat/projet_test /var/
> > rails/aelmat/projet_test/releases /var/rails/aelmat/projet_test/
> > shared /var/rails/aelmat/projet_test/shared/system /var/rails/aelmat/
> > projet_test/shared/log /var/rails/aelmat/projet_test/shared/pids"
> >     servers: ["www.aelmat.net"]
> > Password:
> >     [www.aelmat.net] executing command
> >     command finished
>
> > but not the cap deploy
>
> > yves$ cap deploy
> >   * executing `deploy'
> >   * executing `deploy:update'
> >  ** transaction: start
> >   * executing `deploy:update_code'
> > Password:
> > svn: PROPFIND request failed on '/svn/aelmat/projet_test/trunk'
> > svn: PROPFIND of '/svn/aelmat/projet_test/trunk': 405 Method Not
> > Allowed (http://www.aelmat.net)
> > *** [deploy:update_code] rolling back
> >   * executing "rm -rf /var/rails/aelmat/projet_test/releases/
> > 20071201133614; true"
> >     servers: ["www.aelmat.net"]
> > Password:
> >     [www.aelmat.net] executing command
> >     command finished
> > /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.1.0/lib/capistrano/
> > recipes/deploy/scm/subversion.rb:58:in `query_revision': tried to run
> > `svn infohttp://www.aelmat.net/svn/aelmat/projet_test/trunk--
> > username sybille --password xxxxxxxx  --no-auth-cache  -rHEAD' and got
> > unexpected result "" (RuntimeError)
>
> > my deploy.rb is very basic
>
> > set :application, "projet_test"
> > set :repository,  "http://www.aelmat.net/svn/aelmat/#{application}/
> > trunk"
> > set :scm_username, 'sybille'
> > set :scm_password, Proc.new
> > { Capistrano::CLI.password_prompt('Password: ') }
>
> > role :app, "www.aelmat.net"
> > role :web, "www.aelmat.net"
> > role :db,  "www.aelmat.net", :primary => true
>
> > set :user, 'sybille'
> > set :deploy_to, "/var/rails/aelmat/#{application}"
>
> > set :deploy_via, :export
>
> > and I added in my vhost.conf
>
> > ServerAdmin [EMAIL PROTECTED]
> >       ServerName test.aelmat.net:80
> >       DocumentRoot /current/public
> > <Directory /current/public>
> >     AllowOverride All
> > </Directory>
>
> > my svn structure seems ok  (/var/svn/aelmat/projet_test) I can access
> > it easily from my dev machine vias svn , and I already imported and
> > commited my project into trunk...
>
> > I have been googling all the day, but now I don't know where to search
> > for ...
> > why the checkout can be done ?  is there any other way to check if svn
> > is ok ?
>
> > thanks for your lights.... hope it will not my last try ..
>
> --
> Cheers,
> - Jacob Atzen
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to