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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.