bitbucket lost sql server settings

My Bitbucket (v4.12) just lost sql server settings it appears as Database Type Internal. I already check my SQL Server and its working normally. (SQL Server 2012)

2 answers

0 votes

That sounds like Bitbucket did not find the database settings in your configuration file. A number of things could be wrong:

  • BITBUCKET_HOME/shared/ does not exist or cannot be read by the server process
  • Someone has edited and removed the database settings from it.
  • The Bitbucket process has started with a different BITBUCKET_HOME configuration.

If you get stuck, please open a support request at


Thank you Michael Heemskerk, your answer helped me a lot. I workaround the problem doing the next steps:

1.- The file doesn't have Atlassian Bitbucket Windows User Permissions. So I added Read/Write permissions with this user to properties file.

2.- Add a new SQL Server "Bitbucket_New"

3.- Migrate to "Bitbucket_New"

4.- Stop Bitbucket Service

5.- Rename "Bitbucket_New" as "Bitbucket_To_Detele"

6.- Rename original Bitbucket SQL Serve database as "Bitbucket_New"

7.- Start Bitbuckt Service

and Presto! everything is up and running

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

1,906 views 7 10
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