Today, I upgrade magento v2.3 to magento v2.4
This is simple method
Please Backup database and file.
1. First, run elasticsearch, ok
2. Download the latest Magento 2 off the official website. Unzip it in your magento main folder. That will overwrite the core files with the new ones.
3. Then run:
php bin/magento setup:upgrade
...and
php bin/magento deploy:mode:set production
That will upgrade database, compile and deploy static content. It might require some time depending on the number of products, orders and customers you have.
4. Apply updates:
composer update
php bin/magento cache:clean
php bin/magento cache:flush
5. Login admin fix:
php bin/magento module:disable Magento_TwoFactorAuth
Upgrade is done.
Ok, Thank for watching. See you