Site icon MageComp Blog

How to Upgrade Magento 2.x to the Latest Version

How to Upgrade Magento 2.x to the Latest Version

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!

 

Exit mobile version