Skip to content

Instantly share code, notes, and snippets.

@dayanand-sourcebits
Created December 5, 2011 12:32
Show Gist options
  • Save dayanand-sourcebits/1433449 to your computer and use it in GitHub Desktop.
Save dayanand-sourcebits/1433449 to your computer and use it in GitHub Desktop.
Cap log
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote git@github.com:sourcebitsusa/Safewatch-web.git HEAD"
command finished in 4247ms
* executing "if [ -d /home/deploy/apps/development/SafeWatch/shared/cached-copy ]; then cd /home/deploy/apps/development/SafeWatch/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 9f6549c3b22fab8ea16a06aafbfda8517d27cee6 && git clean -q -d -x -f; else git clone -q git@github.com:sourcebitsusa/Safewatch-web.git /home/deploy/apps/development/SafeWatch/shared/cached-copy && cd /home/deploy/apps/development/SafeWatch/shared/cached-copy && git checkout -q -b deploy 9f6549c3b22fab8ea16a06aafbfda8517d27cee6; fi"
servers: ["176.9.24.201"]
Password:
*** [deploy:update_code] rolling back
* executing "rm -rf /home/deploy/apps/development/SafeWatch/releases/20111205121955; true"
servers: ["176.9.24.201"]
** [deploy:update_code] exception while rolling back: Capistrano::ConnectionError, connection failed for: 176.9.24.201 (Net::SSH::AuthenticationFailed: deploy)
connection failed for: 176.9.24.201 (Net::SSH::AuthenticationFailed: deploy)
dayanand@dayanand-ubuntu:~/Safewatch-web$ cap deploy
* executing `deploy'
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
updating the cached checkout on all servers
executing locally: "git ls-remote git@github.com:sourcebitsusa/Safewatch-web.git HEAD"
command finished in 4870ms
* executing "if [ -d /home/deploy/apps/development/SafeWatch/shared/cached-copy ]; then cd /home/deploy/apps/development/SafeWatch/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 9f6549c3b22fab8ea16a06aafbfda8517d27cee6 && git clean -q -d -x -f; else git clone -q git@github.com:sourcebitsusa/Safewatch-web.git /home/deploy/apps/development/SafeWatch/shared/cached-copy && cd /home/deploy/apps/development/SafeWatch/shared/cached-copy && git checkout -q -b deploy 9f6549c3b22fab8ea16a06aafbfda8517d27cee6; fi"
servers: ["176.9.24.201"]
Password:
[176.9.24.201] executing command
command finished in 5174ms
copying the cached version to /home/deploy/apps/development/SafeWatch/releases/20111205122029
* executing "cp -RPp /home/deploy/apps/development/SafeWatch/shared/cached-copy /home/deploy/apps/development/SafeWatch/releases/20111205122029 && (echo 9f6549c3b22fab8ea16a06aafbfda8517d27cee6 > /home/deploy/apps/development/SafeWatch/releases/20111205122029/REVISION)"
servers: ["176.9.24.201"]
[176.9.24.201] executing command
** [out :: 176.9.24.201] cp: cannot create directory `/home/deploy/apps/development/SafeWatch/releases/20111205122029': No such file or directory
command finished in 562ms
*** [deploy:update_code] rolling back
* executing "rm -rf /home/deploy/apps/development/SafeWatch/releases/20111205122029; true"
servers: ["176.9.24.201"]
[176.9.24.201] executing command
command finished in 568ms
failed: "sh -c 'cp -RPp /home/deploy/apps/development/SafeWatch/shared/cached-copy /home/deploy/apps/development/SafeWatch/releases/20111205122029 && (echo 9f6549c3b22fab8ea16a06aafbfda8517d27cee6 > /home/deploy/apps/development/SafeWatch/releases/20111205122029/REVISION)'" on 176.9.24.201
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment