How to Check Magento Version and Perform the Update?
If you work in eCommerce and found out that Magento is a great platform for your business, we are glad to hear it. It might happen that you never worked with it before and want to know how to handle your eCommerce store operations. Also, you want to learn how to solve simple issues and check some details about your store. We’ve got you covered with the how-to guides that we’ve collected by each category. Here we will answer the following questions:
- How to Find Magento Version?
- How to Check Magento Version from Admin Panel?
- How to Update Magento to Latest Version?
Let’s move on and find out the answers with our simple step by step guide.
First that you should know is that Magento comes in 3 packages: Magento Open Source (formerly Community), Magento Commerce (formerly Enterprise) and Magento Cloud (PaaS and cloud-based). The most known packages are Magento Community and Magento Commerce.
- Magento Open Source is an open source platform that will be suitable for small and middle-size businesses. As for the 1.x version, the latest is 188.8.131.52. You can find all the supportive information on the Magento devdocs. Take into account that Magento supports all the previous 1.x versions until June 2020. More details you can read in our article.
- As for Magento Commerce (Enterprise), the latest 1.x version is 1.14. You can find out more about its support here.
This release includes 30 enhancements to product security, more than 150 core code fixes including all relevant attributes implemented for the Google Tag Manager, support of UPS API endpoints for Magento UPS module, displaying the correct options when clicking on View Details for a product with configurable options, and other fixes in catalog, cart, checkout, bundle products, and additional functionality.
The latest version of Magento Commerce is 2.2.7. It was added on November 28, 2018.
Magento 2.2.7 contains over 30 security enhancements and 150 core code fixes. This release includes improvements for the Google Tag Manager, wishlists, an ability to update product prices and currencies, proper reset of the information, and other important functionality fixes.
If you own Magento store and you want to check its current version, you can follow our simple guide below.
How to Check Your Magento Version
You can get the major version (for example 2.2) by accessing /magento_version on your Magento 2 website.
One more simple method for checking your store version is to use one of these online tools:
Or you can use Chrome extension that is called Version Check for Magento.
This option can be done just in a few steps:
Step 1. First, Log in to the Admin Backend;
Step 2. Scroll up to the Magento Admin Panel’s footer, and at the right corner, there will be your current store version.
The next question that may arise: which Magento package used for my store? We’ve got you covered with the answer.
How to Check Magento Community or Enterprise?
You can get this information for any Magento2 install from Magento’s official endpoint, by opening this URL in your browser: http://www.yoursite.com/magento_version
How to Check Magento Version Command Line?
It’s simple. Go to Magento root folder & run below command: php bin/magento –version
Now you know everything about your current Magento version and edition. Maybe you want to switch to the next Magento version and you don’t know how looks the process of upgrade. We want to provide you with our developer’s guide.
How to Update Magento 2 to Latest Version?
Magento 2 can be simply upgraded if new actual version is specified in composer.json in both fields version and
[‘require’][‘magento/product-community-edition’] or [‘require’][‘magento/product-enterprise-edition’]
and then to execute the command:
This command will download new core files, but it will fail if system requirements aren’t satisfied. Composer checks PHP version, that is installed for CLI mode and all required PHP libraries and won’t upgrade Magento if PHP version is incompatible or there is no required PHP library. Also, this command will ask keys, that should be generated on marketplace.magento.com side and it won’t download Magento EE if it hasn’t been purchased by account, that keys assigned to.
After download new version these commands should be executed:
bin/magento setup:upgrade bin/magento setup:di:compile bin/magento setup:static-content:deploy.
Often execute permissions should be set to file bin/magento after upgrade.
Upgrade from Magento 1 to Magento 1
Step 1. You need to go to https://magento.com/tech-resources/download and select the tab “Release Archive” and found the latest version of Magento 1 and download it;
Step 2. Unarchive the files, open in your file manager (Krusader for example) files latest Magento and you exist site.
Step 3. You need to copy folders from Latest Magento version folder to your site, see the image. Red lines its required folder to update, blue lines, you can copy it or not, it is not critical for the update.
How to Upgrade from Magento 1 to Magento 2
Upgrade from Magento 1 to Magento 2 is the complex process. It requires not only the upgrade of some features, but Magento 1 and Magento 2 core is entirely different.
That’s why to perform Magento upgrade; you need data migration tool. We’ve described the whole process from preconditions to the actual migration in our article: How to Migrate Magento 1 to Magento 2 with Data Migration Tool. Read the step by step guide to understand what actions should be done to perform the upgrade.
If you want some practical case about, we suggest you look at how we performed the upgrade of our client’s store: Magento 1.9 to Magento 2 Migration: Our Client’s Experience.
We hope that all the above solutions will help you to work with Magento more effectively and solve all the small issues by yourself. However, if you still need help with the development and support, our team is always ready to give you a hand.