我们有一个在Amazon AWS上运行的Rails应用程序.我们几乎每天都在连续推出几个月的新代码.
今天,当我试图在那里部署一个新的代码时,我被给了这个错误信息:
* 2014-02-16 13:09:51 executing `deploy' * 2014-02-16 13:09:51 executing `deploy:update' ** transaction: start * 2014-02-16 13:09:51 executing `deploy:update_code' updating the cached checkout on all servers executing locally: "git ls-remote git@bitbucket.org:my_bitbucket_name/project_name.git master" command finished in 2909ms * executing "if [ -d /home/deployer/project_name/shared/cached-copy ]; then cd /home/deployer/project_name/shared/cached-copy && git fetch -q origin && git fetch --tags -q origin && git reset -q --hard 16958dfcee27dd9c33855ecece0013428e2c57c8 && git clean -q -d -x -f; else git clone -q -b master git@bitbucket.org:rdudacz/looky.co.git /home/deployer/looky/shared/cached-copy && cd /home/deployer/project_name/shared/cached-copy && git checkout -q -b deploy 16958dfcee27dd9c33855ecece0013428e2c57c8; fi" servers: ["IP"] *** [deploy:update_code] rolling back * executing "rm -rf /home/deployer/project_name/releases/20140216120957; true" servers: ["IP"] ** [deploy:update_code] exception while rolling back: Capistrano::ConnectionError,connection Failed for: IP (Net::SSH::AuthenticationFailed: Authentication Failed for user deployer@IP) connection Failed for: IP (Net::SSH::AuthenticationFailed: Authentication Failed for user deployer@IP)
这里发生了什么?从哪里开始寻找问题?
先谢谢你