Bamboo Upgrade failed due to an InnoDB requirement

I am attempting to update Bamboo form 5.9.7 to 5.10.0. I was able to successfully complete this on one server but I am failing on the other. 

2016-01-23 14:33:16,666 FATAL [localhost-startStop-1] [DefaultBootstrapManager] Pre-bootstrap upgrade tasks failed
com.atlassian.upgrade.UpgradeException: Pre-bootstrap validation tests failed: [Task for build 51012 failed:, Bamboo DB must use InnoDB table engine.]

I am investigating the MySQL setup but the configuration of the DB did not change between the 5.9.7 and 5.10.0 update. Was this a requirement for 5.10.0?

Edit: It looks like the successful server has all of it's tables set to InnoDB while the unsuccessful server is mixed between InnoDB and MyISAM. Can I just switch the tables to InnoDB (I am not a DBA);

2 answers

1 accepted

3 votes
Accepted answer

Looks like you need to alter all of the tables:

mysql -u root -p

SHOW TABLE STATUS FROM bamboo WHERE Engine != 'InnoDB';

ALTER TABLE <table_name> ENGINE=InnoDB;

Note: It appears you can not do a group of tables unless you script it. Also, some tables may take a little time.

Root Cause: Initial install of Mysql has the default set to MyISAM. At some point after the initial setup of Bamboo on this server, the default was switched to InnoDB but the tables did not all get migrated. 

Solution: As above.

InnoDB was already a requirement for older Bamboo versions.
The change in 5.10.0 is that it now checks at startup, and refuses to continue if it detects MyISAM.
See also https://jira.atlassian.com/browse/BAM-15783 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

32 views 2 1
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