Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×When I create a new repository I frequently get "a database error has occurred".
If I retry this error disappears after the 2nd or 3rd try.
Why doesn't it work the first time ?
Where can I see what is really wrong with the database ?
In our case it turned out there were database issues in our installation. My user record was created before Active Directory LDAP integration was set-up and I used the same userid as my AD account. This caused some kind of mix-up that led to the "database error" messages.
The issue was solved with the help of Atlassian support.
Check the atlassian-Bitbucket.log file - it should contain an exception message which will give you some pointers. You can also enable debug logging to see verbose message if what you see in the log file is not enough.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I saw the same message today, and found the exact cause inside atlassian-bitbucket.log file. The drive on the DB server was full, it couldn't write any new records. Expanding the drive was the fix.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.