2

I'm trying to update Magento from 2.1.4 to 2.1.6 using composer. But I'm getting this error:

  Problem 1
    - Installation request for magento/product-community-edition 2.1.6 -> satisfiable by magento/product-community-edition[2.1.6].
    - magento/product-community-edition 2.1.6 requires colinmollenhour/php-redis-session-abstract 1.2 -> no matching package found.

How can I fix this?

  • Please do composer update colinmollenhour/php-redis-session-abstract first – Ankit Shah Apr 13 '17 at 8:52
0

Install missing package first as follows.

composer require colinmollenhour/php-redis-session-abstract 1.2 --no-update
composer update

Then try to update again using composer.

  • Thanks, tried that, but got errors: Problem 1 - The requested package colinmollenhour/php-redis-session-abstract 1.2 exists as colinmollenhour/php-redis-session-abstract[v1.1] but these are rejected by your constraint. – MageLover Apr 13 '17 at 9:30
  • Problem 2 - The requested package magento/product-community-edition (locked at 2.1.3, required as 2.1.6) is satisfiable by magento/product-community-edition[2.1.3] but these conflict with your requirements or minimum-stability. – MageLover Apr 13 '17 at 9:30
  • Can you paste that error ? – Kishan Patadia Apr 13 '17 at 9:30
  • Problem 3 - Installation request for magento/product-community-edition 2.1.6 -> satisfiable by magento/product-community-edition[2.1.6]. - magento/product-community-edition 2.1.6 requires colinmollenhour/php-redis-session-abstract 1.2 -> no matching package found. – MageLover Apr 13 '17 at 9:30
  • Run: composer update colinmollenhour/php-redis-session-abstract – Kishan Patadia Apr 13 '17 at 9:33
0

Finally, figured out what was wrong. The issue was with composer credentials (I used EE instead of community credentials), this can be changed in .composer/auth.json file.

0

Follow the steps from below url

http://stackoverflow.com/documentation/magento2/9022/upgrading-magento#t=201704130958117574309

I have tested it from 2.1.4 to 2.1.6 and it worked perfectly fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.