MySQL GTIDs issue - can I downgrade from Bitbucket 5 to 4.14


With Bitbucket 5 there seem to be more and more issues we're experiencing when running on MySQL with GTIDs.

Do you know if it's possible do downgrade? Anyone done this?


Many thanks!


2 answers

0 vote

Well, strictly, yes, I know of one Bitbucket "downgrade".  Officially, it's not possible, and the mess we made while trying to do the downgrade strongly suggests that is mostly true.  It's hard work and goes wrong a lot.

If you are sure the problems you're getting are related to MySQL (and not just Bitbucket bugs), then it might be easier to look into migrating to PostGreSQL instead.

0 vote
Jeff Thomas Atlassian Team Sep 26, 2017

Hi Marcin,

In order to downgrade from Bitbucket Server 5.x to 4.14, you would need to restore both the database and Bitbucket Home directory to the previous state before the upgrade.

Also, just noting that using GTIDs in MySQL is not supported, more details can be found in BSERV-4964. Using GTIDs is known to cause various problems in Bitbucket Server (as you've likely already encountered). 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,451 views 26 12
Join discussion

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