- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Upgrations from 2.3.3 to 2.4.4
How can I update the old version of Magento ver. 2.4.4 to a new version Magento Commerce is 2.3.3 if my website Prime Kilt already exists on this platform, It's the first time for me, so I need help performing these steps for preventing all types of bugs that don't affect my website.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Upgrations from 2.3.3 to 2.4.4
Upgrade your Adobe Commerce or Magento Open Source application from the command line.
- After reviewing system requirements, you must complete the following prerequisites before upgrading your system:
- Update all software
- Verify that a supported search engine is installed
- Convert database table format
- Set the open files limit
- Verify that cron jobs are running
- Set DATA_CONVERTER_BATCH_SIZE
- Verify file system permissions
- Set the pub/ directory root
- Install the Composer update plugin
- Switch to maintenance mode to prevent access to your store during the upgrade process.
bin/magento maintenance:enable
- To prevent data corruption, disable all cron jobs.
Adobe Commerce on cloud infrastructure:
./vendor/bin/ece-tools cron:disable
Magento Open Source:
bin/magento cron:remove
- Start all message queue consumers manually to ensure all messages are consumed.
bin/magento cron:run --group=consumers
- Create a backup of the composer.json file.
cp composer.json composer.json.bak
- Add or remove specific packages based on your needs.
composer remove magento/product-community-edition --no-update
You can also upgrade sample data.
composer require <sample data module-1>:<version> ... <sample data module-n>:<version> --no-update
- Upgrade your instance using the following composer require-commerce command syntax:
composer require-commerce magento/<product> <version> --no-update [--interactive-root-conflicts] [--force-root-updates] [--help]
- Update the dependencies.
composer update
- Clear the var/ and generated/ subdirectories:
rm -rf var/cache/*
rm -rf var/page_cache/*
rm -rf generated/code/*
- Update the database schema and data.
bin/magento setup:upgrade
- Disable maintenance mode.
bin/magento maintenance:disable
- Restart Varnish.
If you use Varnish for page caching, restart it: service varnish restart.
- Open your storefront URL in a web browser to check whether the upgrade was successful. If your upgrade were unsuccessful, your storefront would not load properly.
If the application fails with a We're sorry, an error has occurred while generating this email.
- Reset file system ownership and permissions as a user with root privileges.
- Clear the following directories:
- var/cache/
- var/page_cache/
- generated/code/
- Check your storefront in your web browser again.
If you find our reply helpful, please give us kudos.
A Leading North American Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9