Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Elastic search indexing fails with: Failed to recreate index

Bitbucket fails to create index on elastic search. We're using elastic search 7.1.1.

We're aware that atlassian does not recommend elastic search above 6.5.3, but we have a hard limit on our elastic search version of 7.0. 

We see that Bitbucket starts and then fails with

2019-06-29 06:14:06,908 ERROR [Caesium-1-2] c.a.b.i.s.i.IndexingSynchronizationService Failed to create indexes: ''[illegal_argument_exception, illegal_argument_exception, illegal_argument_exception, il$
2019-06-29 06:14:06,908 ERROR [Caesium-1-2] c.a.b.i.s.i.IndexingSynchronizationService Unable to synchronize the mapping in Elasticsearch Failed to recreate index: [illegal_argument_exception, illegal_argument_exception, illegal_argument_exception, illegal_argument$
at com.atlassian.scheduler.core.JobLauncher.runJob(


We're using Bitbucket version : 6.3.0


Hey @steven qent 

There are quite a few documented breaking changes In Elasticsearch 7 ( that may be to blame (assuming you’ve validated all your permissions are correct). 

If anyone else has managed to get BB working with ES7, would be interested to know. 


Thank you Craig. I'm certain that between ES6 and ES7 the index isn't compatible. Which is why we're trying to recreate the entire index. We have no permission related issues. 

Was there any resolution to this issue? Having the exact same error show up for Bitbucket 6.9.1 and ElasticSearch 7.5.1

Hi @Chris lerner 

6.9 doesn’t show as a supported ES version yet either. I’ve lodged a premier support ticket to see when newer ES version support will land. Will update when I hear back.



Log in or Sign up to comment
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

4,421 views 12 15
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you