How to download and use the Upgrade Compatibility Tool

Blog
Spread the love

Whenever we want to upgrade Magento Store then we need to find out how many errors can be occured in upgraded version.

Upgrade Compatibility Tool is a tool to find out errors, warnings and critical error in Magento2. It has feature to see error in deiffrent formate like json and html.

Adobe recommend to install this tool in current project but we can install it anywhere we want.

Requirements:

php 7.4 or later

Adobe commerce(Enterprise Edition) access keys

To get started with the Upgrade Compatibility Tool in a command-line interface, download it by running the following command on root:

$ composer create-project magento/upgrade-compatibility-tool uct –repository https://repo.magento.com

username: public_key

password: private_key

check auth.json in project root for public_key and private_key

after install Upgrade Compatibility Tool (UCT )

RUN:

$ chmod +x ./uct/bin/uct

//You may need to give the tool executable permissions with the chmod command

$ cd uct

Command runs the Upgrade Compatibility Tool by analyzing all modules installed in it: analyses errors, warnings and critical errors in instance.

Check https://experienceleague.adobe.com/docs/commerce-operations/upgrade-guide/upgrade-compatibility-tool/error-messages.html for a detailed list of Upgrade Compatibility Tool errors.

$ bin/uct upgrade:check /var/www/html/[magento-dir] -c 2.4.5

To analyse a certain module run below command by using -m option

$ bin/uct upgrade:check /var/www/html/[magento-dir] -m /var/www/html/[magento-dir]/[module-path]

To get only critical errors and when you want only new issues that are introduced with the update from your current version to the targeted version in your Upgrade Compatibility Tool report:

$ bin/uct upgrade:check –ignore-current-version-compatibility-issues

For More understanding and refrence :

https://experienceleague.adobe.com/docs/commerce-operations/upgrade-guide/upgrade-compatibility-tool/use-upgrade-compatibility-tool/run.html

bluethinkinc_blog

bluethinkinc_blog

2022-11-24

0

Leave a Reply

Your email address will not be published. Required fields are marked *

Find More Blogs

How to Add a Custom Tab to the Customer Order Detail Page in Magento 2

Spread the love Adding a custom tab to the Order Detail

Exception Handling in Java

Spread the love Introduction – Exception:An unwanted

How to add custom less file in Magento2

Spread the love Source files *.css included into layout

Spring Boot Microservices

Spread the love Microservices architecture has become

Implementation of WireMock for better testing

Spread the love WireMock is a flexible and powerful tool

Magento 2: How to selected default option in configurable options?

Spread the love Configurable products in Magento 2 allow

How To Implement Simple JWT Authentication in Django Rest Framework

Spread the love We’ll learn how to use simple JWT

Optimizing Search: Integrating Elasticsearch in Django Applications

Spread the love What is Elasticsearch? Elasticsearch is a

How to create Customer Segments

Spread the love In Magento 2, “customer

Proxy Design Pattern and Requisition List in Magento 2

Spread the love Requisition List in Magento 2 Requisition

bluethinkinc Blogs