hi, thank you, i've figured out my problem i've created the main folder using sudo so the owner was root and i was modifying it using regular user account...
thanks thanks... On Aug 31, 7:02 pm, Lee Hambley <[email protected]> wrote: > Can you sudo without using a password? > -- Lee Hambley > > Twitter: @leehambley > Blog:http://lee.hambley.name/ > Working with Rails:http://is.gd/1s5W1 > > 2009/8/31 mileesah <[email protected]> > > > > > > > thanks... i already figured it out.. > > > sorry for asking this basic questions.. forgive my ignorance.. i'm > > still learning the basics... :) > > > i've encountered another problem.. i have set use sudo to true... > > > * executing "rm -f /home/caseish/apps/depot/current && ln -s /home/ > > app > > s/depot/releases/20090831105046 /home/apps/depot/current" > > servers: ["wave.depot.com"] > > [wave. depot.com] executing command > > ** [out :: wave. depot.com] ln: creating symbolic link `/home/ap > > ps/depot/current': Permission denied > > command finished > > *** [deploy:symlink] rolling back > > * executing "ls -xt /home/apps/depot/releases" > > servers: ["wave.depot.com"] > > [wave.depot.com] executing command > > command finished > > *** no previous release to rollback to, rollback of symlink skipped > > *** [deploy:update_code] rolling back > > * executing "rm -rf /home/apps/depot/releases/20090831105046; true" > > servers: ["wave.depot.com"] > > [wave.depot.com] executing command > > command finished > > failed: "sh -c 'rm -f /home/apps/depot/current && ln -s /home/ap > > ps/depot/releases/20090831105046 /home/apps/depot/current'" on wave. > > depot.com > > > On Aug 31, 6:49 pm, Lee Hambley <[email protected]> wrote: > > > Can you show me the output (pastie please) from running the command (and > > the > > > exact command you are running) > > > Thanks, > > > -- Lee Hambley > > > > Twitter: @leehambley > > > Blog:http://lee.hambley.name/ > > > Working with Rails:http://is.gd/1s5W1 > > > > 2009/8/31 mileesah <[email protected]> > > > > > ohh sorry.. let me rephrase my last post, > > > > > the public/images etc exists on my svn repository but it seems that > > > > when i run delpoy:update, cap cant locate the folders specified... > > > > > On Aug 31, 6:02 pm, Lee Hambley <[email protected]> wrote: > > > > > Did you add them to svn and ensure they're not in any of your > > > > directorie's > > > > > SVN ignores? > > > > > -- Lee Hambley > > > > > > Twitter: @leehambley > > > > > Blog:http://lee.hambley.name/ > > > > > Working with Rails:http://is.gd/1s5W1 > > > > > > 2009/8/31 mileesah <[email protected]> > > > > > > > unfortunately, i have them in my public/ directory but somehow my > > svn > > > > > > cant get it.. > > > > > > > On Aug 29, 1:29 am, Rob Biedenharn <[email protected]> > > wrote: > > > > > > > So, do you have images, stylesheets, and javascripts as > > > > subdirectories > > > > > > > of public/ in your application? If not, either create them, > > ignore > > > > the > > > > > > > error, or change the capistrano task to stop doing that. > > > > > > > > (Chances are that you're going to want those three subdirectories > > > > > > > under public/ eventually if you have a Rails application, so just > > > > > > > create them [and add them to your repository].) > > > > > > > > -Rob > > > > > > > > On Aug 28, 2009, at 12:01 PM, mileesah wrote: > > > > > > > > > hi, > > > > > > > > > im currently learning capistrano 2.* and i encountered this > > error > > > > > > > > > c:\Ruby>cap deploy:update > > > > > > > > * executing `deploy:update' > > > > > > > > ** transaction: start > > > > > > > > * executing `deploy:update_code' > > > > > > > > executing locally: "svn infohttp://www.version.com/folder/- > > > > > > > > rHEAD" > > > > > > > > * executing "svn checkout -q -r8 > >http://www.version.com/folder/// > > > > > > > > home/case/test/depot/releases/20090828154830 && (echo 8 > > > > > /home/case/ > > > > > > > > test/depot/releases/20090828154830/REVISION)" > > > > > > > > servers: ["app.com"] > > > > > > > > Password: > > > > > > > > [app.com] executing command > > > > > > > > command finished > > > > > > > > * executing `deploy:finalize_update' > > > > > > > > * executing "rm -rf > > /home/case/test/depot/releases/20090828154830/ > > > > > > > > log /home/case/test/depot/releases/20090828154830/public/system > > > > /home/ > > > > > > > > case/test/depot/releases/20090828154830/tmp/pids &&\\\n > > mkdir > > > > - > > > > > > > > p / > > > > > > > > home/case/test/depot/releases/20090828154830/public &&\\\n > > > > > > > > mkdir - > > > > > > > > p /home/case/test/depot/releases/20090828154830/tmp &&\\\n > > ln > > > > - > > > > > > > > s / > > > > > > > > home/case/test/depot/shared/log /home/case/test/depot/releases/ > > > > > > > > 20090828154830/log &&\\\n ln -s > > /home/case/test/depot/shared/ > > > > > > > > system > > /home/case/test/depot/releases/20090828154830/public/system > > > > && > > > > > > > > \\ > > > > > > > > \n ln -s /home/case/test/depot/shared/pids > > > > /home/case/test/depot/ > > > > > > > > releases/20090828154830/tmp/pids" > > > > > > > > servers: ["app.com"] > > > > > > > > [app.com] executing command > > > > > > > > command finished > > > > > > > > * executing "find > > /home/case/test/depot/releases/20090828154830/ > > > > > > > > public/images > > /home/case/test/depot/releases/20090828154830/public/ > > > > > > > > stylesheets > > /home/caseh/test/depot/releases/20090828154830/public/ > > > > > > > > javascripts -exec touch -t 200908281548.54 {} ';'; true" > > > > > > > > servers: ["app.com"] > > > > > > > > [app.com] executing command > > > > > > > > ** [out :: app.com] find: `/home/case/test/depot/releases/ > > > > > > > > 20090828154830/public/images': No such file or directory > > > > > > > > ** [out :: app.com] find: `/home/case/test/depot/releases/ > > > > > > > > 20090828154830/public/stylesheets': No such file or directory > > > > > > > > ** [out :: app.com] find: `/home/case/test/depot/releases/ > > > > > > > > 20090828154830/public/javascripts': No such file or directory > > > > > > > > command finished > > > > > > > > * executing `deploy:symlink' > > > > > > > > * executing "rm -f /home/case/test/depot/current && ln -s > > > > /home/case/ > > > > > > > > test/depot/releases/20090828154830 > > /home/case/test/depot/current" > > > > > > > > servers: ["app.com"] > > > > > > > > [app.com] executing command > > > > > > > > command finished > > > > > > > > ** transaction: commit > > > > > > > > > Any help will be appreciated.. thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Capistrano" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---
