Issue
- In some circumstances, users are unable to install the hotfix in their environment. The cause is often due to the incompatibility of the patching tool version. Sometimes, users receive the following error line:
Problem occurred during the parsing of the hotfix:
com.liferay.tools.patching.exceptions.PatchFileStructureException: Could not find hotfix.json or hotfix.sign
Environment
- Liferay DXP [7.1 - 7.4]
Resolution
- To handle this error, check the version of the Patching Tool.
- The patching tool 4.x is the required tool for the Quarterly Releases (2023.q3.1, 2023.q3.2, ...) only, and it is not backward-compatible.
- For DXP 7.4 updates, the latest compatible version of the Patching Tool is 3.0.38.
Additional Information
-
Patching-Tool-4-0-1
- Unable-to-revert-hotfix
- Reverting-a-hotfix-while-keeping-your-existing-Fix-Pack
- It is recommended that while performing any patch, hotfix, infra modifications, or property changes after stopping the DXP server and before restarting it, clear all temp directories from liferay_home.