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 votes

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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

660 views 5 9
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