I have followed link: https://confluence.atlassian.com/bitbucketserverkb/troubleshooting-steps-for-bitbucket-server-code-search-827125334.html
Still cannot find why search doe sot work.
I also get error in log:
2020-04-12 13:10:33,161 DEBUG [http-nio-7990-exec-27] admincm @12ICJYFx790x1055493x0 dw0h6p 15.75.96.202 "POST /rest/search/latest/search HTTP/1.1" c.a.b.i.s.search.rest.SearchResource Connection exception: Connection refused2020-04-12 13:10:33,161 DEBUG [http-nio-7990-exec-27] admincm @12ICJYFx790x1055493x0 dw0h6p 15.75.96.202 "POST /rest/search/latest/search HTTP/1.1" c.atlassian.bitbucket.search.timing Timing: Search request execution took 3.553 ms [3 ms] for query 'XXXX'
Found soution:
https://confluence.atlassian.com/bitbucketserverkb/bundled-elasticsearch-throws-node-validation-exception-after-bitbucket-upgrade-994321463.html
Hi @OkyDoky1971
What version of Elasticsearch are you on?
2.x was still supported on 5.x but not 6.x
https://confluence.atlassian.com/bitbucketserver0516/supported-platforms-966062089.html
https://confluence.atlassian.com/bitbucketserver0610/supported-platforms-989762041.html
CCM
Actually, that error saying connection refused may mean that your elasticsearch service didn’t start correctly. Are you using the bundled elasticsearch or running your own?
Bundled
Glad you got it sorted and great you posted the answer back to the community so others could benefit.
It looks like you're new here. Sign in or register to get started.