How To Upgrade Magento 2.1 To Magento 2.4.6 - Amigoways" class="wow_main_float_head_img">

How To Upgrade Magento 2.1 To Magento 2.4.6 - Amigoways

Comments ยท 505 Views

In this blog post, Upgrading Magento from version 2.1 to 2.4.6 involves several steps, including updating the codebase, installing any necessary dependencies,

How to Upgrade Magento 2.1 Version to Magento 2.4.6 version

In this blog post, Upgrading Magento from version 2.1 to 2.4.6 involves several steps, including updating the codebase, installing any necessary dependencies, migrating data, and adjusting configurations. Heres an overview of the process.

The latest version features are:

  • Page Builder
  • Declarative schema
  • Asynchronous and Bulk Web API
  • Multi-Source Inventory
  • WYSIWYG Editor Upgrade
  • Cache Management ACL
  • Google reCAPTCHA and Two Factor Authentication
Table Of Contents
  1. Step 1: Check Your Requirements
  2. Step 2: Backup Data
  3. Step 3: Install Elasticsearch
  4. Step 4: Check Third-Party Extension Compatibility
  5. Step 5: Upgrade

Step 1: Check Your Requirements

Check whether your system will support the latest version or not by clicking the below link

Requirements
TechnologiesVersion
Composer2.2
OpenSearch2.5
MySQL8.0
RabbitMQ3.9
Varnish7.1
nginx1.22
AWS MQ3.9.16
AWS OpenSearch1.2
Elasticsearch8.4, 7.17
MariaDB10.6
PHP8.1, 8.2
Redis7.0
Apache2.4
AWS Aurora (MySQL)8.0
AWS ElastiCache Redis6.2

Step 2: Backup Data

Before upgrading to the latest version, You must make a backup of your website.

Step 3: Install Elasticsearch

The latest version needs Elasticsearch, you can install it by the following method if your server is a Linux server.

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-x.x-x86_64.rpmsudo rpm --install elasticsearch-x.x-x86_64.rpm

If your server is a Windows server, you canDownload Elasticsearch.

Step 4: Check Third-Party Extension Compatibility

Once installed, check all your third-party extensions that will support the latest Magento version.

Step 5: Upgrade

Enabling the maintenance mode.

php bin/magento maintenance:enable

Then run upgrade commands.

composer require magento/composer-root-update-plugin ~2.0 --no-update composer updatephp bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f php bin/magento setup:di:compilephp bin/magento maintenance:disable

If the site will not be visible, check for folder/file permissions and set the regarding file permissions as shown below.

chmod -R 777 pub var

And run the commands for clearing the cache and reindexing.

php bin/magento cache:flush php bin/magento indexer:reindex

This Blog is Originally Published by ?www.amigoways.com/blog/how-to-upgrade-magento-2-1-to-magento-2-4-6

Comments