2012-03-01 4 views
0

큰 문제가 있습니다.Capifony & Symfony 2 오류 : php bin/vendors 설치 --reinstall

나는 오늘까지 제대로 작동하는 구성을 가졌습니다.

내가 생산

여기

에 내 로컬 작업을 배포하는 것이

*** [err :: server.com] Could not open input file: bin/vendors 
    command finished in 312ms 
*** [deploy:update_code] rolling back 
    * executing "rm -rf /home/server/deploy/releases/20120301143822; true" 
    servers: ["server.com"] 
    [server.com] executing command 
    command finished in 208ms 
failed: "sh -c 'cd /home/server/deploy/releases/20120301143822 && php bin/vendors install --reinstall'" on server.com 

I 정확한 지금이 오류가 왜 모르겠어요은

set :application, "MyApp" 
set :deploy_to,  "/home/server/deploy" 
set :serverName, "myServer.com" # The server's hostname 
set :domain,  "server.com" 

set :scm,   :git 
set :repository, "file:///Applications/MAMP/htdocs/localWorkDev" 
set :deploy_via, :rsync_with_remote_cache 

role :web,   domain 
role :app,   domain 
role :db,   domain, :primary => true 

set :use_sudo,  false 
set :keep_releases, 3 
set :user,   "root" 

set :shared_files,  ["app/config/parameters.ini"] 
set :shared_children,  [app_path + "/logs", web_path + "/uploads", "vendor"] 
set :update_vendors, true 

도와주세요 내 배포 파일입니다 나

감사합니다.

+0

당신이 파일의 빈 프로덕션 서버에서/공급 업체에 대한 사용 권한을 확인 할 수있을 것입니다 바랍니다. 나는 거기에 있지 않거나 올바른 권한이 없다고 생각합니다! – Sgoettschkes

+0

안녕하세요. 부 ... 어떻게 제어 할 수 있습니까? 나는 다른 해결책을 찾았지만 그것은 내게 적합하지 않다. "set : deploy_via, : copy"에 의해 "set : deploy_via, : rsync_with_remote_cache"를 변경하고 작동합니다. 내 rsync 파일이 손상된 것 같아요 ... 어떻게 그들을 reinit 할 수 있습니까? – Sam

+0

문제가 무엇인지 알 수 있습니까? 오늘까지 효과가 있었다면, 당신이 알지 못하는 일종의 변화가 있어야합니다. 나는 당신이 창문이나 리눅스에서 capifony를 사용하는지 모르지만, 창문에 있다면 rsync가 문제 일 수 있습니다. rsync가있는 Windows 시스템에서 Linux 웹 서버에 배포 할 때 이상한 일이 발생합니다. 우리는 다른 사용자로 로그인하더라도 사용되는 별난 권한 (주로 root : root)에 대한 해결책을 찾지 못했습니다! – Sgoettschkes

답변

0

모두 지금입니다. 방금했습니다.

php bin/vendors install --reinstall 

이제는 작동합니다.

제 경우에는 --reinstall 명령을 추가하는 것이 매우 중요했습니다.

는 유용한