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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,460,325
Community Members
 
Community Events
176
Community Groups

Bamboo bootstrap failed: Failed to run H2 database upgrade.

Edited

fix-this-bamboo1.png

1 answer

1 vote

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.

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

Atlassian Community Events