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

Customize lead qualification for a seamless experience

Spread the love When the 2024 Release Wave 2 was launched,

Create a Custom Console Command in Spryker

Spread the love In Spryker, developers can create custom

SALESFORCE

Spread the love Salesforce is a cloud-based software

CRUD Operation in Spryker Backoffice with a Custom Module

Spread the love Spryker is a highly flexible and modular

How to create custom module on Spryker for Backoffice?

Spread the love Creating a custom module in Spryker

How to Install Spryker Project with Docker on Local Machine

Spread the love Spryker is a flexible and scalable commerce

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

bluethinkinc Blogs