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.

Thanks a lot Nic!

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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

706 views 0 4
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot