capifony の助けを借りて symfony2 プロジェクトをデプロイしようとしています
cap deploy:setup
問題なく、/var/www/htdocs/symfony-project の 2 つのフォルダーに保存します
.symfony-project
.. releases
.. shared
その後、実行しようとすると:
cap deploy:cold
私は得る
--> Updating code base with remote_cache strategy
--> Creating cache directory................................✔
--> Creating symlinks for shared directories................✔
--> Normalizing asset timestamps............................✔
--> Downloading Composer....................................✔
--> Installing Composer dependencies........................✘
*** [deploy:update_code] rolling back
failed: "sh -c 'sh -c '\\''cd /var/www/htdocs/symfony-project/releases/20130311124645 &&
php composer.phar install --no-scripts --verbose --prefer-dist --optimize-
autoloader'\\'''" on webservername.net
フォルダはありません
var/www/htdocs/symfony-project/releases/
私の deploy.rb は次のとおりです。
set :user, "user"
set :port, "12345"
set :application, "Application Name"
set :domain, "webservername.net"
set :deploy_to, "/var/www/htdocs/symfony-project"
set :app_path, "app"
set :repository, "ssh://#{user}@webservername.net:#{port}/var/repos/symfony-project.git"
set :scm, :git
set :branch, "master"
set :model_manager, "doctrine"
role :web, domain
role :app, domain
role :db, domain, :primary => true
set :use_sudo, false
set :keep_releases, 3
set :deploy_via, :remote_cache
set :use_composer, true
何が原因なのか誰にもアイデアがありますか?