How To Upgrade Magento 2.1 To Magento 2.4.6 - Amigoways

by Amigoways Technologies Pvt Ltd on May 13, 2023 Internet Business 348 Views

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. Here’s 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
Technologies Version
Composer 2.2
OpenSearch 2.5
MySQL 8.0
RabbitMQ 3.9
Varnish 7.1
nginx 1.22
AWS MQ 3.9.16
AWS OpenSearch 1.2
Elasticsearch 8.4, 7.17
MariaDB 10.6
PHP 8.1, 8.2
Redis 7.0
Apache 2.4
AWS Aurora (MySQL) 8.0
AWS ElastiCache Redis 6.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.rpm 

sudo rpm --install elasticsearch-x.x-x86_64.rpm

If your server is a Windows server, you can Download 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 update 

php bin/magento setup:upgrade 
php bin/magento setup:static-content:deploy -f 
php bin/magento setup:di:compile 

php 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

magento 2 upgrade guides, magento 2 upgrade tips, magento 2 version blog, magento upgrade blog

Article source: https://article-realm.com/article/Internet-Business/44508-How-To-Upgrade-Magento-2-1-To-Magento-2-4-6-Amigoways.html

Comments

No comments have been left here yet. Be the first who will do it.
Safety

captchaPlease input letters you see on the image.
Click on image to redraw.

Reviews

Guest

Overall Rating:

Statistics

Members
Members: 17294
Publishing
Articles: 80,064
Categories: 202
Online
Active Users: 3209
Members: 0
Guests: 3209
Bots: 16425
Visits last 24h (live): 6545
Visits last 24h (bots): 32968

Latest Comments

I really loved reading your blog. It was very well authored and easy to undertand. Unlike additional blogs I have read which are really not tht good. I also found your posts very interesting. In...
I appreciate the way this content avoids unnecessary fluff. It’s straightforward and to the point while still offering depth. That economy of words without sacrificing meaning is a true skill...
Very good points you wrote here..Great stuff...I think you've made some truly interesting points.Keep up the good work.  베트맨 도메인 주소    
Good to become visiting your weblog again, it has been months for me. Nicely this article that i've been waited for so long. I will need this post to total my assignment in the college, and it has...
What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much. 판타스틱벳  
 I can’t believe focusing long enough to research; much less write this kind of article. You’ve outdone yourself with this material without a doubt. It is one of the greatest contents. 뽀빠이벳  
Wonderful blog! I found it while surfing around on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there!...
Very nice article. I enjoyed reading your post. very nice share. I want to twit this to my followers. Thanks !. 텐텐벳 주소  
Finding your account information is even easier shopping at Target! Sign in securely to Target Red Card Login to see your recent transactions, payments, and card activity.   
on Nov 14, 2026 about How To Succeed At Internet Marketing
This article offers practical advice on moving blankets and accessories. Understanding how plastic wraps and moving straps enhance protection is key. For those tricky moves, like downhill with...

Translate To: