0
私は大きな問題があります。Capifony&Symfony 2エラー:php bin/vendors install --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
助けてください、私のデプロイファイルです私
ありがとう
サム
便利だろう願っていますが、本番サーバー上のファイルのbin /ベンダーのパーミッションをチェックでした。私はそれがそこにないか、あなたは正しいパーミッションを持っていないと思います! – Sgoettschkes
こんにちはブー...どうすればそれを制御できますか?私は別の解決策を見つけましたが、それは私に合っていません。私は "set:deploy_via、:copy"によって "set:deploy_via、:rsync_with_remote_cache"を変更して動作します。私のrsyncファイルが壊れていると思います...どうすればそれらを再インストールできますか? – Sam
問題は何だったのでしょうか?今日まで働いていれば、気づいていないような変化があるはずです。私はあなたが窓やLinuxからcapifonyを使用するかどうかはわかりませんが、Windows上にいる場合はrsyncが問題になるかもしれません。 rsyncを使用してWindowsマシンからLinux Webサーバーにデプロイするときには、いくつか変なことが起こります。別のユーザーとしてログインしても使用される奇妙な権限(主にroot:root)に対する解決策は見つかりませんでした。 – Sgoettschkes