When attempting to install patches with the Patching-Tool Install command, an error message is generated, which states:
Running install would revert some of the previous fixes. Installation process is stopped.
Resolution
The patching-tool generates this warning to indicate that there are patches currently installed which are not present in the patches folder. Continuing with the patch installation will result in these missing patches being uninstalled from the current environment. To resolve this issue:
- Run patching-tool info
- Asses the generated output to determine which patches are present in the Currently installed patches list, but not present in the Available patches list.
- Check the patching-tool/patches folder to verify the missing patches are not present
- If the missing patches are fix packs, verify that the fix packs have been replaced by a new fix pack
- If the missing fix packs were not replaced by newer fix packs, download the necessary fix packs from Customer Portal
- Place the missing fix packs in the patching-tool/patches folder
- Run the patching-tool info command again
- If the, WARNING: Some of the currently installed fixes are not available, message is no longer present, please run patching-tool install
- If the difference between the list of current and available patches involves a hotfix rather than a fix pack, please open a Help Center ticket and include the patching-tool info output.
Example
The example below shows that most of the available patches superseded the currently installed patches. However, two fix packs are currently installed which are not present in the Available patches list: development-3-6130 and misc-2-6130.
Loading product and patch information... Product information: * installation type: binary * build number: 6130 * patching-tool version: 14 * plugins: no plugins detected
Currently installed patches: administration-2-6130 asset-framework-7-6130 business-productivity-1-6130 collaboration-6-6130 development-3-6130 document-management-8-6130 dynamic-data-lists-5-6130 misc-2-6130 platform-15-6130 search-2-6130 user-interface-6-6130 wcm-core-10-6130 web-content-9-6130
Available patches: dynamic-data-lists-6-6130 business-productivity-2-6130 collaboration-7-6130 platform-19-6130 search-3-6130 document-management-10-6130 wcm-core-11-6130 user-interface-8-6130, web-content-10-6130 administration-4-6130 asset-framework-9-6130
Detailed patch list: [ I] dynamic-data-lists-6-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] business-productivity-2-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] collaboration-7-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] platform-19-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] search-3-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] document-management-10-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] wcm-core-11-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] user-interface-8-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] web-content-10-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] administration-4-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] asset-framework-9-6130 :: Currently not installed; Will be installed. :: Built for Liferay WARNING: some of the currently installed fixes are not available: * LPE-10619 * LPE-9573 * LPE-9578 * LPE-9547 * LPE-9285 * LPE-11244 * LPE-10190 * LPE-11312 * LPE-10360
Using this example, placing development-3-6130 and misc-2-6130 or newer fix packs in the patching-tool/patches folder will allow the patch installation to continue.
patching-tool.bat info Loading product and patch information... Product information: * installation type: binary * build number: 6130 * patching-tool version: 14 * plugins: Marketplace EE Portlet, Portal Compatibility EE Hook
Currently installed patches: administration-2-6130 asset-framework-7-6130 business-productivity-1-6130 collaboration-6-6130 development-3-6130 document-management-8-6130 dynamic-data-lists-5-6130 misc-2-6130 platform-15-6130 search-2-6130 user-interface-6-6130 wcm-core-9-6130 web-content-9-6130
Available patches: development-3-6130 misc-2-6130 dynamic-data-lists-6-6130 business-productivity-2-6130 collaboration-7-6130 platform-19-6130 search-3-6130 document-management-10-6130 wcm-core-11-6130 user-interface-8-6130 web-content-10-6130 administration-4-6130 asset-framework-9-6130
Detailed patch list: [*I] development-3-6130 :: Installed; Will be installed. :: Built for Liferay [*I] misc-2-6130 :: Installed; Will be installed. :: Built for Liferay [ I] dynamic-data-lists-6-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] business-productivity-2-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] collaboration-7-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] platform-19-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] search-3-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] document-management-10-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] wcm-core-11-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] user-interface-8-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] web-content-10-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] administration-4-6130 :: Currently not installed; Will be installed. :: Built for Liferay [ I] asset-framework-9-6130 :: Currently not installed; Will be installed. :: Built for Liferay
State description: *: Installed I: Can be installed. -: An improved version of the patch is available, this one won't be installed. D: Same issues were fixed in another patch, this one is ignored x: Patch dependencies are not met, patch won't be installed o: Patch is incompatible with another one s: Source code is not available in the patch