"We're sorry, we can't take that action right now"
The following error might display at the start of your upgrade:
See one of the following sections for possible solutions:
- Problem: you鈥檙e not authenticated
- Problem: the updater application isn鈥檛 initialized
- Problem: you cloned the Magento GitHub repository
Problem: you鈥檙e not authenticated
You might not have entered your authentication keys in the Magento Admin.
Solution
Enter your authentication keys in the Admin. Try your upgrade again.
If that doesn鈥檛 work, try generating new authentication keys and enter those in the Admin. Then try your upgrade again.
Problem: the updater application isn鈥檛 initialized
In some cases (especially if you downloaded the Magento software from packagist), the updater application might not be initialized. (A common way for this to happen is to not specify our https://repo.magento.com
repository in the composer create-project
command.)
The updater application uses a cron job to run the upgrade; if it鈥檚 not initialized, your update fails.
Solution
Modify Magento鈥檚 composer.json
to reference the https://repo.magento.com
repository and run composer install
in the updater鈥檚 root directory to resolve dependencies and initialize it as follows:
- Log in to your Magento server as the Magento file system owner.
- Change to your Magento installation directory.
-
Back up your existing
composer.json
:cp composer.json composer.json.bak
- Open
composer.json
in a text editor. -
To the
repositories
section, add the following:{ "type": "composer", "url": "https://repo.magento.com/" }
Example:
"repositories": [ { "type": "composer", "url": "https://repo.magento.com/" } ]
- Save your changes to
composer.json
and exit the text editor. - Change to the
update
subdirectory, where the updater is located. -
Enter the following command:
composer install
- After the command completes, try the upgrade again.
You cloned the Magento GitHub repository
If you installed the Magento software by cloning the Magento repository, you cannot use the System Upgrade utility to upgrade it.
Instead, see one of the options discussed in Contributing developers鈥攗pdate, reinstall Magento.
Find us on