Hi, this is my first capistrano experience, so here goes:

Windows XP, trying to deploy to Ubuntu Hardy.  Using deprec.

Here's my deploy.rb file:

----------------------------------------------------------
require 'deprec'

set :application, "diary"
set :domain, "192.168.2.10"
set :repository,  "https://192.168.2.50/svn/#{application}/";
# set :gems_for_project, %w(dr_nic_magic_models swiftiply) # list of
gems to be installed

# Update these if you're not running everything on one host.
role :app, domain
role :web, domain
role :db,  domain, :primary => true
role :scm, domain # used by deprec if you want to install subversion

# If you aren't deploying to /opt/apps/#{application} on the target
# servers (which is the deprec default), you can specify the actual
location
# via the :deploy_to variable:
 set :deploy_to, "/u/apps/#{application}"

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

set :user, "jfloyd"

namespace :deploy do
  task :restart, :roles => :app, :except => { :no_release => true } do
    top.deprec.mongrel.restart
  end
end
----------------------------------------------------------------

I've gotten as far as running cap deploy:update, but when I do, here's
the last few lines of output:

  * executing "sudo -p 'sudo password: ' chgrp -R app_diary /u/apps/
diary/current/tmp /u/apps/diary/shared"
    servers: ["192.168.2.10"]
    [192.168.2.10] executing command
*** [err :: 192.168.2.10] chgrp: cannot access `/u/apps/diary/shared':
No such file or directory
    command finished
*** [deploy:symlink] rolling back
  * executing "ls -xt /u/apps/diary/releases"
    servers: ["192.168.2.10"]
    [192.168.2.10] executing command
    command finished
 ** [deploy:symlink] exception while rolling back: TypeError, can't
convert nil into String
*** [deploy:update_code] rolling back
  * executing "rm -rf /u/apps/diary/releases/20080917175751; true"
    servers: ["192.168.2.10"]
    [192.168.2.10] executing command
    command finished
failed: "sh -c \"sudo -p 'sudo password: ' chgrp -R app_diary /u/apps/
diary/current/tmp /u/apps/diary/shared\"" on 192.168.2.10

I've worked through several snags already through research, but I
can't seem to find any info on how to resolve this.  Any help's
greatly appreciated.

Thanks!

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