"Current license is non-compliant for [security]" error is shown in the log
written-by
Daniel Mijarra
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
learn-legacy-article-disclaimer-text
Issue
- We tried to restart the Liferay server but the server is not able to start properly, there is an error in the log:
ERROR [localhost-1][com_liferay_portal_search:103] [com.liferay.portal.search.internal.SearchEngineHelperImpl(2659)] The addSearchEngineConfigurator method has thrown an exception
java.lang.IllegalStateException: java.util.concurrent.ExecutionException: RemoteTransportException[[lYEQhgf][cluster:monitor/health]]; nested: ElasticsearchSecurityException[current license is non-compliant for [security]];
Resolution
- The basic Elasticsearch license does not support the Security feature, please check if your current LES subscription is active and if the Elasticsearch license is not expired.
did-this-article-resolve-your-issue