In new version bitbucket ( 5.2.2)
Start scritp is - start-bitbucket.sh
And when embeded elasticsearch not running you can't execute search on web-page. (Server Busy)
But you can run one manualy by script - _start-search.sh
(in bin directory)
But, before set several enviroments
* (dir where your executed scripts like _start-search.sh)
* (dir where installed your bitbucket version)
* (dir home, where stored all data, for example elastisearch settings too /home/bitbucket/data/shared/search/elasticsearch.yml)
and then execute
#If you run your bitbucket server by root
#You can add in script _start-search.sh
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
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:
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, startup.sh and start-bitbucket.sh.
The script we use is startup.sh, 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 ?
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot