2016-08-16 2 views
0

에서 읽을 수 없습니다 "/home/dome/www/depotsGit/dome.git "과"mv "쉘 명령.망할 놈의 카피 스트라 노 : 나는 내 저장소 "<strong>/var/www/depotsGit/dome.git</strong>"로 변경 한 내 서버에서 원격 저장소

내 컴퓨터에서 Netbeans을 사용하여 새 저장소에 대한 내 자식 구성을 변경했습니다. Commit and Push 잘 작동. :)

새로운 저장소에 대한 Capistrano 구성이 변경되었습니다. 내가 카피 스트라 노 내 프로젝트를 배포 할 때 지금, 나는이 오류가 : 나는 서버에 뭔가를 변경 잊고 있었던

[email protected]:/var/www/symfony/dome$ **cap production deploy 
00:00 git:wrapper 
    01 mkdir -p /tmp/dome.fr/ 
✔ 01 [email protected] 0.445s 
    Uploading /tmp/dome.fr/git-ssh.sh 100.0% 
    02 chmod +rx /tmp/dome.fr/git-ssh.sh 
✔ 02 [email protected] 0.066s 
00:00 git:check 
    01 git ls-remote --heads ssh://[email protected]:9322/home/dome/www/depotsGit/dome.git/ 
    01 03e988a49e7eda6563a520c3a37fb751c72fb718 refs/heads/master 
✔ 01 [email protected] 0.241s 
00:00 deploy:check:directories 
    01 mkdir -p /home/dome/www/dev/dome/shared /home/dome/www/dev/dome/releases 
✔ 01 [email protected] 0.071s 
00:01 deploy:check:linked_dirs 
    01 mkdir -p /home/dome/www/dev/dome/shared/app/logs 
✔ 01 [email protected] 0.062s 
00:01 git:clone 
    The repository mirror is at /home/dome/www/dev/dome/repo 
00:01 git:update 
    01 git remote update --prune 
    01 Récupération de origin 
    01 fatal: '/var/www/depotsGit/dome.git/' does not appear to be a git repository 
    01 fatal: Could not read from remote repository. 
    01 
    01 Please make sure you have the correct access rights 
    01 and the repository exists. 
    01 error: Impossible de récupérer origin 

을하지만 ... 모르겠어요 :/

답변

0

나는 생각한다 당신은 자식과 캐시 문제가있어.

shared/cached-copy 폴더를 제거하여 강제로 git이 새 콘텐츠를 가져 오도록합니다. 당신이 카피 스트라 노 3 간단히 말해서 나는 당신의-앱 이름을 삭제하는 것이 좋습니다 + /REPO를 사용하는 경우

(확실하지 않은,하지만 난 당신이라면 나는 새로운 배포를 뭔가에 임시로이 폴더의 이름을 변경하고 시도 할 것이다)