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

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
Answer accepted

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
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

685 views 2 7
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