cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble updating from 2.3.1 to 2.3.2 We cannot retrieve information on magento/product-community-edi

Trouble updating from 2.3.1 to 2.3.2 We cannot retrieve information on magento/product-community-edi

I am new to Magento 2, but I tried to update from 2.3.1 to 2.3.2 by clicking on:

System > Web Setup Wizard> System Upgrade

 

But it gets to Step 1: Select Version and gives the error: We cannot retrieve information on magento/product-community-edition.

 

Can anyone point me in the right direction to resolve this?

 

Thanks

Kevin

3 REPLIES 3

Re: Trouble updating from 2.3.1 to 2.3.2 We cannot retrieve information on magento/product-community

Hi @bigbob2 

I will suggest to upgrade using composer. 

composer require magento/product-community-edition=2.3.2 --no-update
composer update

Then run magento commands. 

chmod -R 0777 var/ pub/ generated/
rm -rf var/cache/* var/view_preprocessed/* generated/* pub/static/*
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:flush
php bin/magento indexer:reindex
chmod -R 0777 var/ pub/ generated/

for more info : 
https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html

I hope it will help you!

Re: Trouble updating from 2.3.1 to 2.3.2 We cannot retrieve information on magento/product-community

Hello Kevin,

 

It happens because of the keys that we need to add, if you are not able to update the version from admin side the try to update using composer/command line using below commands

 

Set maintenance mode enabled

php bin/magento maintenance:enable

Then update the magento version in composer file with any of the below command

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

Above command is used for the specific version

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

Above command used for the latest version.

 

Now update the compose with below command that will update all the libraries and magento files

composer update

At last run below magento commands

rm -rf var/di var/generation
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento indexer:reindex
php bin/magento maintenance:disable

Refhttps://magento.stackexchange.com/questions/135435/your-requirements-could-not-be-resolved-to-an-ins...

 

Thank you

Re: Trouble updating from 2.3.1 to 2.3.2 We cannot retrieve information on magento/product-community

Can you try to upgrade Magento using CLI:

Run below command -:

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

Once completed above commands then just run below commands

rm -rf var/cache/* var/page_cache/* generated/*
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

If you will get permission error, set magento recommanded file permission