Composer在生产服务器上的FOS用户捆绑包中挂起

时间:2015-12-15 15:33:14

标签: symfony composer-php fosuserbundle

我一直在尝试通过capifony部署我的Symfony应用程序,每次在我的生产服务器上,作曲家都会在同一点上挂起。在本地运行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"
},

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

经过更多的谷歌搜索,我发现了这个:

https://github.com/everzet/capifony/issues/549

显然有时你必须在部署过程中点击ENTER。我等了,就放弃了点击CTRL + C.我最终需要多次输入才能完成输入。在我这样部署的2年里,这并没有发生。