Legacy Knowledge Base
Published Jul. 2, 2025

[LES] Issues reinstalling Liferay Connector to X-Pack Security

Written By

Phil Chapman

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • I'm having issues reinstalling X-Pack Security
  • How do I reinstall X-Pack Security?

Environment

  • DXP 7.2   
  • DXP 7.1   
  • DXP 7.0 + Fix Pack 54 onwards (de-54)

Resolution

To Install

  • Add Liferay Connector to X-Pack Security [Elastic Stack 6.x].lpkg to deploy folder here: ${liferay.home/deploy}
  • Start Server and load to ready state
    (Log Output: The portal instance needs to be restarted to complete the installation)
  • Restart Server to complete X-Pack Security installation
  • Navigate to Control Panel > Configuration > System Settings > Search: X-Pack

    1.png 

  • Go to Control Panel > Apps > App Manager > Search term: x-pack
    Status: Active (see below)

    2.png


    To Reinstall


  • Inside App Manager, select Uninstall from the options button (3 dots)

    6.png

    We now see Status: Uninstalled (below)

    4.png
    Setting the Status to 'Uninstalled' will cause an entry to be populated in the Bundle Blacklist
    This can be verified at this location: Control Panel > Configuration > System Settings > (Search term: Blacklist) > Module Container > Bundle Blacklist

    com.liferay.portal.search.elasticsearch6.xpack.security.impl
    33.png
  • Shutdown Server
  • Remove Liferay Connector to X-Pack Security [Elastic Stack 6.x] - Impl.lpkg from ${liferay.home}/osgi/marketplace
  • Delete the state folder from ${liferay.home/osgi/state}
  • Restart Server
  • Delete entry com.liferay.portal.search.elasticsearch6.xpack.security.impl from Bundle Blacklist and press Update
  • Restart Server (X-Pack is now removed)
  • Redeploy com.liferay.portal.search.elasticsearch6.xpack.security.impl in ${liferay.home}/osgi/marketplace
    (Log Output: INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:261] Processing Liferay Connector to X-Pack Security [Elastic Stack 6.x].lpkg)
  • Restart Server to complete installation process

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base