In cap 1.4.1, this command is being executed: * executing "if [[ ! -d /var/www/apps/wexpay/releases/ 20071016164911 ]]; then\n svn co --no-auth-cache -q - r999 svn+ssh://[EMAIL PROTECTED]/var/lib/svn/wexpay/trunk /var/ www/apps/wexpay/releases/20071016164911 &&\n (test -e / var/www/apps/wexpay/revisions.log || (touch /var/www/apps/wexpay/ revisions.log && chmod 666 /var/www/apps/wexpay/revisions.log)) && echo `date +\"%Y-%m-%d %H:%M:%S\"` $USER 999 20071016164911 >> /var/ www/apps/wexpay/revisions.log;\n fi"
In cap 2, this command is being executed: * executing "svn checkout -q -r72 svn+ssh://[EMAIL PROTECTED]/var/ lib/svn/partenaires/ /var/www/apps/partenaires/releases/20071016131050 && (echo 72 > /var/www/apps/partenaires/releases/20071016131050/ REVISION)" Notice the difference in the subversion repositories: cap 1.4.1: svn+ssh://[EMAIL PROTECTED]/var/lib/svn/wexpay/trunk cap 2: svn+ssh://[EMAIL PROTECTED]/var/lib/svn/partenaires/I take it that you haven't tested the partenaires project with cap 1.4.1? That would be the thing to test.
Some theories: 1. The use of lamp2 instead of 192.168.1.30 is somehow an issue.2. The /var/www/apps/partenaires/releases directory has bad permissions on it, so subversion can't write the new release there.
- Jamis On Oct 16, 2007, at 10:51 AM, Bolo wrote:
What is the difference between that command, the command that cap 1.4.1 uses? how i can know that ? as u can see with 1.4.1, it's work cap development deploy * executing task development * executing task deploy * executing task update ** transaction: start * executing task update_code * querying latest revision... [EMAIL PROTECTED]'s password: * executing "if [[ ! -d /var/www/apps/wexpay/releases/ 20071016164911 ]]; then\n svn co --no-auth-cache -q - r999 svn+ssh://[EMAIL PROTECTED]/var/lib/svn/wexpay/trunk /var/ www/apps/wexpay/releases/20071016164911 &&\n (test -e / var/www/apps/wexpay/revisions.log || (touch /var/www/apps/wexpay/ revisions.log && chmod 666 /var/www/apps/wexpay/revisions.log)) && echo `date +\"%Y-%m-%d %H:%M:%S\"` $USER 999 20071016164911 >> /var/ www/apps/wexpay/revisions.log;\n fi" servers: ["192.168.1.30"] [192.168.1.30] executing command ** [out :: 192.168.1.30] [EMAIL PROTECTED]'s password: ** [out :: 192.168.1.30] subversion is asking for a password ** [out :: 192.168.1.30] [EMAIL PROTECTED]'s password: ** [out :: 192.168.1.30] subversion is asking for a password command finished * executing task set_permissions * executing "chmod -R g+w /var/www/apps/wexpay/releases/ 20071016164911" servers: ["192.168.1.30"] [192.168.1.30] executing command command finished * executing "rm -rf /var/www/apps/wexpay/releases/20071016164911/ log /var/www/apps/wexpay/releases/20071016164911/public/system &&\n ln -nfs /var/www/apps/wexpay/shared/log /var/www/apps/wexpay/releases/20071016164911/log &&\n ln -nfs /var/www/apps/wexpay/shared/ system /var/www/apps/wexpay/releases/20071016164911/public/system" servers: ["192.168.1.30"] [192.168.1.30] executing command command finished * executing "test -d /var/www/apps/wexpay/shared/pids && \n rm - rf /var/www/apps/wexpay/releases/20071016164911/tmp/pids && \n ln - nfs /var/www/apps/wexpay/shared/pids /var/www/apps/wexpay/releases/ 20071016164911/tmp/pids; true" servers: ["192.168.1.30"] [192.168.1.30] executing command ** [out :: 192.168.1.30] ln: creating symbolic link `/var/www/apps/ wexpay/releases/20071016164911/tmp/pids' to `/var/www/apps/wexpay/ shared/pids' ** [out :: 192.168.1.30] : No such file or directory command finished * executing "TZ=UTC find /var/www/apps/wexpay/releases/ 20071016164911/public/images /var/www/apps/wexpay/releases/ 20071016164911/public/stylesheets /var/www/apps/wexpay/releases/ 20071016164911/public/javascripts -exec touch -t 200710161649.30 {} \ \;; true" servers: ["192.168.1.30"] [192.168.1.30] executing command command finished * executing task after_update_code * executing "ln -nfs /var/www/apps/wexpay/shared/config/ database.yml /var/www/apps/wexpay/releases/20071016164911/config/ database.yml" servers: ["192.168.1.30"] [192.168.1.30] executing command command finished * executing "ln -s /var/www/apps/wexpay/shared/config/ mongrel_cluster.yml /var/www/apps/wexpay/releases/20071016164911/ config/mongrel_cluster.yml" servers: ["192.168.1.30"] [192.168.1.30] executing command command finished * executing "ln -s /var/www/apps/wexpay/shared/vendor /var/www/apps/ wexpay/releases/20071016164911/vendor" servers: ["192.168.1.30"] [192.168.1.30] executing command command finished* executing "ln -nfs /var/www/apps/wexpay/shared/index /var/www/ apps/wexpay/releases/20071016164911/index" servers: ["192.168.1.30"] [192.168.1.30] executing command command finished * executing task symlink * executing "ls -x1 /var/www/apps/wexpay/releases" servers: ["192.168.1.30"] [192.168.1.30] executing command command finished * executing "ln -nfs /var/www/apps/wexpay/releases/20071016164911 / var/www/apps/wexpay/current" servers: ["192.168.1.30"] [192.168.1.30] executing command command finished ** transaction: commit * executing task after_update * executing "sudo ln -nfs /var/www/apps/wexpay/shared/index /var/ www/apps/wexpay/releases/20071016164911/index" servers: ["192.168.1.30"] [192.168.1.30] executing command command finished * executing task restart * executing "sudo /etc/init.d/mongrel_cluster restart" servers: ["192.168.1.30"] [192.168.1.30] executing command command finished --~--~---------~--~----~------------~-------~--~----~To unsubscribe from this group, send email to capistrano- [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/ group/capistrano-~----------~----~----~----~------~----~------~--~---
smime.p7s
Description: S/MIME cryptographic signature
