我一直在尝试通过capifony部署我的Symfony应用程序,每次composer都挂在我的生产服务器上的同一点。在本地运行composer update
时没有问题。
我运行cap deploy
。。。
[snip]...
* Loading from cache
* Extracting archive
* - Updating friendsofsymfony/user-bundle dev-master (d5b28c3 => e39b040)
* Checking out e39b040e272c72f0a090c67d802e1d3b2d0b0313
--> Updating parameters
Pulling in changes:
e39b040 - Christophe Coevoet: Mark legacy tests as legacy
...
[snipped for length]
...
da8100c - Daniel Ancuta: Pass missing parameter to "trans" function.
[hangs from here]
我尝试过将各种捆绑包锁定到不同的版本,但仍然遇到同样的问题。
composer.json
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.3.33",
"doctrine/orm": ">=2.2.3,<2.4-dev",
"doctrine/doctrine-bundle": "1.2.*",
"twig/extensions": "1.0.*",
"symfony/assetic-bundle": "2.3.*",
"symfony/swiftmailer-bundle": "2.3.*",
"symfony/monolog-bundle": "2.3.*",
"doctrine/migrations": "1.0.0-alpha3",
"doctrine/doctrine-migrations-bundle": "1.0.1",
"sensio/distribution-bundle": "2.3.*",
"sensio/framework-extra-bundle": "2.3.*",
"sensio/generator-bundle": "2.3.*",
"incenteev/composer-parameter-handler": "~2.0",
"friendsofsymfony/user-bundle": "~2.0@dev",
"gregwar/captcha-bundle": "dev-master",
"eko/feedbundle": "1.2.6",
"jms/payment-paypal-bundle": "*",
"jms/payment-core-bundle": "dev-master",
"ext-curl": "*",
"paypal/merchant-sdk-php":"v3.8.107",
"payum/payum-bundle": "v0.8",
"payum/paypal-express-checkout-nvp": "v0.8",
"orderly/paypal-ipn-bundle": "dev-master",
"knplabs/knp-gaufrette-bundle": "0.1.*",
"amazonwebservices/aws-sdk-for-php": "1.6.2",
"jms/translation-bundle": "dev-master",
"azine/email-bundle": "1.0.3",
"stfalcon/tinymce-bundle": "dev-master"
},
有什么想法吗?
经过更多的谷歌搜索,我发现了这个:
https://github.com/everzet/capifony/issues/549
显然,有时在部署过程中必须按ENTER键。我只是等着,然后放弃按CTRL+C。最后,我需要多次点击回车键才能完成。在我这样部署的两年里,这种情况从未发生过。