A week ago I tried to deploy (using a deploy.rb script that's worked
since upgrading to Cap 2.0) and I'm getting the following error.
I've got my ssh keys all set up so that I'm able to ssh to the server
without a username and password prompt, and I'd been deploying fine
for a while using Cap 1.4 and even Cap 2.0 recently. Even though the
deploy.rb uses my "rails" user for the purpose of deployments, I can't
seem to authenticate to my svn server (svn+ssh on the same server as
the web and db) at all. When I ssh onto this server, I have no
problem issuing "svn co svn+ssh ..." and checking out code to a temp
directory. But my cap deploy command fails everytime, whether I
fiddle with the ssh_options, scm_username and scm_password or not.
I'm truly stuck and I'm wondering if there's something different under
Cap 2.1 that I'm not catching. Your help is greatly appreciated.
mike-oristians-computer:~/Documents/Development/tagweb mosofoco$ cap
deploy -S stage=production
[DEPRECATION] Capistrano.configuration is deprecated. Use
Capistrano::Configuration.instance instead
* executing "ls -x /home/rails/production/releases"
servers: ["telseygroup.com"]
Password:
[telseygroup.com] executing command
command finished
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
* executing "svn export -q -r1126 svn+ssh://telseygroup.com/home/
svn/repositories/dev.telseygroup.com/branches/tagweb /home/rails/
production/releases/20071210064122 && (echo 1126 > /home/rails/
production/releases/20071210064122/REVISION)"
servers: ["telseygroup.com"]
[telseygroup.com] executing command
** [err] Permission denied, please try again.
** [err] Permission denied, please try again.
** [err] Permission denied (publickey,password,keyboard-interactive).
** [err] svn: Connection closed unexpectedly
command finished
*** [deploy:update_code] rolling back
* executing "rm -rf /home/rails/production/releases/20071210064122;
true"
servers: ["telseygroup.com"]
[telseygroup.com] executing command
command finished
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---