Unable to change BitBucket Home Directory

Hello to everyone!

Last week we bought a license for BitBucket and now we're looking for help regarding the change of BitBucket Home Directory from a folder inside a physical disk (for example C:), to a folder inside another physical disk (for example D:)
We already tried the "set-bitbucket-home.bat" (changing the value for the home directory inside it) but it didn't work.
How can we manage to do it?

Thanks in advance,
Best regards.

1 answer

0 vote

Hi Andrea, are you running as a Windows Service? If so, you'll need to follow the steps as in the article Change Bitbucket Home when installed as a Windows service.

Additionally, if you're still having issues, please let us know which Bitbucket version and OS are you using so we can continue troubleshooting your case.

Best regards,


Hello Ana, thanks for your help.

I've checked the solution you linked me above, but inside the "bin" folder of Bitbucket, there's no file named tomcat, so when trying to execute it inside cmd, the command obviously doesn't work. 

We're using a licensed version of BitBucket Server (10 users max license) and Windows Server 2012 R2 as OS. 

Waiting for your reply :)

Best regards,


tomcat8w is a excutable of tomcat, which can be download from this link.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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...

1,933 views 1 5
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