Bamboo bootstrap failed
Asked by Deep Shadows Games:

After power went off, bamboo won't start:  
Bamboo bootstrap failed: Your Bamboo instance could not start because health check failed.  
Tried to delete cache, plugins, etc.  
Logs at start:

sudo ./bin/start-bamboo.sh -fg

Password:

Server startup logs are located in /Users/sergeyz/Documents/BAMBOO/logs/catalina.out

Bamboo Server Edition

Version : 7.2.2

If you encounter issues starting or stopping Bamboo Server, please see the Troubleshooting guide at <https://confluence.atlassian.com/display/BAMBOO/Installing+and+upgrading+Bamboo>

Using CATALINA_BASE: /Users/sergeyz/Documents/BAMBOO

Using CATALINA_HOME: /Users/sergeyz/Documents/BAMBOO

Using CATALINA_TMPDIR: /Users/sergeyz/Documents/BAMBOO/temp

Using JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_281.jdk/Contents/Home

Using CLASSPATH: /Users/sergeyz/Documents/BAMBOO/bin/bootstrap.jar:/Users/sergeyz/Documents/BAMBOO/bin/tomcat-juli.jar

24-Feb-2021 09:53:01.543 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin \[SetPropertiesRule\]{Server/Service/Engine/Valve} Setting property 'resolveHosts' to 'false' did not find a matching property.

24-Feb-2021 09:53:01.562 INFO \[main\] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: \[/Users/sergeyz/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.\]

24-Feb-2021 09:53:01.659 INFO \[main\] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The \["http-nio-8085"\] connector has been configured to support HTTP upgrade to \[h2c\]

24-Feb-2021 09:53:01.659 INFO \[main\] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler \["http-nio-8085"\]

24-Feb-2021 09:53:01.704 INFO \[main\] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

24-Feb-2021 09:53:01.734 INFO \[main\] org.apache.catalina.startup.Catalina.load Initialization processed in 1049 ms

24-Feb-2021 09:53:01.758 INFO \[main\] org.apache.catalina.core.StandardService.startInternal Starting service \[Catalina\]

24-Feb-2021 09:53:01.758 INFO \[main\] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.57

24-Feb-2021 09:53:20.070 INFO \[localhost-startStop-1\] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

24-Feb-2021 09:53:29.743 INFO \[main\] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler \["http-nio-8085"\]

24-Feb-2021 09:53:29.758 INFO \[main\] org.apache.catalina.startup.Catalina.start Server startup in 28022 ms

LOGS FROM BAMBOO HOME:  
2021-02-24 09:53:20,639 INFO \[localhost-startStop-1\] \[BootstrapLoaderListener\] Starting BootstrapLoaderListener2021-02-24 09:53:20,640 INFO \[localhost-startStop-1\] \[lifecycle\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*2021-02-24 09:53:20,640 INFO \[localhost-startStop-1\] \[lifecycle\] \* Bamboo is starting up \*2021-02-24 09:53:20,640 INFO \[localhost-startStop-1\] \[lifecycle\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*2021-02-24 09:53:20,643 INFO \[localhost-startStop-1\] \[ServletContextHolder\] Setting servlet context: Bamboo2021-02-24 09:53:20,811 INFO \[localhost-startStop-1\] \[lifecycle\] atlassian.org.osgi.framework.bootdelegation set to javax.servlet,javax.servlet.\*,sun.\*,com.sun.\*,org.w3c.dom.\*,org.apache.xerces.\*,org.jboss.byteman.\*,jdk.internal.reflect2021-02-24 09:53:21,020 INFO \[localhost-startStop-1\] \[BootstrapLoaderListener\] App classloader is the same as web app classloader2021-02-24 09:53:22,844 INFO \[localhost-startStop-1\] \[lifecycle\] Starting Bamboo 7.2.2 (build #70209 Fri Jan 22 16:06:01 EET 2021) using Java 1.8.0_281 from Oracle Corporation2021-02-24 09:53:22,844 INFO \[localhost-startStop-1\] \[lifecycle\] Real path of servlet context: /Users/sergeyz/Documents/BAMBOO/atlassian-bamboo/2021-02-24 09:53:23,179 INFO \[localhost-startStop-1\] \[H2DatabaseUpgraderImpl\] Current database is H2, checking if it requires update...2021-02-24 09:53:23,180 INFO \[localhost-startStop-1\] \[DefaultBootstrapManager\] Running validation tasks2021-02-24 09:53:23,256 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ----------------------------------------------------------------------2021-02-24 09:53:23,256 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 1 : Assert that Bamboo isn't running on HSQL database (post-bootstrap)2021-02-24 09:53:23,256 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ----------------------------------------------------------------------2021-02-24 09:53:23,260 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 1 completed successfully.2021-02-24 09:53:23,284 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------------------------------2021-02-24 09:53:23,284 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 2 : Validate that JDBC driver is available in classpath (bootstrap)2021-02-24 09:53:23,284 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------------------------------2021-02-24 09:53:23,287 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 2 completed successfully.2021-02-24 09:53:23,299 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------2021-02-24 09:53:23,299 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 3 : Validate if build number in home directory matches database (bootstrap)2021-02-24 09:53:23,299 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------2021-02-24 09:53:24,013 INFO \[localhost-startStop-1\] \[HikariDataSource\] HikariPool-1 - Started.2021-02-24 09:53:24,487 ERROR \[localhost-startStop-1\] \[BootstrapUpgradeHelper\] Error getting database connectionorg.hibernate.HibernateException: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: IO Exception: null \[90028-199\] at org.hibernate.hikaricp.internal.HikariCPConnectionProvider.configure(HikariCPConnectionProvider.java:63) at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:107) at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:246) at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214) at com.atlassian.bamboo.upgrade.BootstrapTaskConnectionProvider.getConnectionProvider(BootstrapTaskConnectionProvider.java:30) at com.atlassian.bamboo.upgrade.BootstrapTaskConnectionProvider.getConnectionProvider(BootstrapTaskConnectionProvider.java:25) at com.atlassian.bamboo.upgrade.BootstrapTaskConnectionProvider.getConnection(BootstrapTaskConnectionProvider.java:68) at com.atlassian.bamboo.upgrade.utils.impl.BootstrapUpgradeHelper.getDatabaseConnection(BootstrapUpgradeHelper.java:45) at com.atlassian.bamboo.upgrade.tasks.validation.BuildNumberInHomeMatchesDatabase.getBuildNumberFromDatabase(BuildNumberInHomeMatchesDatabase.java:76) at com.atlassian.bamboo.upgrade.tasks.validation.BuildNumberInHomeMatchesDatabase.doUpgrade(BuildNumberInHomeMatchesDatabase.java:50) at com.atlassian.bamboo.upgrade.BootstrapUpgradeManagerImpl.runValidationTask(BootstrapUpgradeManagerImpl.java:134) at com.atlassian.bamboo.upgrade.BootstrapUpgradeManagerImpl.lambda$runValidationTasks$0(BootstrapUpgradeManagerImpl.java:93) at com.atlassian.bamboo.upgrade.AbstractUpgradeManager.forEachTask(AbstractUpgradeManager.java:147) at com.atlassian.bamboo.upgrade.BootstrapUpgradeManagerImpl.runValidationTasks(BootstrapUpgradeManagerImpl.java:93) at com.atlassian.bamboo.setup.DefaultBootstrapManager.runValidationTasks(DefaultBootstrapManager.java:392) at com.atlassian.bamboo.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:296) at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:81) at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:143) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4689) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5155) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1412) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1402) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: IO Exception: null \[90028-199\] at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:512) at com.zaxxer.hikari.pool.HikariPool.\<init\>(HikariPool.java:105) at com.zaxxer.hikari.HikariDataSource.\<init\>(HikariDataSource.java:71) at org.hibernate.hikaricp.internal.HikariCPConnectionProvider.configure(HikariCPConnectionProvider.java:59) ... 26 moreCaused by: org.h2.jdbc.JdbcSQLNonTransientException: IO Exception: null \[90028-199\] at org.h2.message.DbException.getJdbcSQLException(DbException.java:502) at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) at org.h2.message.DbException.get(DbException.java:194) at org.h2.mvstore.db.MVTableEngine$Store.convertIllegalStateException(MVTableEngine.java:197) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:173) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:95) at org.h2.engine.Database.getPageStore(Database.java:2739) at org.h2.engine.Database.open(Database.java:769) at org.h2.engine.Database.openDatabase(Database.java:319) at org.h2.engine.Database.\<init\>(Database.java:313) at org.h2.engine.Engine.openSession(Engine.java:69) at org.h2.engine.Engine.openSession(Engine.java:201) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:178) at org.h2.engine.Engine.createSession(Engine.java:161) at org.h2.engine.Engine.createSession(Engine.java:31) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:336) at org.h2.jdbc.JdbcConnection.\<init\>(JdbcConnection.java:169) at org.h2.jdbc.JdbcConnection.\<init\>(JdbcConnection.java:148) at org.h2.Driver.connect(Driver.java:69) at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:95) at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:101) at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:341) at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:506) ... 29 moreCaused by: java.lang.IllegalStateException: Reading from nio:/Users/sergeyz/Documents/BAMBOO_HOME/database/h2.mv.db failed; file length 13529088 read length 3072 at 33753278 \[1.4.199/1\] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:883) at org.h2.mvstore.DataUtils.readFully(DataUtils.java:420) at org.h2.mvstore.FileStore.readFully(FileStore.java:98) at org.h2.mvstore.MVStore.readBufferForPage(MVStore.java:1048) at org.h2.mvstore.MVStore.readPage(MVStore.java:2186) at org.h2.mvstore.MVMap.readPage(MVMap.java:554) at org.h2.mvstore.Page$NonLeaf.getChildPage(Page.java:1086) at org.h2.mvstore.Cursor.hasNext(Cursor.java:53) at org.h2.mvstore.MVStore.readStoreHeader(MVStore.java:793) at org.h2.mvstore.MVStore.\<init\>(MVStore.java:401) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:3343) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:162) ... 47 moreCaused by: java.io.EOFException at org.h2.mvstore.DataUtils.readFully(DataUtils.java:408) ... 57 more2021-02-24 09:53:24,494 ERROR \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 3 failedorg.hibernate.HibernateException: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: IO Exception: null \[90028-199\] at org.hibernate.hikaricp.internal.HikariCPConnectionProvider.configure(HikariCPConnectionProvider.java:63) at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:107) at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:246) at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:214) at com.atlassian.bamboo.upgrade.BootstrapTaskConnectionProvider.getConnectionProvider(BootstrapTaskConnectionProvider.java:30) at com.atlassian.bamboo.upgrade.BootstrapTaskConnectionProvider.getConnectionProvider(BootstrapTaskConnectionProvider.java:25) at com.atlassian.bamboo.upgrade.BootstrapTaskConnectionProvider.getConnection(BootstrapTaskConnectionProvider.java:68) at com.atlassian.bamboo.upgrade.utils.impl.BootstrapUpgradeHelper.getDatabaseConnection(BootstrapUpgradeHelper.java:45) at com.atlassian.bamboo.upgrade.tasks.validation.BuildNumberInHomeMatchesDatabase.getBuildNumberFromDatabase(BuildNumberInHomeMatchesDatabase.java:76) at com.atlassian.bamboo.upgrade.tasks.validation.BuildNumberInHomeMatchesDatabase.doUpgrade(BuildNumberInHomeMatchesDatabase.java:50) at com.atlassian.bamboo.upgrade.BootstrapUpgradeManagerImpl.runValidationTask(BootstrapUpgradeManagerImpl.java:134) at com.atlassian.bamboo.upgrade.BootstrapUpgradeManagerImpl.lambda$runValidationTasks$0(BootstrapUpgradeManagerImpl.java:93) at com.atlassian.bamboo.upgrade.AbstractUpgradeManager.forEachTask(AbstractUpgradeManager.java:147) at com.atlassian.bamboo.upgrade.BootstrapUpgradeManagerImpl.runValidationTasks(BootstrapUpgradeManagerImpl.java:93) at com.atlassian.bamboo.setup.DefaultBootstrapManager.runValidationTasks(DefaultBootstrapManager.java:392) at com.atlassian.bamboo.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:296) at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:81) at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:143) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4689) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5155) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1412) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1402) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: IO Exception: null \[90028-199\] at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:512) at com.zaxxer.hikari.pool.HikariPool.\<init\>(HikariPool.java:105) at com.zaxxer.hikari.HikariDataSource.\<init\>(HikariDataSource.java:71) at org.hibernate.hikaricp.internal.HikariCPConnectionProvider.configure(HikariCPConnectionProvider.java:59) ... 26 moreCaused by: org.h2.jdbc.JdbcSQLNonTransientException: IO Exception: null \[90028-199\] at org.h2.message.DbException.getJdbcSQLException(DbException.java:502) at org.h2.message.DbException.getJdbcSQLException(DbException.java:427) at org.h2.message.DbException.get(DbException.java:194) at org.h2.mvstore.db.MVTableEngine$Store.convertIllegalStateException(MVTableEngine.java:197) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:173) at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:95) at org.h2.engine.Database.getPageStore(Database.java:2739) at org.h2.engine.Database.open(Database.java:769) at org.h2.engine.Database.openDatabase(Database.java:319) at org.h2.engine.Database.\<init\>(Database.java:313) at org.h2.engine.Engine.openSession(Engine.java:69) at org.h2.engine.Engine.openSession(Engine.java:201) at org.h2.engine.Engine.createSessionAndValidate(Engine.java:178) at org.h2.engine.Engine.createSession(Engine.java:161) at org.h2.engine.Engine.createSession(Engine.java:31) at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:336) at org.h2.jdbc.JdbcConnection.\<init\>(JdbcConnection.java:169) at org.h2.jdbc.JdbcConnection.\<init\>(JdbcConnection.java:148) at org.h2.Driver.connect(Driver.java:69) at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:95) at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:101) at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:341) at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:506) ... 29 moreCaused by: java.lang.IllegalStateException: Reading from nio:/Users/sergeyz/Documents/BAMBOO_HOME/database/h2.mv.db failed; file length 13529088 read length 3072 at 33753278 \[1.4.199/1\] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:883) at org.h2.mvstore.DataUtils.readFully(DataUtils.java:420) at org.h2.mvstore.FileStore.readFully(FileStore.java:98) at org.h2.mvstore.MVStore.readBufferForPage(MVStore.java:1048) at org.h2.mvstore.MVStore.readPage(MVStore.java:2186) at org.h2.mvstore.MVMap.readPage(MVMap.java:554) at org.h2.mvstore.Page$NonLeaf.getChildPage(Page.java:1086) at org.h2.mvstore.Cursor.hasNext(Cursor.java:53) at org.h2.mvstore.MVStore.readStoreHeader(MVStore.java:793) at org.h2.mvstore.MVStore.\<init\>(MVStore.java:401) at org.h2.mvstore.MVStore$Builder.open(MVStore.java:3343) at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:162) ... 47 moreCaused by: java.io.EOFException at org.h2.mvstore.DataUtils.readFully(DataUtils.java:408) ... 57 more2021-02-24 09:53:24,503 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -----------------------------------------2021-02-24 09:53:24,503 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 4 : Verify Java compatibility (bootstrap)2021-02-24 09:53:24,503 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -----------------------------------------2021-02-24 09:53:24,503 INFO \[localhost-startStop-1\] \[JavaVersionIsSupported\] Testing compatibility of Java version 1.8.0_281 with this version of Bamboo.2021-02-24 09:53:24,503 INFO \[localhost-startStop-1\] \[JavaVersionIsSupported\] Detected Java version 1.8.0_281, your version is supported.2021-02-24 09:53:24,503 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 4 completed successfully.2021-02-24 09:53:24,512 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -----------------------------------------------------------------2021-02-24 09:53:24,512 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 2901 : Test if build number is applicable for upgrade (bootstrap)2021-02-24 09:53:24,512 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -----------------------------------------------------------------2021-02-24 09:53:24,512 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 2901 completed successfully.2021-02-24 09:53:24,520 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ------------------------------------------------------------2021-02-24 09:53:24,520 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 2902 : Test if plan keys are correctly formatted (bootstrap)2021-02-24 09:53:24,520 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ------------------------------------------------------------2021-02-24 09:53:24,522 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 2902 completed with errors.2021-02-24 09:53:24,529 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -----------------------------------------------------------------------------2021-02-24 09:53:24,529 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 4300 : Make sure there's single row in HIBERNATE_UNIQUE_KEY table (bootstrap)2021-02-24 09:53:24,529 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -----------------------------------------------------------------------------2021-02-24 09:53:24,531 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 4300 completed with errors.2021-02-24 09:53:24,539 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------------------------------------------------2021-02-24 09:53:24,539 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 4410 : Make sure that all branch keys start with their master's chain key (bootstrap)2021-02-24 09:53:24,539 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------------------------------------------------2021-02-24 09:53:24,542 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 4410 completed with errors.2021-02-24 09:53:24,555 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------2021-02-24 09:53:24,555 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51010 : Check if lucene index root dir exists (bootstrap)2021-02-24 09:53:24,555 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------2021-02-24 09:53:24,555 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51010 completed successfully.2021-02-24 09:53:24,568 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -----------------------------------------------------------------------------2021-02-24 09:53:24,568 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51012 : Make sure that MySQL server uses InnoDB engine for tables (bootstrap)2021-02-24 09:53:24,568 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -----------------------------------------------------------------------------2021-02-24 09:53:24,572 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51012 completed successfully.2021-02-24 09:53:24,582 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] --------------------------------------------------------------------------2021-02-24 09:53:24,582 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51102 : Make sure server key has been initialized and is valid (bootstrap)2021-02-24 09:53:24,582 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] --------------------------------------------------------------------------2021-02-24 09:53:24,582 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51102 completed successfully.2021-02-24 09:53:24,591 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------2021-02-24 09:53:24,591 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51111 : Verify DB compatibility (bootstrap)2021-02-24 09:53:24,591 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------2021-02-24 09:53:24,591 ERROR \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51111 failedjava.lang.NullPointerException at com.atlassian.bamboo.upgrade.tasks.validation.DatabaseIsSupported.getDatabaseMetadata(DatabaseIsSupported.java:139) at com.atlassian.bamboo.upgrade.tasks.validation.DatabaseIsSupported.doUpgrade(DatabaseIsSupported.java:65) at com.atlassian.bamboo.upgrade.BootstrapUpgradeManagerImpl.runValidationTask(BootstrapUpgradeManagerImpl.java:134) at com.atlassian.bamboo.upgrade.BootstrapUpgradeManagerImpl.lambda$runValidationTasks$0(BootstrapUpgradeManagerImpl.java:93) at com.atlassian.bamboo.upgrade.AbstractUpgradeManager.forEachTask(AbstractUpgradeManager.java:147) at com.atlassian.bamboo.upgrade.BootstrapUpgradeManagerImpl.runValidationTasks(BootstrapUpgradeManagerImpl.java:93) at com.atlassian.bamboo.setup.DefaultBootstrapManager.runValidationTasks(DefaultBootstrapManager.java:392) at com.atlassian.bamboo.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:296) at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:81) at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:143) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4689) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5155) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1412) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1402) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)2021-02-24 09:53:24,599 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------2021-02-24 09:53:24,599 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51210 : Verify file name encoding (bootstrap)2021-02-24 09:53:24,599 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------2021-02-24 09:53:24,603 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51210 completed successfully.2021-02-24 09:53:24,611 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------2021-02-24 09:53:24,611 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51301 : Test if collation and commit isolation is set correctly (bootstrap)2021-02-24 09:53:24,611 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------2021-02-24 09:53:24,611 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51301 completed successfully.2021-02-24 09:53:24,619 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ----------------------------------------------------------------2021-02-24 09:53:24,619 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51302 : Check that MySQL tables are case insensitive (bootstrap)2021-02-24 09:53:24,619 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ----------------------------------------------------------------2021-02-24 09:53:24,620 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51302 completed with errors.2021-02-24 09:53:24,629 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------------------2021-02-24 09:53:24,629 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 51404 : Make sure OSGi bundle cache directory is empty, clean it if needed. (bootstrap)2021-02-24 09:53:24,629 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------------------2021-02-24 09:53:24,643 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 51404 completed successfully.2021-02-24 09:53:24,651 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------------------------------2021-02-24 09:53:24,651 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 60001 : Make sure JNDI location of mail server is valid (bootstrap)2021-02-24 09:53:24,651 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] -------------------------------------------------------------------2021-02-24 09:53:24,652 INFO \[localhost-startStop-1\] \[MailServerJndiLocationIsValid\] Validating JNDI location of mail server in configuration file '/Users/sergeyz/Documents/BAMBOO_HOME/bamboo-mail.cfg.xml'.2021-02-24 09:53:24,704 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 60001 completed successfully.2021-02-24 09:53:24,722 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------------------------2021-02-24 09:53:24,723 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 60601 : Validate existing Atlassian User directories for Embedded Crowd migration (bootstrap)2021-02-24 09:53:24,723 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------------------------2021-02-24 09:53:24,725 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 60601 completed with errors.2021-02-24 09:53:24,733 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------------------------2021-02-24 09:53:24,734 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 60602 : Validate existing Atlassian User directories for Embedded Crowd migration (bootstrap)2021-02-24 09:53:24,734 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------------------------2021-02-24 09:53:24,734 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 60602 completed with errors.2021-02-24 09:53:24,742 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------2021-02-24 09:53:24,742 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] 70110 : Verify that bamboo.cfg.xml exists and can be written to (bootstrap)2021-02-24 09:53:24,742 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] ---------------------------------------------------------------------------2021-02-24 09:53:24,742 INFO \[localhost-startStop-1\] \[BootstrapUpgradeManagerImpl\] Task 70110 completed successfully.2021-02-24 09:53:24,743 FATAL \[localhost-startStop-1\] \[DefaultBootstrapManager\] Validation tests failed: \[Task 3 failed with exception: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: IO Exception: null \[90028-199\], Task 2902 failed:, Cannot open DB connection, Task 4300 failed:, Cannot open DB connection, Task 4410 failed:, Cannot open DB connection, Task 51111 failed with exception: null, Task 51302 failed:, Cannot open DB connection, Task 60601 failed:, Cannot open DB connection, Task 60602 failed:, Cannot open DB connection\]2021-02-24 09:53:24,797 FATAL \[localhost-startStop-1\] \[DefaultBootstrapManager\] Validation tests failed: Your Bamboo instance could not start because health check failed. Contact Atlassian Support at <https://support.atlassian.com2021-02-24> 09:53:24,798 INFO \[localhost-startStop-1\] \[lifecycle\] Bamboo home directory: /Users/sergeyz/Documents/BAMBOO_HOME2021-02-24 09:53:24,799 INFO \[localhost-startStop-1\] \[lifecycle\] Default charset: UTF-8, file name ecoding: UTF-82021-02-24 09:53:24,812 INFO \[localhost-startStop-1\] \[UpgradeLauncher\] Upgrades not performed since the application has not been set up yet.2021-02-24 09:53:24,852 INFO \[localhost-startStop-1\] \[CompressingFilter\] CompressingFilter has initialized2021-02-24 09:53:25,881 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy2021-02-24 09:53:27,857 INFO \[localhost-startStop-1\] \[Dispatchers\] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised2021-02-24 09:53:28,024 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy2021-02-24 09:53:29,265 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy2021-02-24 09:53:29,433 INFO \[localhost-startStop-1\] \[Dispatchers\] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised2021-02-24 09:53:29,522 INFO \[localhost-startStop-1\] \[SpringObjectFactoryProxy\] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy2021-02-24 09:53:43,517 INFO \[http-nio-8085-exec-1\] \[JohnsonFilter\] The application is still starting up, or there are errors. Redirecting request from '/start.action' to '/error/errorEvents.action'2021-02-24 09:53:45,226 INFO \[http-nio-8085-exec-3\] \[JohnsonFilter\] The application is still starting up, or there are errors. Redirecting request from '/apple-touch-icon-precomposed.png' to '/error/errorEvents.action'2021-02-24 09:53:45,276 INFO \[http-nio-8085-exec-5\] \[JohnsonFilter\] The application is still starting up, or there are errors. Redirecting request from '/apple-touch-icon.png' to '/error/errorEvents.action'

<br />

<br />


Answers:
author: Gonchik Tsymzhitov
body: Hi [@Deep Shadows Games](/t5/user/viewprofilepage/user-id/4152599) ,

based on your logs something wrong wit h2db

BootstrapUpgradeHelper\] Error getting database connectionorg.hibernate.HibernateException: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: IO Exception: null \[90028-199\] at

Could you verify that bamboo.cfg.xml with db connection ? I am quite confused with lines related MySQL.

Did you use the embedded database or external one ?