It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

What does the bitbucket error message "Server Busy" mean?

When I search in Bitbucket I get this message:

Server Busy

The server couldn't process your request, please try again later.


What is causing this, and how can we fix it?

6 answers

I am seeing same error with Bitbucket Server setup.


image2016-8-19 9:43:24.png

In new version bitbucket ( 5.2.2)
Start scritp is -
And when embeded elasticsearch not running you can't execute search on web-page. (
Server Busy)

But  you can run one manualy by script -
(in bin directory)
But, before set several enviroments

* (dir where your executed scripts like
* (dir where  installed your bitbucket version)
* (dir home, where stored all data, for example elastisearch settings too /home/bitbucket/data/shared/search/elasticsearch.yml)

export BIN_DIR=/opt/atlassian/bitbucket/5.2.2/bin

export INST_DIR=/opt/atlassian/bitbucket/5.2.2

export BITBUCKET_HOME=/home/bitbucket/data

and then execute 

/bin/bash /opt/atlassian/bitbucket/5.2.2/bin/

#If you run your bitbucket server by root
#You can add in script

su - bitbucket -c ""$ES_DIR/bin/elasticsearch" -d -p "$ES_PID" $ES_DEFAULT_ARGS"


"$ES_DIR/bin/elasticsearch" -d -p "$ES_PID" $ES_DEFAULT_ARGS

We came across this issue, too. 

We are noticing the same error.

Looks like the cause is Elasticsearch service is not running.


Atlassian released Elastic bundled with Bitbucket in 4.6. During upgrade, it seems that if you didn't check the "start up Bitbucket" on the last screen of the atlassian-bitbucket*.exe installer wizard, Elastic will not have been installed as a service properly.

Trying to confirm with Atlassian now that the remedial steps are:

  1. stop Bitbucket
  2. install the Elastic service and make sure it runs automatically
  3. re-start Bitbucket.


Thanks for responding. The reason is Elasticsearch is not running, either. 

We install the Atlassian Bitcucket on Linux machine, and we found that there are two scripts for starting the service, that is, and 

The script we use is, and when dive into the code, there is nothting piece for starting Elasticsearch. 

Does I missing any part of it ? What is the best practice to starting Atlassian services ? 



We are also experiencing this issue.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Mar 14, 2019 in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,002 views 1 16
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you