Why all my settings and repositories are gone after restarting the server?

Hi all,

I've installed Bitbucket on Windows 2012 R2. After each restart everything is gone. It just takes my to the setup page when I try to browse my repositories.


3 answers

1 accepted

Hi Fahad,

From your description I think it could be that, after a restart, the value of BITBUCKET_HOME is getting lost. BITBUCKET_HOME is your data directory, which keeps part of your instance's data. Can you please check this when a restart occurs? You may reference to the following documentation, depending on how Bitbucket was installed:


Gustavo Refosco

Thank you Gustavo for your answer.

I've checked the BITBUCKET_HOME and found it was pointing to the correct directory. Then I've created some projects to see if the settings will get lost after I restart the machine. After restarting nothing is lost.

I searched for the other BITBUCKET_HOME which may hold my old settings. But no luck.

Anyways thank you again for your answer.


We have the same problem. We have installed as a windows service.

Running tomcat8w //ES//AtlassianBitbucket does nothing. No window pops up to change the home directory.

However running shutdown_bitbucket.bat lists the home directory as correct.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

170 views 20 8
Join discussion

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