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.