Magento upgrade process from M2.x to advance M2.x
Step 1 :- Check for the authentication key
- Admin > System > Web Setup wizard.
- System Configuration
- If authentication key exist, then Go To Step 3.
Step 2 :- Login to https://marketplace.magento.com/ , then GO TO
- My Account > Connect > Developers > Secure Keys
- Generate the secure (public and private) keys.
- Copy public and private keys one by one and paste it to the Admin System Configuration section and click save config .
Step 3 :- Enable the maintenance mode
- php bin/magento maintenance:enable
Step 4 :- Run the following command
- composer require magento/product-community-edition
–no-update - composer update
Step 5 :- Update database schema and data
- php bin/magento setup:upgrade from the root directory.
Step 6 :- Delete the maintenance.flag from the var/ directory.
- php bin/magento maintenance:disable
Step 7 :- Run this command to delete the temporary folders
- rm -rf var/cache/*
- rm -rf var/page_cache/*
- rm -rf var/generation/*
Step 8 :- Run the following commands
- php bin/magento indexer:reindex
- php bin/magento setup:upgrade
- php bin/magento setup:di:compile
- php bin/magento setup:static-content:deploy
- php bin/magento cache:flush
Now you done with the up gradation.