Well, I feel like an idiot.  The deploy:setup fixed it.  I could have
sworn that I ran that command.  Oh well.

In just a standard setup (nginx,mongrel) what permissions should I be
setting on the /u directory?

Thanks for your help!

On Sep 17, 3:20 pm, Mathias Meyer <[EMAIL PROTECTED]> wrote:
> On 17.09.2008, at 20:01, croceldon wrote:
>
>
>
> > 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:
>
> > 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
>
> Did you make sure that the directory /u/apps/diary and all the  
> contents in it exists, e.g. by running cap deploy:setup?
>
> That error very likely results from some code within Capistrano that  
> causes an error on rollback since the required directories don't exist.
>
> Cheers, Mathias
> --http://paperplanes.dehttp://twitter.com/roidrage
--~--~---------~--~----~------------~-------~--~----~
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