Legacy Knowledge Base
Published Jun. 30, 2025

Reverting a hotfix while keeping your existing Fix Pack

Written By

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • When it is necessary to install a new hotfix in the affected environment, the following command needs to be run: 
    • ./patching-tool.sh revert (Linux) or patching-tool.bat revert (Windows)
  • The concern here is that by attempting to run the above command, all patches are removed from the patches folder, and sometimes it will return to a base level, making it difficult for users to run the upgrade again to obtain the required fix pack and then install hotfixes.  

Environment

  • Liferay DXP [all versions]

Resolution

  • To handle this situation, please run the following command in the relevant environment:
    ./patching-tool.sh revert -hotfix (Linux)
    patching-tool.bat revert -hotfix (Windows)

Additional Information

  • Unable to revert hotfix
  • Important: Be sure to back up your Liferay DXP installation and database regularly, especially before patching.
Did this article resolve your issue ?

Legacy Knowledge Base