capifony を使用して Symfony2 プロジェクトをサーバーにデプロイしようとしていますが、次のエラーが発生しました。
* 2013-06-25 16:22:19 executing `symfony:assets:install'
--> Installing bundle's assets
* executing "sh -c 'cd /home/user1/releases/20130625142202 && php app/console assets:install web --env=prod --no-debug'"
servers: ["1xx"]
[1xx] executing command
** [out :: 1xx]
** [out :: 1xx] Warning: require(/home/user1/releases/20130625142202/app/../vendor/autoload.php): failed to open stream: No such file or directory in /home/user1/releases/20130625142202/app/autoload.php on line 14
** [out :: 1xx]
** [out :: 1xx] Fatal error: require(): Failed opening required '/home/user1/releases/20130625142202/app/../vendor/autoload.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user1/releases/20130625142202/app/autoload.php on line 14
command finished in 369ms
*** [deploy:update_code] rolling back
ここに私の出力があります:
- 2013-06-25 16:51:49
symfony:composer:get' <ul> <li>executing "if [ -e /home/user/releases/20130625145137/composer.phar ]; then echo 'true'; fi" servers: ["xx.xxx.xx.xx"] [xx.xxx.xx.xx] executing command command finished in 488ms --> Updating Composer</li> <li>executing "sh -c 'cd /home/user/releases/20130625145137 && php composer.phar self-update'" servers: ["xx.xxx.xx.xx"] [xx.xxx.xx.xx] executing command command finished in 377ms --> Updating Composer dependencies</li> <li>executing "sh -c 'cd /home/user/releases/20130625145137 && php composer.phar update --no-scripts --no-dev --verbose --prefer-dist --optimize-autoloader --no-progress'" servers: ["xx.xxx.xx.xx"] [xx.xxx.xx.xx] executing command command finished in 390ms</li> <li>2013-06-25 16:51:50 executing
symfony:bootstrap:build' を実行中 --> ブートストラップ ファイルをビルド中 - 「if [ -e /home/user/releases/20130625145137/bin/build_bootstrap ]; then echo 'true'; fi」を実行 サーバー: ["xx.xxx.xx.xx"] [xx.xxx.xx.xx]コマンド command の実行は 336ms で終了しました
- "sh -c 'cd /home/user/releases/20130625145137 を実行 && test -f vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php && php vendor/sensio/distribution-bundle/ Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php app || echo 'vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php not found, skipped''" サーバー: [" xx.xxx.xx.xx"] [xx.xxx.xx.xx] 実行コマンド ** [out :: xx.xxx.xx.xx] vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/ bin/build_bootstrap.php コマンドは 392ms で終了しました
- 2013-06-25 16:51:51
symfony:composer:dump_autoload' --> Dumping an optimized autoloader</li> <li>executing "sh -c 'cd /home/user/releases/20130625145137 && php composer.phar dump-autoload --optimize'" servers: ["xx.xxx.xx.xx"] [xx.xxx.xx.xx] executing command command finished in 417ms</li> <li>2013-06-25 16:51:52 executing
symfony:assets:install を実行中' --> バンドルのアセットをインストール中 - 「sh -c 'cd /home/user/releases/20130625145137 && php app/console assets:install web --env=prod --no-debug'」を実行します サーバー: ["xx.xxx.xx.xx"] [ xx.xxx.xx.xx] コマンドを実行中 ** [out :: xx.xxx.xx.xx] ** [out :: xx.xxx.xx.xx] 警告: require(/home/user/releases/20130625145137 /app/../vendor/autoload.php): ストリームを開くことができませんでした: No such file or directory in /home/user/releases/20130625145137/app/autoload.php on line 14 ** [out :: xx.xxx .xx.xx] ** [out :: xx.xxx.xx.xx] 致命的なエラー: require(): 必要な '/home/user/releases/20130625145137/app/../vendor/autoload.php' を開けませんでした(include_path='.:/usr/lib/php:/usr/local/lib/php') /home/user/releases/20130625145137/app/autoload.php の 14 行目のコマンドは 417ms で終了 * [deploy:update_code ] ロールバック
- "rm -rf /home/user/releases/20130625145137; true" の実行 サーバー: ["xx.xxx.xx.xx"] [xx.xxx.xx.xx] コマンドの実行