I'm getting stuck at deploy cold.  I've done a local checkout via ssh,
capified, and committed changes.  I've also done a checkout on the
remote and edited permissions just in case, sudo from remote was the
issue.  It's rolling back around /app/releases/

Both machines on ubuntu.

Here's my deploy.rb:

require 'mongrel_cluster/recipes'

set :application, "x"
set :user, "y" # user belongs to group with rws permissions
set :domain, "ip"
set :repository,  "svn+ssh://svn1/home/svn/#{application}/trunk"
set :use_sudo, true

# If you aren't deploying to /u/apps/#{application} on the target
# servers (which is the default), you can specify the actual location
# via the :deploy_to variable:
set :deploy_to, "/home/apps/#{application}"
set :deploy_via, :export # tried checkout as well
set :runner, nil
set :mongrel_conf, "#{deploy_to}/current/config/mongrel_cluster.yml"
# set :chmod755, "app config db lib public vendor script script/*
public/disp*"

ssh_options[:keys] = %w(/absolute/path)            # If you are using
ssh_keys
# default_run_options[:pty] = true

# If you aren't using Subversion to manage your source code, specify
# your SCM below:
# set :scm, :subversion

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


Here's the log:

  * executing `deploy:cold'
  * executing `deploy:update'
 ** transaction: start
  * executing `deploy:update_code'
  * executing "svn export -q  -r3 svn+ssh://svn1/home/svn/x/trunk /
home/generic/apps/x/releases/20080201070337 && (echo 3 > /home/generic/
apps/x/releases/20080201070337/REVISION)"
    servers: ["ip"]
    [ip] executing command
 ** [err] svn: Error in child process: exec of '/etc/ssh' failed:
Permission denied
    command finished
*** [deploy:update_code] rolling back
  * executing "rm -rf /home/generic/apps/x/releases/20080201070337;
true"
    servers: ["ip"]
    [ip] executing command
    command finished
command "svn export -q  -r3 svn+ssh://svn1/home/svn/x/trunk /home/
generic/apps/x/releases/20080201070337 && (echo 3 > /home/generic/apps/
x/releases/20080201070337/REVISION)" failed on ip

Thanks for your help.

--~--~---------~--~----~------------~-------~--~----~
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