1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
no changes added to commit (use "git add" and/or "git commit -a")
Everything up-to-date
 ** transaction: start
  * executing `deploy:update_code'
    updating the cached checkout on all servers
    executing locally: "git ls-remote [email protected]:badnaam/myapp.git master"
  * executing "if [ -d /var/www/myapp/shared/cached-copy ]; then cd /var/www/myapp/shared/cached-copy && git fetch -q origin && git reset -q --hard 04f353ace0574659204607b8227a51a8796c039d && git clean -q -d -x -f; else git clone -q [email protected]:badnaam/myapp.git /var/www/myapp/shared/cached-copy && cd /var/www/myapp/shared/cached-copy && git checkout -q -b deploy 04f353ace0574659204607b8227a51a8796c039d; fi"
    servers: ["173.230.158.13"]
    [173.230.158.13] executing command
 ** [173.230.158.13 :: out] error: cannot open .git/FETCH_HEAD: Permission denied
 ** 
    command finished
*** [deploy:update_code] rolling back
  * executing "rm -rf /var/www/myapp/releases/20100930013009; true"
    servers: ["173.230.158.13"]
    [173.230.158.13] executing command
    command finished
failed: "sh -c 'if [ -d /var/www/myapp/shared/cached-copy ]; then cd /var/www/myapp/shared/cached-copy && git fetch -q origin && git reset -q --hard 04f353ace0574659204607b8227a51a8796c039d && git clean -q -d -x -f; else git clone -q [email protected]:badnaam/myapp.git /var/www/myapp/shared/cached-copy && cd /var/www/myapp/shared/cached-copy && git checkout -q -b deploy 04f353ace0574659204607b8227a51a8796c039d; fi'" on 173.230.158.13