This article documents the common configuration errors you may encounter while upgrading to Liferay Digital Experience Platform (DXP), versions 7.0 or 7.1.
Read below to discover the steps you can take to resolve these issues or avoid them altogether.
Resolution
Error: Upgrading to DXP
Summary: Upgrade process from legacy portal versions can fail.
Common Causes
- Permissions Algorithm 6
- Beginning in Liferay Portal 6.2, all previous algorithms have been deprecated.
- Document Storage and Image Storage:
dl.store.impl=andimage.hook.- The Liferay platform changed to
file.system.storebeginning with Liferay Portal, versions 6.1 and 6.2.
- The Liferay platform changed to
- Incorrect Database Connections
Recommended Solution
- Regardless of which portal version the user started upgrading from, it is very important to prepare the new bundle’s
portal-ext.properties. Liferay provides a virtual checklist for upgrading. This is the very short list (for the longer list, read the full dev.liferay.com and KB articles).- Are the database name and connections the same?
- Permissions algorithm is set to 6.
- Document and image store and hooks are to manage the data migration from separate document and image galleries in Portal 6.0 and earlier to the new combined Docs and Media portlet in 6.1 and later.
- Besides the
portal-ext.properties, there might be issues with the JVM, database and application servers. Please ensure that Liferay DXP supports these environments.
Prevention Tips
- For a smooth upgrade process, remember to backup your data before beginning.
- Check the portal.properties and portal-ext.properties. One benefit to upgrading to Liferay DXP is that the upgrade paths are already included in the
portal.propertiesand do not have to be re-written in theportal-ext.properties. - Liferay offers extensive documentation on the upgrade process so please read them before upgrading.
Additional Information
- Upgrading to Liferay Portal 6.2 EE
- Having trouble upgrading? Please reference our Liferay DXP Whitepapers, particularly Upgrading to Liferay DXP.
- Liferay Global Services (LGS) can provide a variety of solutions to fit your needs. Please contact LGS for a free consultation.