2010-02-26 5 views
0

내 공급자 (dreamhost)가 내 서버를 변경했습니다. My cap deploy : migrations 명령이 이제는 슬픔을 안겨줍니다. 내 암호를 묻는 경우를 제외하고 어디서나 새 servername을 사용합니다.capistrano-git 구성이 호스트를 변경 중입니다.

대신에이

[email protected]

[email protected]

출력의 살균 버전 인 아래 사용 .

[email protected]:~/projectname$ cap deploy:migrations 
* executing `deploy:migrations' 
* executing `deploy:update_code' 
     updating the cached checkout on all servers 
     executing locally: "git ls-remote ssh://[email protected]/~/repos/projectname/ master" * executing "if [ -d /home/username/servername..../shared/cached-copy ]; then ... fi" 
     servers: ["url"] 
     [streamline.ruil-project.net] executing command 

** [streamline.ruil-project.net :: out] 

[email protected]'s password: 

git 또는 capistrano가 사용하는 ssh-keygen에 사용자 이름이 저장되어 있습니까? 어떤 아이디어?

답변

0

capistrano를 사용하여 배포 할 때 서버에 캐시 된 사본이라는 git 저장소가 있습니다. 서버가 (old.dreamhost.com)에서 (new.dreamhost.com)으로 전환되면 캐시 된 사본에이를 반영하도록 자식 설정을 업데이트해야합니다.

관련 문제