You need set scm_username and scm_password in your deploy.rb
set :scm_username, "foo"
set :scm_password, "foopassword"
or if you want a prompt:
set(:scm_username) { Capistrano::CLI.ui.ask("Type is your svn username: ") }
set(:scm_password) { Capistrano::CLI.password_prompt("Type your svn
password for user #{scm_username}: ") }
Adrian wrote:
> Hi,
>
> when I run cap deploy:cold capify hangs after some time. Unfortunately
> there is no error message.
>
> cap deploy:cold
> * executing `deploy:cold'
> * executing `deploy:update'
> ** transaction: start
> * executing `deploy:update_code'
> executing locally: "svn info svn://xx.de -rHEAD"
> * executing "svn checkout -q -r2 svn://x /u/apps/xx/releases/
> 20090117161523 && (echo 2 > /u/apps/xx/releases/20090117161523/
> REVISION)"
> servers: ["xx.de"]
> Password:
> [xx.de] executing command
> ** [xx.de :: err] Authentication realm: <svn://xx.de:3690> xx repo
> ** [xx.de :: err] Password for 'root':
> ** [xx.de :: err] Authentication realm: <svn://xx.de:3690> xx repo
> ** Username:
>
> I can't type a username there, I just have to wait and wait... note I
> use root as deploy user for convenience
>
> Here is my deploy.rb
>
> set :application, "xx"
> set :repository, "svn://xx.de"
>
>
>
> role :app, "xx.de"
> role :web, "xx.de"
> role :db, "xx.de", :primary => true
>
> set :user, "root"
> set :deploy_via, :checkout
>
>
> namespace :passenger do
> task :restart do
> run "touch #{current_path}/tmp/restart.txt"
> end
> end
>
> after :deploy, "passenger:restart"
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---
begin:vcard
fn;quoted-printable:Rafael Garc=C3=ADa Ortega
n;quoted-printable:Garc=C3=ADa Ortega;Rafael
org:ASPgems S.L.
email;internet:[email protected]
tel;work:692686533
x-mozilla-html:FALSE
url:http://www.aspgems.com
version:2.1
end:vcard