Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket Code Search is unable to find results from some or all repositories in Docker Container

Philipp Wieseckel February 23, 2019

I get the error described here : https://confluence.atlassian.com/bitbucketserverkb/bitbucket-code-search-is-unable-to-find-results-from-some-or-all-repositories-858783145.html

just that im running Bitbucket in Docker and the suggested Solutions do not seem to work there.

1 answer

1 accepted

0 votes
Answer accepted
Marty
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 23, 2019

Hi Philipp,

I am not on the Bitbucket team but I will try to help.

When you say you are running Bitbucket in Docker can you elaborate?

Did you follow the steps at https://confluence.atlassian.com/bitbucketserver/install-bitbucket-server-on-linux-868976991.html to create the docker image?

Philipp Wieseckel February 25, 2019

Hi Martyn, i followed the steps from your link.

Although

"curl -u bitbucket -X DELETE http://localhost:7992/bitbucket-search-v1"

does not work.

"curl -u <username> -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' http://<server>:7990/rest/indexing/latest/sync"

did work from inside the container and resolved the problem.

Like Marty likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events