Legacy Knowledge Base
公開されました Jul. 2, 2025

外部 Elasticsearch サーバーが利用できず、コントロール パネルにアクセスできない

Written By

Michael Warren Young

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.

問題

  • Liferay DXP 用に構成された外部 Elasticsearch サーバーは使用できなくなりました
  • コントロール パネルが で、「キー {companyId=0, groupKey=Guest} を持つグループが存在しません」という空白のページが表示されるため、Liferay は組み込みの Elasticsearch サーバーを使用するように設定できません

Environment

  • Liferay DXP
  • 外部 Elasticsearch サーバー

解決策

  • この問題を回避するには、Elasticsearch 構成ファイルを使用できます。 このファイルはデフォルトで次のようになります:
    • Elasticsearch 2.x (DXP 7.0)
      • [LIFERAY_HOME]/osgi/configs/com.liferay.portal.search.elasticsearch.configuration.ElasticsearchConfiguration.config
    • Elasticsearch 6.x (DXP 7.0, 7.1 or 7.2)
      • [LIFERAY_HOME]/osgi/configs/com.liferay.portal.search.elasticsearch6.configuration.ElasticsearchConfiguration.config
    • Elasticsearch 7.x (DXP 7.2, 7.3 or 7.4)
      • [LIFERAY_HOME]/osgi/configs/com.liferay.portal.search.elasticsearch7.configuration.ElasticsearchConfiguration.config 
  • 下記の設定を REMOTE から EMBEDDED に戻すことで、Embedded Elasticsearch に切り替えることができます:

    operationMode="EMBEDDED"

  • ファイルがまだ存在しない場合は、作成して operationMode 構成を EMBEDDED に設定できます。

  • これらの変更が行われると、Liferay は再起動後に Embedded Elasticsearch サーバーに戻るはずです。

 

 

Did this article resolve your issue ?

Legacy Knowledge Base