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.de http://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 -~----------~----~----~----~------~----~------~--~---
