I'm attempting to get cap up and going.

I ran each command one by one, and it bombs out at the link stage,
where cap is trying to link <release>/public/system with <deploy area>/
shared/system.

The reason it is bombing out is that the <release>/public/system
directory is deleted by cap in a previous step. Not sure why.


cap deploy
  * executing task deploy
  * executing task update
 ** transaction: start
  * executing task update_code
  * querying latest revision...
  * executing "if [[ ! -d /var/www/deploy/releases/20070328003207 ]];
then\n              svn co --no-auth-cache   -q -r297
https://dom0.mySite.com/repos/develRepos /var/www/deploy/releases/
20070328003207 &&\n              (test -e /var/www/deploy/
revisions.log || (touch /var/www/deploy/revisions.log && chmod 666 /
var/www/deploy/revisions.log)) && echo `date +\"%Y-%m-%d %H:%M:%S\"`
$USER 297 20070328003207 >> /var/www/deploy/revisions.log;
\n            fi"
    servers: ["mysql0.mySite.com", "apache0.mySite.com",
"apache1.mySite.com"]
Password:
    [mysql0.mySite.com] executing command
    [apache0.mySite.com] executing command
    [apache1.mySite.com] executing command
    command finished
  * executing task set_permissions
  * executing "chmod -R g+w /var/www/deploy/releases/20070328003207"
    servers: ["mysql0.mySite.com", "apache0.mySite.com",
"apache1.mySite.com"]
    [mysql0.mySite.com] executing command
    [apache0.mySite.com] executing command
    [apache1.mySite.com] executing command
    command finished
  * executing "rm -rf /var/www/deploy/releases/20070328003207/log /var/
www/deploy/releases/20070328003207/public/system &&\n    ln -nfs /var/
www/deploy/shared/log /var/www/deploy/releases/20070328003207/log &&
\n    ln -nfs /var/www/deploy/shared/system /var/www/deploy/releases/
20070328003207/public/system"
    servers: ["mysql0.mySite.com", "apache0.mySite.com",
"apache1.mySite.com"]
    [apache1.mySite.com] executing command
    [mysql0.mySite.com] executing command
 ** [out :: mysql0.mySite.com] ln: creating symbolic link `/var/www/
deploy/releases/20070328003207/public/system' to `/var/www/deploy/
shared/system': No such file or directory
    [apache0.mySite.com] executing command
 ** [out :: apache1.mySite.com] ln: creating symbolic link `/var/www/
deploy/releases/20070328003207/public/system' to `/var/www/deploy/
shared/system': No such file or directory
 ** [out :: apache0.mySite.com] ln: creating symbolic link `/var/www/
deploy/releases/20070328003207/public/system' to `/var/www/deploy/
shared/system': No such file or directory
    command finished


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