I forgot to precise that the repos is owned by dedicated created user : svn, nevertheless both admin user and gilles user can access it, i have working copy on both the Deploy and the Dev.
On 20 juin, 09:41, Gilles <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I am developing on a LAN composed of two comp running on OS X tiger > 10.4.9 Server for the deploy machine and OS X tiger client for the dev > one. I am using Rails 1.2.2, Capistrano 1.4.1 with net-ssh 1.1.2. > My repository is stored on my Deploy comp. so i work with a working- > copy on the Dev comp. > I have a two different users one on each machine : Admin for the > deploy and Gilles for the dev. > > I used to deploy using the svn:// protocol to the deploy machine, > after applyed the cap -A and cap setup procedure and everything were > going well when doing a "cap deploy or cold_deploy" except for the > launch of the mongrel_cluster. > This last command systematically failed, whereas apply directly on the > deploy machine, it works perfectly. That is my first issue . > > Secondly i decided to try using the svn+ssh:// protocol to be more > accustomized to real-life deployment. So i create the Gilles user > private/public key using ssh-keygen on the dev machine and i make a > copy of the public key in the authorized_files of /.ssh of the Admin > user on the Deploy, i copy it too in the known_hosts file. > > First issue : i can access by ssh the Deploy without entering password > but CAN'T do any svn command. The error svnserve command not found is > returned. My workaround was to add "command="/usr/local/bin/svnserve - > t" at the beginning of the ssh-rsa public key in authorized_keys file. > With that i can make svn procedure through ssh like svn co, etc ... > > So i made another working copy of my app on Dev using svn co svn+ssh:// > [EMAIL PROTECTED]/path/to/my/repos/project folder. I reconfigured the > deploy.rb file. > But, and it's my second issue : the "cap deploy" procedure doesn't > work at all, it hangs with displaying an ( success ( 1 2 ( ANONYMOUS > EXTERNAL ) ( edit-pipeline ) ) ) message. > idem for cap setup or any cap tasks ... > > I know this type of problem have been discussed before, an i have done > some googling, but none of the infos, tips and trick i received helped > me, even ssh_options[:paranoid] = false which is simply not recognized > by net-ssh ... > > Any clue to make this work properly ? > > Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
