I've been running a BB Server in AWS for a while, and I'd experimented with offloading the elastic search to a different host, but after a while I realized the utilization was ridiculously low.
I re-enabled search in the server image and followed directions for reindexing:
Rebuild the Elasticsearch indexes for Bitbucket Server | Bitbucket Data Center and Server | Atlassian Documentation
Reindex a specific repository for Code Search | Bitbucket Data Center and Server | Atlassian Documentation
despite following both sets of instructions a couple of times and restarting the entire server, it just looks like it isn't bootstrapping the elastic search data:
```
# Identify the repo id
```
and trying
```
$ curl -u bitbucket -X GET http://localhost:7992/bitbucket-index-state/indexstate/1
```
and likewise for all the other repositories.
How can I trigger a re-bootstrap and rebuild of the elastic search index locally in this image?
Hi Oliver,
Go take a look at https://confluence.atlassian.com/bitbucketserverkb/bitbucket-server-code-search-is-unable-to-find-results-from-some-or-all-repositories-858783145.html and see if the instructions there help you get your repos reindexed.
Cheers,
Christian
Premier Support Engineer
Atlassian
Learn why Compass was built to tackle dev experience at scale. See how Atlassian uses it to boost visibility, reduce cognitive load, and drive consistency—plus tips to get started and customize your IDP for stronger team engagement.
Join the webinar ✨Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.