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
Community Members
Community Events
Community Groups

Not able to start BItbucket server on centos

java.lang.IllegalStateException: failed to obtain node locks, tried [[/home/bitbucket/Bitbucketsetup/data/shared/search/data]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?
at org.elasticsearch.env.NodeEnvironment.<init>(
at org.elasticsearch.node.Node.<init>(
at org.elasticsearch.node.Node.<init>(
at org.elasticsearch.bootstrap.Bootstrap$5.<init>(
at org.elasticsearch.bootstrap.Bootstrap.setup(
at org.elasticsearch.bootstrap.Bootstrap.init(
at org.elasticsearch.bootstrap.Elasticsearch.init(
at org.elasticsearch.bootstrap.Elasticsearch.execute(
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(
at org.elasticsearch.cli.Command.main(
at org.elasticsearch.bootstrap.Elasticsearch.main(
at org.elasticsearch.bootstrap.Elasticsearch.main(

1 answer

0 votes

Welcome to the community!

This usually means what it says - there's a problem reading and writing the disk for some reason.  Sometimes, this is down to unsuitable storage, or you (as it says) have configured it with too small a disk allowance, but the usual culprit is that the account running Bitbucket does not have the right permission to read/write the directory you have told it to use.

Suggest an answer

Log in or Sign up to answer
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