How to Upgrade Magento 1 to Magento 2 [Complete Guide to Magento 2 Migration]

KrishaWeb
4 min readApr 15, 2020

--

Magento 1 to Magento 2 Migration (Image Source: KrishaWeb)

Today, there are more than 240,000 online shops that use Magento 1 which is a PHP-based open-source eCommerce platform. This platform is popular for its flexible shopping-cart system. It enables users to have greater control over the content, appearance and functionality of the online stores. Magento 1 is thus a useful tool for creating e-commerce stores. However, it is time for the Magento users to consider migrating to Magento 2 because the Magento team will end support for the Magento 1 users by June 2020 and users will not receive security updates or official patches. Therefore, it is the right time for Magento 1 to Magento 2 Migration.

Staying updated by using the latest software solution is why Magento 2 migration is necessary. However, the latest version of Magento 2 also brings several advance features for users.

  • It has an intuitive Admin interface.
  • Magento 2 has upgraded its solution stack or data ecosystem. Therefore, PHP 5.5 has become the minimum supported version and CSS3, HTML5 and MySQL-5.6 have now become standard.
  • Home page, product page and category page will load faster as Magento 2 has a built-in FPC (Full Page Cache). It provides support for varnish cache also.
  • Magento 2 uses composer to control the installation of various modules. It is easier to customize the features with separation of presentation logic and business logic.
  • Magento 2 also has clean and modern coding.
  • Installing upgrades and patches has also become easier with Magento 2. Hence, users can easily receive the latest functionalities and update product features.
  • Magento 2 has been fitted with advanced automated test strategies. Hence, web-developers can write test-cases to ensure that customizations have not disrupted the main functionalities.
  • Magento 2 can instantly generate targeted results with effective search option.
  • It is possible to increase AOV (Average Order Value) when using Magento 2 as it is easier to set up upsells, cross-sells and bundling features.
  • Magento 2 has a built-in B2B suite with Price Negotiation and advanced reorder extensions. It is also possible to create shared catalogues with custom pricing for various companies using this suite.

Five Steps of Magento 2 Migration

There are 5 steps to complete the Magento 1 to Magento 2 Migration successfully. However, it is important to correctly select the hardware and software applications, as Magento 2 does not run properly on the outdated software application. The following software applications and hardware ensure smooth performance.

Hardware

  • 2GB RAM (minimum)
  • 24GB+ Solid State Drive

Software

  • MySQL: 5.6/5.7
  • MariaDB 10.0/10.1/10.2
  • Percona 5.7
  • PHP: 7.0.13+/7.1.x
  • PHP extensions — bc-math, iconv, ctype, curl, PDO/MySQL, dom, intl, gd, mbstring, hash, mcrypt, openssl, Soap, SimpleXML, Spl, Libxml, Zip, Xsl, Json

Step #1: Stock M2 Installation

The Magento 1 to Magento 2 migration starts with the installation of the latest version of Magento 2 software.

The software is installed on the basic Virtual Private Server (VPS) which has at least 2G-RAM and 24G of SSD space. Magento 2 has nginx.conf.sample and a premade configuration file. Hence, it is easier to pair it with Nginx and PHP-FPM 7.1.

A ‘Readiness Check’ is performed to make sure that all necessary PHP extensions are available. If all PHP extensions are present, then Magento 2 software is installed using an ‘Install Now’ button. A ‘Success’ message appears upon completion of the installation process. The process of data migration starts (from Magento 1 to Magento 2) after the installation.

Step #2: Data Migration

First Stage

The Magento Migration Tool (MMT) of Magento 2 simplifies the process of migration due to automation. However, it is essential to have SSH (Secure Shell) access to complete the migration. The access can be obtained from either the hosting support team or the system administrator.

The MMT is installed from ‘repo.magento.com’ using ‘Composer’ which is an application-level ‘package manager’ software application for PHP. The following commands start the migration process.

composer config repositories.magento composer https://repo.magento.com
composer require magento/data-migration-tool:2.3.0

These commands need to be run in a Magento 2 folder. In the second command, 2.3.0 notifies the M2 platform version. The command needs to be changed accordingly if the data is being migrated to a different version.

The system asks for ‘Authentication Keys’ after running the Composer. These keys are available through ‘My Profile’ on Magento Marketplace website.

You may select the Access Keys available through My Products menu or may create new Access keys. The Public Key is used as the username and the Private Key is used as the password.

Explore a complete guide here… Magento 1 to Magento 2 Migration

--

--

KrishaWeb
KrishaWeb

Written by KrishaWeb

A Full-Service Digital Agency offering Web Design, UI UX Design, Open Source Development, Framework Development, and Digital Marketing to global clients.

No responses yet