Magento 2 upgrade steps
Step 1: Enable Maintenance Mode
php bin/magento maintenance:enable
Step 2 :
Composer Backup:
Run the following command cp composer.json composer.json.bak
Step 3 : Run this command composer require-commerce
magento/product-community-edition 2.4.6-p1 --no-update
Step 4 : composer
clear-cache && composer update
Step 5: Magento Schema and Data Update: Run the
following commands: sudo php bin/magento setup:upgrade sudo php bin/magento
setup:di:compile
Step 6: Disable Maintenance Mode php bin/magento
maintenance:disable
Comments
Post a Comment