It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Carl Verbiest Dec 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
Carl Verbiest Jul 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 Jan 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
Carlos Ramirez 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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

3,083 views 1 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you