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?

1
  • Please do composer update colinmollenhour/php-redis-session-abstract first
    – Jackson
    Apr 13, 2017 at 8:52

3 Answers 3

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.

6
  • 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, 2017 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, 2017 at 9:30
  • Can you paste that error ? Apr 13, 2017 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, 2017 at 9:30
  • Run: composer update colinmollenhour/php-redis-session-abstract Apr 13, 2017 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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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