Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

create repository shows "a database error has occured", what is wrong ?

ccenvcvb December 21, 2016

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 ?

3 answers

1 accepted

1 vote
Answer accepted
ccenvcvb July 19, 2017

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.

1 vote
Boris Georgiev _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 24, 2017

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.

0 votes
cramirez_ntst May 13, 2019

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events