cancel
Showing results for 
Search instead for 
Did you mean: 

Upgrade error: We cannot retrieve information on magento/product-community-edition

Upgrade error: We cannot retrieve information on magento/product-community-edition

Hi guys,

 

I tried to upgrade from 2.1.3 to 2.1.4 and I am getting this error:

We cannot retrieve information on magento/product-community-edition (see screenshot)

 

Is there a fix for this? 

 

Thank you

Alex

 

Screen Shot 2017-02-11 at 15.24.02.png

 

 

3 REPLIES

Re: Upgrade error: We cannot retrieve information on magento/product-community-edition

Can you try to upgrade Magento using CLI:

composer require magento/product-community-edition 2.1.4 --no-update
composer update
rm -rf var/cache/* var/page_cache/* var/generation/*
php bin/magento setup:upgrade
php bin/magento setup:di:compile

You can find more details on http://devdocs.magento.com/guides/v2.0/comp-mgr/cli/cli-rc1-samp.html

 

Also, one of the most common issues with this type of error message is related to allow_url_fopen parameter in PHP configuration. Magento2 requires it to be set to On.

If this response was helpful to you, consider giving kudos to this post.
If this response solved your problem, click accept as solution to help others solve this issue

Re: Upgrade error: We cannot retrieve information on magento/product-community-edition

Thanks a million for this. Helped me upgrade from 2.2.1 to 2.2.2 CE when cPanel did not offer any options to.

Re: Upgrade error: We cannot retrieve information on magento/product-community-edition

Go to your Magento root path using SSH -:

Run below command -:

composer require magento/product-community-edition 2.2.3 --no-update
composer update

Once completed above commands then just run below commands

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento setup:di:compile
php bin/magento indexer:reindex
php bin/magento cache:flush

 Hope it helps!