Following
are the steps for install patch in Liferay, Please go through it step
by steps.
Here
PATCHING_TOOL_HOME = Path to the “patching-tool” directory in
your tomcat.
How to do it?- Stop Tomcat.
- Place the patch(.zip file) in the PATCHING_TOOL_HOME/patches/ directory.
- Open command prompt.
- Go to PATCHING_TOOL_HOME directory.
- Give command “patching-tool auto-discovery” for Windows and “./patching-tool.sh auto-discovery” for Linux.
- Check that default.properties file will be created in PATCHING_TOOL_HOMEdirectory.
- Give command “patching-tool install” for Windows and “./patching-tool.sh install” for Linux.
- Patches will be installed successfully and you will get appropriate message for that.
- Give command “patching-tool info” for Windows and “./patching-tool info” for Linux to know installed patches.
- Start Tomcat.
Note:-For each patch you should have proper patching-tool version otherwise you might face error like"The 'hotfix-440' patch's patching tool version number is higher than the patching tool version number: 2 > 1"From where we can get the patch:-- Login with authorized person credential in lifreray.com
- Go to Places(right corner) > Customer portal > Downloads > Liferay Portal > All Downloads(Patches) > Select version + All patches in Filter type and download appropriate patching-tool zip.
Hope this help.
How to uninstall this installed patch?
ReplyDelete