Elasticsearch error "ElasticsearchClientNotConfiguredException"


I recently installed Bitbucket Server 5.7 on my Linux/Debian8 system.


The problem is now that I can't get Elasticsearch working.

The atlassian-bitbucket.log contains this error:



Is there a way to configure Elasticsearch after the installation of Bitbucket? Or what else could cause this error?


Kind Regards,


1 answer

0 vote

Hi Benjamin! Apologies for the delayed reply, are you still experiencing this issue? There should be no additional configuration needed for the bundled Elasticsearch. After install, Elasticsearch should start first and then Bitbucket Server. 

The issue you're experiencing in this case could be due to the configuration of Bitbucket Server, or inputting the incorrect URL. We may need a support zip

Please follow the diagnostic steps at https://confluence.atlassian.com/bitbucketserverkb/troubleshooting-steps-for-bitbucket-server-code-search-827125334.html so you can gather and provide more details on the nature of the issue.

Let us know how it goes!




indeed I solved this problem on my own with reinstalling bitbucket. It seems that I have destroyed something upon the first installation. 


Thank you anyway for your response.


Kind Regards,


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,755 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you