Unable to use code search on Bitbucket Data Center due to c.a.b.s.i.i.IndexingSynchronizationService Unable to establish a connection to Elasticsearch.

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

要約

問題

The code search functionality does not work at all in Bitbucket Server, and the following appears in the atlassian-bitbucket.log file.

INFO [Caesium-1-1] c.a.b.s.i.i.jobs.StartupChecksJob Attempting provisioning in startup job INFO [Caesium-1-1] c.a.b.s.i.i.jobs.StartupChecksJob Running startup jobs for search ERROR [Caesium-1-1] c.a.b.s.i.i.IndexingSynchronizationService Unable to establish a connection to Elasticsearch. WARN [Caesium-1-1] c.a.b.s.i.cluster.ClusterJobRunner Job execution failed. Rescheduling. Job key: com.atlassian.bitbucket.search.internal.indexing.jobs.StartupChecksJob Job id: faf44142-3a7f-42c9-b840-4267101ea9b6

診断

環境

  • Bitbucket Data Center is installed

  • The bundled Elasticsearch is connected

原因

This is caused by using the bundled Elasticsearch on Bitbucket Data Center.

ソリューション

ソリューション

It's necessary to install and configure a remote Elasticsearch instance. Please refer to this documentation in order to configure a new remote Elasticsearch instance.

更新日時: September 26, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。