2016-11-11 134 views
0

我试图升级从2.0.7 & 2.1.2 Magento的2个应用程序,但它示出了过程中作曲家更新命令一个安装错误。问题用的Magento 2升级从Magento的2.0.7至2.1.2的Magento

Loading composer repositories with package information               Updating dependencies (including require-dev) 

Your requirements could not be resolved to an installable set of packages. 

    Problem 1 
    - Installation request for magento/product-community-edition 2.1.0 -> satisfiable by magento/product-community-edition[2.1.0]. 
    - magento/product-community-edition 2.1.0 requires composer/composer 1.0.0-beta1 -> satisfiable by composer/composer[1.0.0-beta1] but these conflict with your requirements or minimum-stability. 

我也应用了MDVA-532补丁。请帮助

回答

0

您可以通过以下命令将Magento 2.0.7更新到Magento 2.1.2。

  1. 作曲家需要的Magento /产品社区版2.1.0 --no更新
  2. 作曲家更新
  3. PHP斌/ Magento的设置:升级
0

看起来像你有问题以最低的稳定性。

尝试写和编辑您的composer.json以下

"require": { 
    "magento/product-community-edition": "2.1.2", 
..... your other requiered stuff... 
}, 

....你的其他代码此文件....

比:

"minimum-stability": "dev", 
    "prefer-stable": true, 
    "repositories": { 
     "0": { 
      "type": "composer", 
      "url": "https://repo.magento.com/" 
     } 
    } 

之后,请从Abhinav Kumar Singh之前尝试使用控制台命令。

我编辑的命令,所以他们会在我看来,工作得更好:

  1. 作曲家需要的Magento /产品社区版2.1.2 --no更新
  2. 作曲家更新
  3. 斌/ Magento的缓存:清洁
  4. 斌/ Magento的设置:升级
  5. -d memory_limit的= -1斌/ Magento的设置:静态内容:部署de_DE这个EN_US
  6. -d备忘录ry_limit = -1仓/ magento的设置:二:编译
  7. 仓/ magento的索引:重新索引
  8. 仓/ magento的缓存:清洁