I updated bitbucket DC from 6.10 to 7.17.3. When I run
su stash /data/atlassian-bitbucket-7.17.3/bin/start-bitbucket.sh
The bitbucket service is started but the elasticsearch is not starting, I see below message during startup
Starting Atlassian Bitbucket as the current user
Starting bundled Elasticsearch
Hint: Run start-bitbucket.sh --no-search to skip starting Elasticsearch
could not find java in bundled jdk at /data/atlassian-bitbucket-7.17.3/elasticsearch/jdk/bin/jav
There was a problem starting bundled Elasticsearch
Starting Bitbucket webapp at http://localhost:7990
The Bitbucket webapp has been started.
If you cannot access Bitbucket within 3 minutes, or encounter other issues, check the troubleshooting guide at:
https://go.atlassian.com/bbs-troubleshooting-installations
I am wondering if I need to change or set java path again, I am using 1.8.0_202
The new version of Bitbucket comes with the updated version of Elasticsearch and for that we had tell ES about the java path. I set up the java path like below and it started working.
export JAVA_HOME=$(dirname $(dirname $(readlink $(readlink $(which javac))))) source ~/.bashrc export PATH=$PATH:$JAVA_HOME/bin
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.