Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

[BuildNumberInHomeMatchesDatabase] Bamboo home directory comes from version 6.2 or older (build numb



I'm trying for the first time to install bamboo. I followed instructions from here


I downloaded package atlassian-bamboo-6.9.2.tar.gz so it is not any upgrading from previous version, and other solutions from this forums are not helping me.


So at the final step, I chose embedded database, create user and wait installation to be finalized.  I checked catalina.out and last line was not changed 5 minutes

2019-07-16 13:01:29,048 INFO [http-nio-8085-exec-6] [AccessLogFilter] ceman POST 283816kb

Website did not responded so I decided to restart server. After execution of ./ I got this error Connection refused (Connection refused)

I started bamboo again and in browser I got some bootstrap error that database and home directory are not the same. At the beginning before I started server, I created /var/bamboo/bamboo-home like example from instructon link.

This is error from atlassian-bamboo.log.



2019-07-16 13:36:02,847 FATAL [localhost-startStop-1] [BuildNumberInHomeMatchesDatabase] Bamboo home directory comes from version 6.2 or older (build number [60911]) but database does not contain build number
2019-07-16 13:36:02,918 FATAL [localhost-startStop-1] [BootstrapUpgradeManagerImpl] Task 3 failed
com.atlassian.bamboo.upgrade.exception.ValidationException: Your Bamboo instance could not start because Bamboo home directory does not match database. Contact Atlassian Support at
at com.atlassian.bamboo.upgrade.tasks.validation.BuildNumberInHomeMatchesDatabase.doUpgrade(
at com.atlassian.bamboo.upgrade.BootstrapUpgradeManagerImpl.runValidationTask(
at com.atlassian.bamboo.upgrade.BootstrapUpgradeManagerImpl.lambda$runValidationTasks$0(
at com.atlassian.bamboo.upgrade.AbstractUpgradeManager.forEachTask(
at com.atlassian.bamboo.upgrade.BootstrapUpgradeManagerImpl.runValidationTasks(
at com.atlassian.bamboo.setup.DefaultBootstrapManager.runValidationTasks(
at com.atlassian.bamboo.setup.DefaultBootstrapManager.performPersistenceUpgrade(
at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(
at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(
at org.apache.catalina.core.StandardContext.listenerStart(
at org.apache.catalina.core.StandardContext.startInternal(
at org.apache.catalina.util.LifecycleBase.start(
at org.apache.catalina.core.ContainerBase$
at org.apache.catalina.core.ContainerBase$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
2019-07-16 13:36:02,920 FATAL [localhost-startStop-1] [DefaultBootstrapManager] Validation tests failed: Your Bamboo instance could not start because Bamboo home directory does not match database. Contact Atlassian Support at


What I'm doing wrong?

1 answer


I tried to see what build number is in database and I got:

sql> select * from bamboo.bandana where bandana_key = 'bamboo.db.version';
Error: org.h2.jdbc.JdbcSQLException: Schema "BAMBOO" not found; SQL statement:

I logged in with command

java -cp h2-1.4.196.jar

and URL is jdbc:h2:file:/var/bamboo/bamboo-home/database/h2 

It seems like database is not created?


sql> show databases;

It is strange because i checked log and  I see that tables are created and the last line is

2019-07-16 12:56:08,325 INFO [setupEmbeddedDatabaseBackgroundThread] [DefaultHibernateConfigurator] Bamboo schema created.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

304 views 0 7
Read article

Atlassian Community Events