Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

jira core8. 9 failed to connect to the database after upgrading to 8.20

Did JIRA core upgrade the built-in H2 database version to 1.4.200 when it was version 8.18? H2 database versions before 8.18 are 1.4.185? Dbconfig. After upgrading H2 database Does the XML file need to be modified?

2 answers

0 votes
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.
Apr 24, 2022

Yes h2 changes version in some releases of Jira.  You should not need to modify anything to make it work during an upgrade.

But you shouldn't care about it. 

You should not be using h2 for anything other than development, test or demonstrations.  You certainly shouldn't be using it to test upgrades, nor upgrading h2 outside Jira

0 votes
Thiago Masutti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 24, 2022

Hi @周慧华 .
I hope you are well.

This change is detailed on the upgrade notes: Jira Software 8.18.x upgrade notes .

H2 database upgrade

In this release we've upgraded the embedded H2 database, which is often used when evaluating Jira. This is a significant upgrade which contains some breaking changes. 

If you attempt to upgrade Jira running on the embedded H2 database, follow this procedure:

  1. Create XML backup from the instance to be upgraded.
  2. Remove h2db.mv.db file (from ${jira_home}/database).
  3. Run the new Jira instance.
  4. Restore XML backup

Migrate your data to a supported database

If you are using H2 in production, you will need to migrate to a supported external database before upgrading your instance. 

See Switching databases for a step by step guide.

 

Kind regards,
Thiago Masutti

OK,Thank you very much!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events