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

起動時にインデックスにアクセスすると、[HTTP/1.1 404 Not Found]となる可能性がある。

written-by

Dávid Hegedüs

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

問題

  • Liferayが以前のバージョンでは異なる名前だった特定のインデックスにアクセスしようとする動作に遭遇するかもしれません。
  • 通常、これは何の問題も引き起こさないが、ESのインストールに特定の制限があるため、以下のようなエラーが発生する可能性がある:
ERROR [main][RankingIndexCreationBundleActivator:56] bundle com.liferay.portal.search.tuning.rankings.web:3.0.57 (474)[com.liferay.portal.search.tuning.rankings.web.internal.index.creation.activator.RankingIndexCreationBundleActivator(7573)] : The activate method has thrown an exception
java.lang.RuntimeException: org.elasticsearch.ElasticsearchStatusException: ElasticsearchStatusException[method [HEAD], host [http://127.0.0.1:9201], URI [/liferay-search-tuning-rankings?include_type_name=true], status line [HTTP/1.1 403 Forbidden]]; nested: ResponseException[method [HEAD], host [http://127.0.0.1:9201], URI [/liferay-search-tuning-rankings?include_type_name=true], status line [HTTP/1.1 403 Forbidden]];
at org.elasticsearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:2458) ~[?:?]
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:2184) ~[?:?]
at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:2137) ~[?:?]
at org.elasticsearch.client.IndicesClient.exists(IndicesClient.java:1321) ~[?:?]

Environment

  • Liferay DXP 7.2 SP3/FP8+

解決策

  • このエラーメッセージは、通常は何の問題も引き起こさないので、無視しても差し支えない。
  • あるいは、古いインデックス名のユーザーにアクセス権を与えることで回避することもできる。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base