I am running Bitbucket server 5.9.1 and no matter what I do I cannot get elasticsearch to start. It always says connection refused. The page from Atlassian where it has the steps to fix it, the frame does not expand to see the steps. Any help would be appreciated
Hi @Brian DeBlis,
Can you please make sure that you're not starting Bitbucket Server as root, but with a dedicated user?
Also, according to Troubleshooting Connection Issues for Elasticsearch it looks like this problem can be resolved by following these steps:
If you start Bitbucket Server with a Linux service:
# service atlbitbucket status
# service atlbitbucket stop
# service atlbitbucket start
If you start Bitbucket Server without a Linux service:
> cd <Bitbucket Server installation directory>
> bin/stop-bitbucket.sh
> bin/start-bitbucket.sh
If you start Bitbucket Server with a Windows service:
Restart just the Elasticsearch service
If you start Bitbucket Server without a Windows service:
> cd <Bitbucket Server installation directory>
> bin\stop-bitbucket.bat
> bin\start-bitbucket.bat
I hope this helps!
Felipe
I am starting with my atlbitbucket user, but still having the same issue as when I was starting as root. It gives me a "connection refused"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the same issue, present on bitbucker 5.11.1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.