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

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

A database error has occurred.



I was added recently to working environment (bitbucket server(stash) connected to Jira). After a week working, I was using Git bash. Unfortunately, the global config is connected to github environment with another name and github email. I connected to the new environment using ssh. I added many commits and 3 pull requests. Two of the 3 PR are merged. One day I didn't find ssh key in my profile. I detected that from running a test and it couldn't connect. I found that many pages give "A database error has occurred.": 


1. pull-requests page. 

2. link to my commits only 

3. link to open pull request and the other two links. The older requests links are working probably except one opened for my colleague. 

 4. View profile (for my profile only) 

5. Manage account --> (notifications settings and watched repos)

Please let me know how I can fix the database error. 

I can create branch, commit, create PR and merge from the branch pages. Sometimes a pop-up appears with a database error occurs. 

How can i delete the PRs that I couldn't see from the GUI. Is there a command that can force delete it. what are the database queries to run. 


there is another weird thing that i can create PR but when i commit new updates to this branch after PR. I couldn't see the latest commits after PR creation. If i press pull request again, you can see the latest requests. 


Thank you



Log in or Sign up to comment
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,795 views 10 16
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