Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

IndexingSynchronizationService tries to connect to Elasticsearch even though it's disabled

stefan_drzazga August 14, 2019

Hi.

We are running Bitbucket Server 6.5.1 as a docker container (https://hub.docker.com/r/atlassian/bitbucket-server).

The container is configured NOT to start Elasticsearch in the container: ELASTICSEARCH_ENABLED: false

 

The reason we set ELASTICSEARCH_ENABLED although not running an external Elastic or a Datacenter version is that we saw Elasticsearch related exceptions in the log and tried to disable it. This was at least the intent.

 

However, we get the following warnings in the log:

2019-08-14&nbsp08:48:49,374&nbspWARN&nbsp&nbsp[Caesium-1-1]&nbsp&nbspc.a.b.i.s.i.IndexingSynchronizationService&nbspUnable&nbspto&nbspestablish&nbspa&nbspconnection&nbspto&nbspElasticsearch&nbspduring&nbspindex&nbspsynchronisation.

 

Can anyone give a hint on how to disable it?

 

Thanks in advance!

 

 

1 answer

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 14, 2019

Hi Stefan,

You can add the plugin.search.codesearch.indexing.enabled=false parameter to bitbucket.properties to disable the indexing.

Cheers,

Christian

Premier Support Engineer

Atlassian

stefan_drzazga August 14, 2019

Hello Christian.

Thank you for your fast reply!

Is there a way to configure the docker image when starting it as a container or is this file the only way?

Thank you!

 

Kind regards,

Stefan

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events