3. Uninstalling UPS Shipping and UPS Access Point®: Official Extension
Begin the uninstallation process by accessing the Installed Extensions section in Magento 2.x and selecting the uninstall option.
Step-by-Step Guide
Guide to Uninstalling UPS Extensions in Magento 2.x
This article provides a detailed guide for uninstalling the UPS Shipping and UPS Access Point® official extension from Magento 2.x. It covers both the standard uninstallation process through the Magento admin panel and a manual method via SSH for advanced users.
Uninstall via Installed Extensions
Navigate to the Installed Extensions section in your Magento admin panel. From the Actions list, click on Uninstall as shown in the figure. This initiates the uninstallation process for the UPS extension.
Proceed with Readiness Check
After selecting Uninstall, proceed to the Readiness Check. If any errors are encountered, they must be resolved before continuing. Once all tests pass, click the Next button to proceed to the Backup step.
Create Backup
In the Backup step, select the checkbox for each item you wish to back up. Click Create Backup and wait for the process to complete. Once backups are created, click Next to continue.
Confirm and Uninstall Module
After backups are completed, confirm the uninstallation by clicking the Next button. Finally, click the Uninstall button to remove the UPS shipping module. A success page will display if the uninstallation is successful.
Manual Uninstall via SSH
Connect to your Magento installation via SSH. This method involves disabling the module, removing extension files, recompiling, and optionally cleaning up the database.
Disable the Module
Use SSH to connect to the root of your Magento installation. Execute the necessary commands to disable the UPS module, ensuring it is no longer active.
Remove Extension Files
Navigate through the file structure to locate and remove all files related to the UPS extension. This step is crucial to ensure all components of the extension are fully removed.
Recompile Magento
After removing the extension files, recompile Magento to ensure the system recognizes the changes. This step helps in maintaining system stability and performance.
Clean Up Database (Optional)
To completely remove all traces of the UPS module, delete all UPS-related tables and configurations from the database. This includes tables prefixed with ups_shipping_ and configurations in core_config_data.