2016-11-11 85 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的緩存:清潔