failed to install bitbucket 5.6.1

I have tried to follow the guide provided on how to setup bitbucket as a windows service. I can run it locally after the setup however it cannot be accessed from outside. 

Therefore, after the initial setup, i continued following this guide https://confluence.atlassian.com/bitbucketserver/running-bitbucket-server-as-a-windows-service-776640048.html. I have set the requested environment variables and tried installing the bat file, but with the following output as a result.

 

C:\Atlassian\Bitbucket\5.6.1\bin>service.bat install
Installing the 'AtlassianBitbucket' service ...
Using BITBUCKET_HOME: "C:\Atlassian\ApplicationData\Bitbucket"
Using INST_DIR: "C:\Atlassian\Bitbucket\5.6.1"
Using EXECUTABLE: "C:\Atlassian\Bitbucket\5.6.1\bin\bserv64.exe"
Using JRE_HOME: "C:\Progra~1\Java\jre-9.0.1"
Using JVM: "C:\Progra~1\Java\jre-9.0.1\bin\server\jvm.dll"
Failed installing 'AtlassianBitbucket' service

 

This does not match the example given in the guide, so i guess the program has been updated since then.

1 answer

1 accepted

0 vote

Hi Frederik,

Bitbucket Server by default is configured as a Windows Service, so there shouldn't be a need to set it as such (unless you specifically chose not to configure it as a service during the installation).

If you can access Bitbucket Server locally but not from outside, then most likely there's a firewall in place that's blocking access to port 7990 (Bitbucket Server's default port), so you should look at that.

Cheers,

Christian

Premier Support Engineer

Atlassian

I needed to add the program to the list accepted by the firewall! Thank you!

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

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&nbsp...

706 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot