Summary
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.
Environment
- Linux using the bin installer
Steps to Reproduce
Install Bitbucket Server as root on a Linux machine without the atlbitbucket user account, and select Install as a service: Yes.
Expected Results
BITBUCKET_HOME/shared/search contains the following files:
├── buckler │ └── buckler.yml ├── elasticsearch.yml └── logging.yml
Actual Results
BITBUCKET_HOME/shared/search does not contain the required yml files.
The <Bitbucket Installation directory>/.install4j/installation.log contains a message of the form:
[ERROR] com.install4j.runtime.installer.helper.launching.LaunchHelper: return value is 1 [INFO] com.install4j.runtime.installer.helper.launching.LaunchHelper: stdout output was empty stderr output: ---BEGIN--- su: user atlbitbucket does not exist ---END---
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.
Workaround
- Copy the files from BITBUCKET_INSTALL/elasticsearch/config-template folder to BITBUCKET_HOME/shared/search
- Restart Elasticsearch
[BSERV-9056] Installer does not copy Elasticsearch configuration into BITBUCKET_HOME/shared/search
Remote Link | Original: This issue links to "Page (Atlassian Documentation)" [ 198459 ] |
Workflow | Original: Stash Workflow - Restricted [ 1587805 ] | New: JAC Bug Workflow v3 [ 3136973 ] |
Symptom Severity | Original: Minor [ 14432 ] | New: Severity 3 - Minor [ 15832 ] |
Remote Link | Original: This issue links to "Page (Extranet)" [ 198792 ] |
Remote Link | New: This issue links to "Page (Atlassian Documentation)" [ 268842 ] |
Remote Link | Original: This issue links to "Page (Atlassian Documentation)" [ 198459 ] | New: This issue links to "Page (Atlassian Documentation)" [ 198459 ] |
Remote Link | Original: This issue links to "Page (Atlassian Documentation)" [ 198459 ] | New: This issue links to "Page (Atlassian Documentation)" [ 198459 ] |
Remote Link | Original: This issue links to "Page (Atlassian Documentation)" [ 198459 ] | New: This issue links to "Page (Atlassian Documentation)" [ 198459 ] |
Remote Link | Original: This issue links to "Page (Atlassian Documentation)" [ 198459 ] | New: This issue links to "Page (Atlassian Documentation)" [ 198459 ] |
Remote Link | Original: This issue links to "Page (Atlassian Documentation)" [ 198459 ] | New: This issue links to "Page (Atlassian Documentation)" [ 198459 ] |