Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,888
Community Members
 
Community Events
165
Community Groups

Connection attempt failed for Elasticsearch

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. 

Screen Shot 2021-10-21 at 3.40.18 PM.png

1 answer

1 accepted

0 votes
Answer accepted

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,263 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you