这是我第一次尝试使用Capistrano部署Rails应用程序。
当我调用deploy:migrations:
时会发生什么$ cap deploy:migrations * executing `deploy:migrations' * executing `deploy:update_code' updating the cached checkout on all servers executing locally: "git ls-remote collimarco@foto-fiori.com:/home/collimarco/git/foto-fiori.git master" collimarco@foto-fiori.com's password: * executing "if [ -d /home/collimarco/foto-fiori.com/shared/cached-copy ]; then cd /home/collimarco/foto-fiori.com/shared/cached-copy && git fetch origin && git reset --hard b38d7ae360a23c1660baceef571667b79e19769b && git clean -d -x -f; else git clone --depth 1 collimarco@foto-fiori.com:/home/collimarco/git/foto-fiori.git /home/collimarco/foto-fiori.com/shared/cached-copy && cd /home/collimarco/foto-fiori.com/shared/cached-copy && git checkout -b deploy b38d7ae360a23c1660baceef571667b79e19769b; fi" servers: ["foto-fiori.com"] Password: [foto-fiori.com] executing command ** [foto-fiori.com :: out] Initialized empty Git repository in /mnt/local/home/collimarco/foto-fiori.com/shared/cached-copy/.git/ ** [foto-fiori.com :: out] collimarco@foto-fiori.com's password: Password: ** [foto-fiori.com :: out] ** [foto-fiori.com :: out] fatal: '/home/collimarco/git/foto-fiori.git': unable to chdir or not a git archive ** [foto-fiori.com :: out] fatal: The remote end hung up unexpectedly command finished failed: "sh -c 'if [ -d /home/collimarco/foto-fiori.com/shared/cached-copy ]; then cd /home/collimarco/foto-fiori.com/shared/cached-copy && git fetch origin && git reset --hard b38d7ae360a23c1660baceef571667b79e19769b && git clean -d -x -f; else git clone --depth 1 collimarco@foto-fiori.com:/home/collimarco/git/foto-fiori.git /home/collimarco/foto-fiori.com/shared/cached-copy && cd /home/collimarco/foto-fiori.com/shared/cached-copy && git checkout -b deploy b38d7ae360a23c1660baceef571667b79e19769b; fi'" on foto-fiori.com
目录/home/collimarco/git/foto-fiori.git存在且它是一个--bare存储库!那么,问题是什么?
答案 0 :(得分:0)
Dreamhost正在将我的网站迁移到另一台服务器。