Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo bootstrap failed: Failed to run H2 database upgrade.

PANTAKORN SATHAPANASAKUL November 6, 2021

fix-this-bamboo1.png

1 answer

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 7, 2021

Welcome to the Community!

You'll need to read the application's log file to see what the underlying error is, but it is very likely that you will find that it is a fatal error - your database is probably heavily damaged and unusable.

H2 is not a supported database for Atlassian stuff, it's only there for getting started with throwaway development, test or demo systems.  If used heavily it will fail catastrophically, without warning.  

You may be able to recover from a backup if you've taken one.

Whether you decide to try to recover or not is up to you, but you really should migrate to using a proper database as soon as possible,  H2 will fail you if you carry on using it.

Yavuz Yasin Çelik August 10, 2022

when I check the logs under target, I found the problem. Thanks for your advice.


2022-08-11 08:44:02,855 FATAL [localhost-startStop-1] [DefaultBootstrapManager] H2 database upgrade failed
com.atlassian.upgrade.UpgradeException: Failed to download H2 library from https://repo1.maven.org/maven2/com/h2database/h2/1.4.196/h2-1.4.196.jar. Download it manually and copy it into: C:\XXXXX\workspaces\xxxx-plugin\target\bamboo\home\h2temp\h2-1.4.196.jar
...

at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events