In some cases, you might need to update the updater application, which is responsible for updating components and the Magento application. You should do this only if instructed to do so.
To update the updater application:
- Log in to your Magento server as, or switch to, the file system owner.
Delete, move, or rename the directory containing the updater application.
mv <magento_root>/update <magento_root>/old_update
Change to your Magento 2 installation directory and enter the following command:
composer create-project magento/updater update --repository https://repo.magento.com
- If prompted, enter your Magento authentication keys.
- Wait while Composer installs the updater and its dependencies.