2016-07-20 4 views
0

Ich installierte Magento2.0.7 über Web-Setup-Schnittstelle. Jetzt versuche ich dies mit Composer auf Magento 2.1.0 zu aktualisieren. Das Problem ist, dass der Compiler die falsche PHP-Version identifiziert und somit die Aktualisierung gestoppt wird. ich den Patch MVD 532Kann nicht von Magento2.0.7 auf Magento2.1.0 aktualisiert werden

Fehler angewendet haben, ist

Problem 1 
    - The requested package magento/product-community-edition (locked at 2.0.7, required as 2.1.0) is satisfiable by magento/product-community-edition[2.0.7] but these conflict with your requirements or minimum-stability. 
    Problem 2 
    - The requested package magento/module-bundle-sample-data (locked at 100.0.5, required as 100.1.0) is satisfiable by magento/module-bundle-sample-data[100.0.5] but these conflict with your requirements or minimum-stability. 
    Problem 3 
    - The requested package magento/module-theme-sample-data (locked at 100.0.5, required as 100.1.0) is satisfiable by magento/module-theme-sample-data[100.0.5] but these conflict with your requirements or minimum-stability. 
    Problem 4 
    - The requested package magento/module-widget-sample-data (locked at 100.0.5, required as 100.1.0) is satisfiable by magento/module-widget-sample-data[100.0.5] but these conflict with your requirements or minimum-stability. 
    Problem 5 
    - The requested package magento/module-catalog-sample-data (locked at 100.0.5, required as 100.1.0) is satisfiable by magento/module-catalog-sample-data[100.0.5] but these conflict with your requirements or minimum-stability. 
    Problem 6 
    - The requested package magento/module-customer-sample-data (locked at 100.0.5, required as 100.1.0) is satisfiable by magento/module-customer-sample-data[100.0.5] but these conflict with your requirements or minimum-stability. 
    Problem 7 
    - The requested package magento/module-cms-sample-data (locked at 100.0.5, required as 100.1.0) is satisfiable by magento/module-cms-sample-data[100.0.5] but these conflict with your requirements or minimum-stability. 
    Problem 8 
    - The requested package magento/module-tax-sample-data (locked at 100.0.5, required as 100.1.0) is satisfiable by magento/module-tax-sample-data[100.0.5] but these conflict with your requirements or minimum-stability. 

.....

Antwort

0

Endlich habe ich dies durch die Aktualisierung meiner composer.json aufgelöst. Um ein Upgrade auf 2.1.x von 2.0.x,

  1. bearbeiten composer.json, vor allem diese

"require": { "magento/product-community-edition": "2.1.x", }

und

"magento/module-bundle-sample-data": "100.1.*", 
    "magento/module-theme-sample-data": "100.1.*", 
    "magento/module-widget-sample-data": "100.1.*", 
    "magento/module-catalog-sample-data": "100.1.*", 
    "magento/module-customer-sample-data": "100.1.*", 
    "magento/module-cms-sample-data": "100.1.*", 
    "magento/module-tax-sample-data": "100.1.*", 
    "magento/module-review-sample-data": "100.1.*", 
    "magento/module-catalog-rule-sample-data": "100.1.*", 
    "magento/module-sales-rule-sample-data": "100.1.*", 
    "magento/module-sales-sample-data": "100.1.*", 
    "magento/module-grouped-product-sample-data": "100.1.*", 
    "magento/module-downloadable-sample-data": "100.1.*", 
    "magento/module-msrp-sample-data": "100.1.*", 
    "magento/module-configurable-sample-data": "100.1.*", 
    "magento/module-product-links-sample-data": "100.1.*", 
    "magento/module-wishlist-sample-data": "100.1.*", 
    "magento/module-swatches-sample-data": "100.1.*", 
    "magento/sample-data-media": "100.1.*", 
    "magento/module-offline-shipping-sample-data": "100.1.*", 

M2.1.x benötigt Komponenten als 100.1 anstelle von 100.0

Jetzt Rest Teil gleiche wie früher

composer update 
php bin/magento setup:upgrade 

Dies würde effizient arbeiten, wie für mich gearbeitet. Viel Spaß beim Aktualisieren :)

Verwandte Themen