Issue
It was discovered that older versions of the Elasticsearch plugin can interfere whenever administrators are deploying the latest version. The use case: Administrators are deploying the latest Elasticsearch 6.1 connector to replace the existing 2.x connector that ships with Liferay DXP 7.0.
Environment
- Elasticsearch 6.1
- DXP 7.0
Resolution
- Stop all Elasticsearch 2.x servers.
- Before shutting down Liferay DXP, navigate to Control Panel → Apps → App Manager.
- Search for Elasticsearch.
- Click Edit → Deactivate. This leaves the bundle installed but stops the OSGi runtime. Alternately, administrators can blacklist Elasticsearch 2.x in a
config
file just in case it is necessary to revert to the older version. As best practices, delete the older version once the upgrade is complete. - Shut down all Liferay Instances.
- Install the Elastic 6.1 connector from Liferay Marketplace. Also note that DXP 7.0 Fix Pack 42 or higher is required.
- Start Liferay DXP again then place the
.LPKG
in the/deploy
folder. - Once the DXP instance has started, execute a re-index
Additional Information
Subscriber Exclusive Content
A Liferay Enterprise Subscription provides access to over 1,500 articles that include best practices, troubleshooting, and other valuable solutions. Sign in for full access.
Sign In