Hi guys..
Still having problem with this...
I´m getting this error know:
 cap deploy:cold
  * executing `deploy:cold'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
  * executing "git clone [EMAIL PROTECTED]:~/gitresp/butiken/butiken ~/
railsapps/fargdesign/releases/20080516131506 && cd ~/railsapps/
fargdesign/releases/20080516131506 && git checkout -b deploy
10806bc3779b5d379aaca01483d51e14cadae9ab && (echo
10806bc3779b5d379aaca01483d51e14cadae9ab > ~/railsapps/fargdesign/
releases/20080516131506/REVISION)"
    servers: ["xxx.com"]
    [EMAIL PROTECTED] executing command
 ** [out] Initialized empty Git repository in /home/xxx/railsapps/
fargdesign/releases/20080516131506/.git/
 ** [err] Permission denied, please try again.
 ** [err] Permission denied, please try again.
 ** [err] Permission denied (publickey,password).
 ** [err] fatal: The remote end hung up unexpectedly
 ** [err] fetch-pack from '[EMAIL PROTECTED]:~/gitresp/butiken/butiken'
failed.
    command finished
*** [deploy:update_code] rolling back
  * executing "rm -rf ~/railsapps/fargdesign/releases/20080516131506;
true"
    servers: ["xxx.com"]
    [EMAIL PROTECTED] executing command
    command finished
command "git clone [EMAIL PROTECTED]:~/gitresp/butiken/butiken ~/railsapps/
fargdesign/releases/20080516131506 && cd ~/railsapps/fargdesign/
releases/20080516131506 && git checkout -b deploy
10806bc3779b5d379aaca01483d51e14cadae9ab && (echo
10806bc3779b5d379aaca01483d51e14cadae9ab > ~/railsapps/fargdesign/
releases/20080516131506/REVISION)" failed on [EMAIL PROTECTED]

And this is my deploy.rb
set :application, "fargdesign"
set :repository,  "[EMAIL PROTECTED]:~/gitresp/butiken/butiken"
set :domain, "[EMAIL PROTECTED]"
set :password, "xxx"

set :mongrel_conf, "{current_path}/config/mongrel_cluster.yml"

set :scm, :git
set :scm_passphrase, "xxx"
set :local_scm_command, :default
set :branch, "master"

set :deploy_to, "~/railsapps/#{application}"

ssh_options[:paranoid] = false
set :use_sudo, false

role :app, domain
role :web, domain
role :db,  domain, :primary => true

# moves over server_config files after deploying the code
task :update_config, :roles => [:app] do
  run "cp -Rf #{shared_path}/config* #{release_path}/config/"
end
after 'deploy:update_code', :update_config


thanks for any help...
//Martin

On May 15, 11:19 am, macace <[EMAIL PROTECTED]> wrote:
> Hi Scott..
> Tryed to contact you on irc..
> git server and webserver is the same så I guess no I cant ssh the git
> from the webserver...
> or am I thinking wrong here?
> My setup is like this..
> local/development machine : Powerbook g4
> Git respetory/webserver: Bluehost
>
> On May 14, 10:23 pm, "Scott Chacon" <[EMAIL PROTECTED]> wrote:
>
> > can you send the output of your 'git clone' command?  it seems that
> > this is still the issue.  can you ssh into the git server from the
> > server you are trying to clone from?  you can also pm me on
> > irc.freenode.net if you want to chat about it (schacon), or find me in
> > the #git channel.
>
> > scott
>
> > On Wed, May 14, 2008 at 1:10 PM, macace <[EMAIL PROTECTED]> wrote:
>
> > >  well i was little unclear...
> > >  I get the same error messege but it does not prompted for password
> > >  anymore..
> > >  my git resp and my webserver is the same...
> > >  I´ve set it up as Scotts screencast (http://jointheconversation.org/
> > >  railsgit)
> > >  so I got local and remote host (here is my git resp and here is where I
> > >  ´m want to deploy to)
> > >  but maybe I´m done something wrong.. donno.. trying to learn...
>
> > >  On May 14, 9:30 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> > >  > So...if you log into your remote host, and from there ssh to the host
> > >  > that has your git repository, you don't get prompted for a password?
> > >  > What about if you log into your remote host and then try to do a git
> > >  > clone, as capistrano is trying to do? Do you get the same error?
>
> > >  > - Jamis
>
> > >  > On May 14, 2008, at 1:17 PM, macace wrote:
>
> > >  > > Well here I stand again....
> > >  > > now I have fixed publickey-thingy...
> > >  > > guess what.. no change in the error message...
> > >  > > Anyone got some idea?
>
> > >  > > On May 11, 11:55 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> > >  > >> This is a pretty good site for explaining how to configure that:
>
> > >  > >>    http://sial.org/howto/openssh/publickey-auth/
>
> > >  > >> Hope that helps,
>
> > >  > >> Jamis
>
> > >  > >> On May 11, 2008, at 2:52 PM, macace wrote:
>
> > >  > >>> Hmm... I kind of expected that.. to be real.. I dont know how to do
> > >  > >>> that...
> > >  > >>> I´ve got both privet and public keys...
> > >  > >>> When I google it I dont get how they are doin that anny way..
> > >  > >>> as I said: big noobie at this..
>
> > >  > >>> Thank you for your repliy..
>
> > >  > >>> On May 10, 11:21 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> > >  > >>>> I suspect you've not configured your remote hosts for passwordless
> > >  > >>>> SSH
> > >  > >>>> access to your git repository. Make sure you've got the public 
> > > keys
> > >  > >>>> set up on your remote host so you can do a "git clone" without a
> > >  > >>>> password prompt there.
>
> > >  > >>>> - Jamis
>
> > >  > >>>> On May 10, 2008, at 5:10 AM, macace wrote:
>
> > >  > >>>>> Hi guys.
> > >  > >>>>> I´m a noobie at all this so bare with me..
> > >  > >>>>> I´m trying to make a cold deploy, but I get this messege.
>
> > >  > >>>>> cap deploy:cold
> > >  > >>>>>  * executing `deploy:cold'
> > >  > >>>>>  * executing `deploy:update'
> > >  > >>>>> ** transaction: start
> > >  > >>>>>  * executing `deploy:update_code'
> > >  > >>>>> [EMAIL PROTECTED]'s password:
> > >  > >>>>>  * executing "git clone [EMAIL 
> > > PROTECTED]:~/gitresp/butiken/butiken
> > >  > >>>>> railsapps/fargdesign/releases/20080510110140 && cd railsapps/
> > >  > >>>>> fargdesign/releases/20080510110140 && git checkout -b deploy
> > >  > >>>>> 10806bc3779b5d379aaca01483d51e14cadae9ab && (echo
> > >  > >>>>> 10806bc3779b5d379aaca01483d51e14cadae9ab > railsapps/fargdesign/
> > >  > >>>>> releases/20080510110140/REVISION)"
> > >  > >>>>>    servers: ["bar.com"]
> > >  > >>>>>   [EMAIL PROTECTED] executing command
> > >  > >>>>> ** [out] Initialized empty Git repository in /home/bar/railsapps/
> > >  > >>>>> fargdesign/releases/20080510110140/.git/
> > >  > >>>>> ** [err] Permission denied, please try again.
> > >  > >>>>> ** [err] Permission denied, please try again.
> > >  > >>>>> ** [err] Permission denied (publickey,password).
> > >  > >>>>> ** [err] fatal: The remote end hung up unexpectedly
> > >  > >>>>> ** [err] fetch-pack from '[EMAIL 
> > > PROTECTED]:~/gitresp/butiken/butiken'
> > >  > >>>>> failed.
> > >  > >>>>>    command finished
> > >  > >>>>> *** [deploy:update_code] rolling back
> > >  > >>>>>  * executing "rm -rf 
> > > railsapps/fargdesign/releases/20080510110140;
> > >  > >>>>> true"
> > >  > >>>>>    servers: ["bar.com"]
> > >  > >>>>>   [EMAIL PROTECTED] executing command
> > >  > >>>>>    command finished
> > >  > >>>>> command "git clone [EMAIL PROTECTED]:~/gitresp/butiken/butiken
> > >  > >>>>> railsapps/
> > >  > >>>>> fargdesign/releases/20080510110140 && cd railsapps/fargdesign/
> > >  > >>>>> releases/
> > >  > >>>>> 20080510110140 && git checkout -b deploy
> > >  > >>>>> 10806bc3779b5d379aaca01483d51e14cadae9ab && (echo
> > >  > >>>>> 10806bc3779b5d379aaca01483d51e14cadae9ab > railsapps/fargdesign/
> > >  > >>>>> releases/20080510110140/REVISION)" failed on [EMAIL PROTECTED]
>
> > >  > >>>>> My setup:
> > >  > >>>>> Mac os x 10.4.x (tiger)
> > >  > >>>>> Ruby 1.8.6
> > >  > >>>>> Rails 2.0.2
> > >  > >>>>> Capistrano 2.3.0 (localy)
> > >  > >>>>> Git 1.5.5.1 (localy & remote)
> > >  > >>>>> Webhotel: Bluehost
>
> > >  > >>>>> If someone has a fix or a howto, I´ll be thrilled!
>
> > >  >  smime.p7s
> > >  > 3KDownload
--~--~---------~--~----~------------~-------~--~----~
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