It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Reading h2db.mv.db fail after switching IP

Morning Everyone, 

 

When I shutdown VM and use another IP to carry VM, JIRA software cannot read h2db already, do you have any advise? Do you have method I can retrieve my project works?

Thanks everyone 

 

80355328 is h2db.mv.db file size 

------------------------------------------------------------------------------------------

Error Log:

Caused by: java.lang.IllegalStateException: Reading from cache:nio:C:/Program Files/Atlassian/Application Data/JIRA/database/h2db.mv.db failed; file length 80355328 read length 768 at 84646650 [1.4.185/1]
at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:773)
at org.h2.mvstore.DataUtils.readFully(DataUtils.java:443)
at org.h2.mvstore.FileStore.readFully(FileStore.java:98)
at org.h2.mvstore.Page.read(Page.java:189)
at org.h2.mvstore.MVStore.readPage(MVStore.java:1830)
at org.h2.mvstore.Page.getChildPage(Page.java:216)
at org.h2.mvstore.Cursor.fetchNext(Cursor.java:150)
at org.h2.mvstore.Cursor.next(Cursor.java:50)
at org.h2.mvstore.MVStore.readFileHeader(MVStore.java:696)
at org.h2.mvstore.MVStore.<init>(MVStore.java:357)
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2769)
at org.h2.mvstore.db.MVTableEngine$Store.<init>(MVTableEngine.java:162)
at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:98)

1 answer

0 votes

I'm afraid your h2 database has failed.  This happens a lot, and it's the reason Atlassian tell you not to use it for anything that really matters (dev and test systems can be recreated, no huge loss if they fail)

The best you can do is check the "exports" directory for a recent backup, fire up a new installation and import the backup into it.

Whether that works or not, you need your next Jira install to use one of the four supported databases.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you