I created this BitBucket server and when started it does show that the elasticsearch started, see below logs,
Starting Atlassian Bitbucket as the current user
Starting bundled Elasticsearch
Hint: Run start-bitbucket.sh --no-search to skip starting Elasticsearch
Bundled Elasticsearch started successfully
The output shows that the elasticsearch started when bitbucket service was started.
But I am not able to test the connection. Even when I do (ps -ef | grep bitbucket ) I do not see any service running for elasticsearch.
The issue was, I was starting the server with root user, for some reason the root user prevents the starting on elastic cache. I switched to the recommended user and the elastic search service started on its own.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.