It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
We want update from BB DC to 4.0.4 to BB DC 4.8.6. We found inside of the documentation that BB DC 4.6+ comes with a new feature "elasticsearch".
Is it required to install elasticsearch or is it an optional feature which can be activated later?
Hi Thomas,
Elasticsearch is required in the sense that any search in Bitbucket Server (for repositories or code in those repositories) will not work unless Elasticsearch is installed and configured. If it's not, an error will be displayed to users when they try to search for repositories or code.
Best regards,
Christian
Premier Support Engineer
Atlassian
Thanks for this quick answer. But the installation chapter https://confluence.atlassian.com/bitbucketserver/install-and-configure-a-remote-elasticsearch-instance-815577748.html Is not very useful.
I do all the steps but the permission looks wrong. Which user/group must be assigned to the *elasticsearch* installation directory and its installed files?
/usr/share/elasticsearch/...
where must the folder /config/buckler
created? I do it like this
/usr/share/elasticsearch/config/buckler
as descibed inside of the document.
The logging output brings [2016-11-09 14:06:49,495][WARN ][com.atlassian.elasticsearch.buckler.config.BucklerConfig] Buckler config file missing, tried path: /etc/elasticsearch/buckler/buckler.yml
How can I tested that elasticsearch works well?
Hi Thomas,
For Bitbucket Data Center we don't bundle Elasticsearch with Bitbucket Server itself, and as such we're unfortunately not in a position to be able to provide instructions or advice on how to install and configure it. You can refer to the Elasticsearch documentation for details on how to install, set up and configure the product.
Cheers,
Christian
Premier Support Engineer
Atlassian
Hi Christan,
I understand your arguments, but elasticsearch provides only documenation for the newest version 5.0. We must install Version 2.3.4.
The Bitbucket interface definition inside of bitbucket.properties
#Connect your Elasticsearch instance to Bitbucket Server
plugin.search.elasticsearch.baseurl=http://localhost:9200/
plugin.search.elasticsearch.username=which user must named here ?
plugin.search.elasticsearch.password=is it PW of the application or the user?
is this all on the BB DC side?
Hi Thomas,
Elastic still provides documentation for version 2.3 at https://www.elastic.co/guide/en/elasticsearch/reference/2.3/setup.html.
From an architectural perspective Bitbucket Server pushes the data to Elasticsearch, so all you need to do is tell Bitbucket Server where the Elasticsearch server is located and what the credentials are that it should use to access it, and that's what you do in the bitbucket.properties
file. The credentials to use are the ones you specify/create in the process of setting up Elasticsearch.
Cheers,
Christian
Premier Support Engineer
Atlassian
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreBitbucket 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 ...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.