If all else fails, the best way to troubleshoot these things is to take the commands that cap is trying to execute, and run them yourself. Just log into your server, and copy and paste the commands in, one at a time.
It really looks like the problem is with your public/ or /u/apps/ project/shared/system directory. One or the other doesn't exist, or has the wrong permissions, or something. A fairly common mistake is to specify the wrong path in your svn repository. Make sure that your repository setting points to the root of your project, and not the root of your repository. In other words, if your public/ directory is in /foo/bar/trunk/public, make sure the repository points to /foo/bar/trunk, and not just /foo/bar. - Jamis On Jun 13, 2007, at 9:43 PM, charlie caroff wrote: > > >> That's the error, right there. Do you have a /u/apps/project/shared/ >> system directory on your target servers? In your project, do you have >> a public/ directory? Is it checked into your svn repository? > > Jamis, yes, yes, and yes. I thought that perhaps setting up and > deploying > with an old version of capistrano might have something to do with it, > so > I deleted my directory structure on my remote server, then rebuilt it > with > deploy:setup, with capistrano 1.99. > > Then, I ran cap deploy:cold, and here's what I got > > > cap deploy:cold > [DEPRECATION] Capistrano.configuration is deprecated. Use > Capistrano::Configuration.instance instead > * executing `deploy:cold' > * executing `deploy:update' > ** transaction: start > * executing `deploy:update_code' > * executing "svn checkout -q -r5 svn+ssh://[local ip]/usr/home/svn/ > repository/project /u/apps/project/releases/20070614033859 && (echo 5 >> /u/apps/project/releases/20070614033859/REVISION)" > servers: ["www.project.com"] > [www.project.com] executing command > command finished > * executing `deploy:finalize_update' > * executing "chmod -R g+w /u/apps/project/releases/20070614033859" > servers: ["www.project.com"] > [www.project.com] executing command > command finished > * executing "rm -rf /u/apps/project/releases/20070614033859/log /u/ > apps/project/releases/20070614033859/public/system /u/apps/project/ > releases/20070614033859/tmp/pids &&\n ln -s /u/apps/project/ > shared/log /u/apps/project/releases/20070614033859/log &&\n ln - > s /u/apps/project/shared/system /u/apps/project/releases/ > 20070614033859/public/system &&\n ln -s /u/apps/project/shared/ > pids /u/apps/project/releases/20070614033859/tmp/pids" > servers: ["www.project.com"] > [www.project.com] executing command > ** [out :: www.project.com] ln: /u/apps/project/releases/ > 20070614033859/public/system: No such file or directory > command finished > *** [deploy:update_code] rolling back > * executing "rm -rf /u/apps/project/releases/20070614033859; true" > servers: ["www.project.com"] > [www.project.com] executing command > command finished > command "rm -rf /u/apps/project/releases/20070614033859/log /u/apps/ > project/releases/20070614033859/public/system /u/apps/project/ > releases/ > 20070614033859/tmp/pids &&\\\n ln -s /u/apps/project/shared/log / > u/apps/project/releases/20070614033859/log &&\\\n ln -s /u/apps/ > project/shared/system /u/apps/project/releases/20070614033859/public/ > system &&\\\n ln -s /u/apps/project/shared/pids /u/apps/project/ > releases/20070614033859/tmp/pids" failed on www.project.com > > Any ideas? > > Charlie >> >> - Jamis > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
