The installer for Linux does not copy the contents of BITBUCKET_INSTALL/elasticsearch/config-template into BITBUCKET_HOME/shared/search which results in Elasticsearch running but listening on port 9200 and not 7992 that we expect.
- Linux using the bin installer
Install Bitbucket Server as root on a Linux machine without the atlbitbucket user account, and select Install as a service: Yes.
BITBUCKET_HOME/shared/search contains the following files:
BITBUCKET_HOME/shared/search does not contain the required yml files.
The <Bitbucket Installation directory>/.install4j/installation.log contains a message of the form:
The instance launches normally, but all code and repository search functionality doesn't work. On the Administration >> Server settings page the Search settings show a blank username and password.
- Copy the files from BITBUCKET_INSTALL/elasticsearch/config-template folder to BITBUCKET_HOME/shared/search
- Restart Elasticsearch