Upgradation Process to Liferay 7.2
In order to upgrade your Liferay version, you need to follow some steps, and after completing those steps, your portal will be upgraded with the latest Liferay version 7.1 or 7.2 whichever you have chosen. So, simply follow these steps to upgrade your Liferay version.
Step 1: Migrate to Algorithm 6
If you are using the Liferay algorithm between 1 to 5, you must upgrade your system to Liferay Algorithm 6. This is the first step towards upgrading to Liferay DXP 7.1 or 7.2. So, just migrate to Algorithm 6 if you want to upgrade your Liferay portal. Then, you can upgrade your system to Liferay DXP 7.1 or 7.2.
Step 2: Find and remove duplicate field names
If there are duplicate field names in your system then the update will be failed. So, make sure there are no duplicate field names in your system. IN order to identify such structures, there is a script that you can use.
For Liferay 6.0
For Liferay 6.1
For Liferay 6.2
From upon links, you can identify such structures with duplicate field names, and you have to immediately remove the duplicate file names, and you are good to go for the next step.
Step 3: Image Gallery Images Migration
Migrate your Image Gallery first, then you can proceed further for upgrading your Liferay version. If you are running on Liferay 6.0, then you could’ve used DatabaseHook, DLHook, or FileSystemHook to store your images on the server. Now, you have to set properties in portal-ext.properties. From only one of the following three properties, you need to set only one.
image.hook.impl=com.liferay.portal.image.DatabaseHook
image.hook.impl=com.liferay.portal.image.DLHook
image.hook.impl=com.liferay.portal.image.FileSystemHook
FileSystemHook is used by default, and if you have used any other property, then use that. You have to specify the image root directory as well in your portal-ext.properties file. Here is the default property setting for FileSystemHook which will allow data migration from other Hooks.
image.hook.file.system.root.dir=${liferay.home}/data/images
Step 4: Review the Liferay Properties
You need to review all the Liferay properties before proceeding further for the upgrade. You will need to look at the changed defaults for your Liferay instances which are stored in portal-legacy-[version].properties file and that file can be found in /WEB-INF/classes folder. If you finding it in the Liferay source code, then it will be available in portal-impl/src folder.
So, you just have to review all the changes and edit them if needed. After confirming all the instance defaults and Liferay properties, and making sure that all of them are correct, you can go ahead with the next step to upgrade your Liferay.
Step 5: List all the installed plugins
You need to list out all the installed plugins on your system. Liferay plugins are generally version-specific, so you need to check if the same plugin is available for the version you are upgrading to or not. If the same plugin is available for the new version, then it’s perfect, and if it isn’t available you might have to find an alternative plugin for that or stop using that plugin if it is not available for the newer version.
So, list out all the plugins, check the availability of those plugins for the newer Liferay version and after arranging alternative things for the unavailable plugins, you can go further for the next step towards upgrading Liferay version.
Step 6: Start Upgrade
After you are done with all the steps, you are ready to upgrade your Liferay version and ready to use the new and exciting features of the newer Liferay version. But while upgrading your Liferay version, you got two choices:
- Upgrading A Bundle
- Manual Upgrading
You can choose any method you like, and update your Liferay version, and it will be ready to serve your business.
So, this is how you upgrade your Liferay DXP version and be ready to slay the business market by expanding your business worldwide with Liferay DXP 7.1 and 7.2. With Liferay
If you are looking for a Liferay portal, then you can hire Liferay Developers or contact Liferay Consulting company and they will guide you for your next Liferay based project. You can contact us directly and we will get back to you to consult you for Liferay Development for your next project.