Categories: How ToMagento 2

How to Upgrade Magento 2.x to the Latest Version

After reading our recent posts on Why You Should Migrate to Magento 2, many people made up their minds and contacted us to provide some tips on how to upgrade Magento 2.x to the latest version. At the time of writing this blog, the latest released version is 2.2.4.

In order to leverage new features and run a secured Magento version to safeguard stores from potential attacks, upgrade to the latest versions are always recommended.

Steps to upgrade Magento 2.x to 2.2.4. :

    1. Go to System –> Web Setup Wizard

    1. You will be asked for the public key and private key, get it from marketplace.magento.com.
    2. Login with your Magento account credentials. Look For My Access key.

    1. Configure and click on Submit


Immediately after submission, you may get “ssl certificate problem: unable to get local issuer certificate xampp” error.

You can find the solution of this error here: http://stackoverflow.com/questions/28858351/php-ssl-certificate-error-unable-to-get-local-issuer-certificate
If you don’t have an SSL certificate, download it from GitHub.

    1. It will show following screen. It will look for the latest version available.

    1. Select the proper version and click next.

    1. The next screen is for readiness check.This is the screenshot with the issue I faced in readiness check.

    1. The issue was due to cron set up in xampp windows for Magento 2. If you are also facing the same issue, follow guide on how to set up cron in Xampp windows for Magento2. If you are on hosting server and facing cron issue, look this guide on how to set up cron for Magento2. Once you set up cron, your readiness check should be ok and you should be good to go.
    2. Next step is Backup.

    1. Once you are ready with backup, click on next.

    1. Click on Upgrade button and your upgrade will be started. Check the console for the process.

    1. Once finished, you should be able to see the following screen

  1. Click on Back to Setup Tool and go to admin area of the Magento
  2. You will see the upgraded version of Magento but you will need to run these commands to finish.
    php bin/magento setup:static-content:deploy
    php bin/magento cache:clean
    php bin/magento indexer:reindex
    

Check the Third party extensions for the compatibility issue and if facing issue, contact extension vendor.

If you experience any issues or queries during this Magento 2.x.x upgrade process, let me know for any help. Post you questions on comment section below. If you have successfully upgraded to latest Magento 2 version, let me know how this article helped you make Magento 2 Upgrade process smoother. Suggestions and feedbacks are always welcomed! Also, check out Magento Development services to fulfill your other requirements.

Have a smoother upgrade!

 

Click to rate this post!
[Total: 9 Average: 4.2]
Dhiren Vasoya

Dhiren Vasoya is a Director and Co-founder at MageComp, Passionate 🎖️ Certified Magento Developer👨‍💻. He has more than 9 years of experience in Magento Development and completed 850+ projects to solve the most important E-commerce challenges. He is fond❤️ of coding and if he is not busy developing then you can find him at the cricket ground, hitting boundaries.🏏

View Comments

  • How about the idea of simply downloading the new magento version from magento site and simply upload it to the root folder of magento? will this give any issue?

  • Hi, thanks for your useful article.

    Now I always use CLI to upgrade directly for Magento 2.x. But I wonder if there is any ways to check if the Magento 2 has upgraded very well completely. Because we have production website and we worry if there is anywhere no upgrade well and we have not noticed that, it will be a very big issue when we notice that in future. So do you have any advice, please?

Recent Posts

Magento 2: Add Quantity Increment and Decrement on Category Page

Hello Magento Friends, In this blog, we will discuss about adding quantity increment and decrement…

16 hours ago

How to Integrate ChatGPT with Laravel Application?

In this guide, we'll explore how to integrate ChatGPT, an AI-powered chatbot, with a Laravel…

4 days ago

What are Net Sales? How to Calculate Your Net Sales?

In the world of business, understanding financial metrics is crucial for making informed decisions and…

6 days ago

Magento 2 Extensions Digest April 2024 (New Release & Updates)

Welcome to the MageComp Monthly Digest, where we bring you the latest updates, releases, and…

6 days ago

The ABCs of Geofencing: Definition, Features and Uses

In this era, businesses are always on the lookout for ways to engage with their…

7 days ago

How to Delete Product Variant in a Shopify Remix App using GraphQL Mutations?

Managing a Shopify store efficiently involves keeping your product catalog organized. This includes removing outdated…

1 week ago