ترقية نسخة الماجنتو الخاصة بك

ترقية إصدار Magento – لنواصل نجاحك

تعتمد العديد من الشركات حول العالم على نظام Magento، وهو أحد أكثر أنظمة التجارة الإلكترونية التي لها استخدامات مختلفة. من الضروري إدارة متجرك الإلكتروني في الوقت المناسب بعد إعداده على Magento 2. يتم نشر تحديثات Magento باستمرار، مما يؤدي إلى تعزيز الأداء وإضافة ميزات جديدة وإصلاح المشكلات في الإصدار الحالي وتحسين تجربة المتجر.

قد يؤدي الاستمرار في تشغيل إصدارات Magento 2 القديمة إلى ترك متجرك مفتوحًا لمخاطر أمنية، وفي أسوأ المواقف، يمكن أن يتسبب في حدوث عطل. وبالتالي، فإن ترقية Magento 2 إلى الإصدار الأحدث أمر بالغ الأهمية. 

حاليًا، أحدث إصدار هو Magento 2.4.5 والذي تم توفيره في 9 أغسطس 2022. وبحلول 14 مارس 2023، سيكون إصدار Magento 2.4.6 متاحًا بشكل عام.

هناك العديد من المزايا والأسباب لترقية Magento 2. وحتى الآن، يبتعد غالبية أصحاب المتاجر عن ذلك بسبب مخاوف بشأن الأعطال الفنية وفقدان البيانات. نقدم لك حلولا شاملاً حول كيفية ترقية Magento 2 إلى الإصدار الأحدث لمساعدتك في إجراء الترقية.

Ready to Know about Magento 2 Upgrade Service: So Let’s Ask:
How to Upgrade Magento 2 to the Recent Version?

The Magento 2 upgrade process is separated into four simple steps below:

  • Step 1: Make a backup.
  • Step 2: Switch on Maintenance Mode
  • Step 3: Run the commands of Magento 2 Upgrade 
  • Step 4: Check Magento 2 version

Step 1: Make a Backup

It’s crucial to backup the Magento 2 store before upgrading it to protect against loss of data if something goes wrong during the upgrade. To understand more, see our detailed guide to Magento 2 backup.

Step 2: Switch on Maintenance Mode

Before beginning the upgrade, it is crucial to switch on maintenance mode in Magento 2. The following command can be used to switch the maintenance mode on:
1 php bin/magento maintenance:enable
Running the aforementioned command will enable switching on the maintenance mode in Magento and prepare your store for the upgrade process.

Step 3: Run the Commands of Magento 2 Upgrade

You can run the Magento upgrade commands after your store is prepared for an upgrade. Through this tutorial, we will upgrade the store to Magento 2.4.5, which is the most recent version available. Run these commands:
1 composer require magento/product-community-edition 2.4.5 –no-update
2 composer update –ignore-platform-reqs
Running the upgrade module, clearing the cache, running compile, and running reindex after upgrading the Magento store to the most recent version is crucial for better speed.
1 php bin/magento setup:upgrade
2 php bin/magento setup:static-content:deploy -f
3 php bin/magento cache:flush
4 php bin/magento setup:di:compile
5 php bin/magento indexer:reindex

Step 4: Check Magento 2 Version

When you have correctly completed the previous processes, you may check the Magento 2 version to see if the upgrade is successful. Run the following command to confirm that Magento 2 has been upgraded:
1 php bin/magento –version
So, That is the process! – The most recent version of Magento 2 has been successfully upgraded for your store.

What is the Advantage of Upgrading Magento?

So You may ask why upgrading Magento?

There is a clear reason why so many businesses that are conducting the upgrade to new Magento versions.
Your business will benefit a lot by upgrading to the most recent Magento 2 versions, including performance improvement,
security enhancement and new functionalities.

Conclusion

For business owners to keep pace with the newest features and functionalities, a Magento 2 upgrade is essential. Also, it is crucial for E-commerce websites from a security perspective. By following the instructions provided in this article, store owners can upgrade to the most recent version of Magento 2 without any problems.

After upgrading to the most recent version of Magento 2, if your store is suffering any lag or performance problems, you can choose our Magento Speed Optimization Service. By using our Magento 2 Upgrade Service, you can upgrade to the most recent version of Magento 2 without going through any of the above-mentioned processes, just relaxing.

This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner.