legacy-knowledge-base
公開されました Jun. 30, 2025

アップグレード後にElasticsearchが動作しない

written-by

Debora Vita

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

問題

  • アップグレードを行った後、Elasticsearchでいくつかのエラーが発生していることに気づきました:
    2023-11-28 13:27:54.223 ERROR [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'][ElasticsearchConnectionManager:73] Elasticsearch sidecar could not be started. Search will be unavailable. Manual installation of Elasticsearch and activation of remote mode is recommended.

    java.lang.RuntimeException: java.io.IOException: Connection reset by peer

    at com.liferay.portal.search.elasticsearch7.internal.sidecar.ElasticsearchInstaller.install(ElasticsearchInstaller.java:62)

    at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar._installElasticsearchIfNeeded(Sidecar.java:595)

    at com.liferay.portal.search.elasticsearch7.internal.sidecar.Sidecar.start(Sidecar.java:97)

環境

  • DXP 7.3

解像度

  • リモートの Elasticsearch を設定済みかどうか確認してください。 検索エンジンとの接続がまったくない場合、Liferayポータルはうまく機能しません(起動しないこともあります)。 Liferay 7.3バンドル(サイドカーがアクティブ)を起動した後、システム設定 > 検索 > Elasticsearch 7 に移動することで、リモートのElasticsearchに切り替えることができます。
  • また、(.configファイルで)起動時にリモートのElasticsearch接続を設定することもできます。 添付ファイルのように、ElasticsearchConnector の設定ファイルを REMOTE に設定してデプロイすることで実現できます。 osgi/configsフォルダに直接置くことができる。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base