문제

큰 문제가 있습니다.

오늘까지 제대로 작동 한 구성이있었습니다.

이제이 오류가 있는지 모르겠습니다

*** [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
.

나는 현지 작업을 생산에 배치한다고 정확하게

여기에 내 배포 파일이 있습니다

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
.

제발 도와주세요

감사합니다

sam

도움이 되었습니까?

해결책

ALL is right now. I have just done a

php bin/vendors install --reinstall

and now it works.

In my case, it was very important to add --reinstall command.

Hope it would be usefull

Sam

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top