h2db corrupted, anything i can do ?

Hi community,

we're using JIRA with h2 database. (yes. i know.. not a good idea)

cause of insufficient memory the Databasefile corrupted.

2017-05-04 08:55:04,387 http-nio-8085-exec-6 ERROR      [NoModule] Could not determine database type.

org.h2.jdbc.JdbcSQLException: File corrupted while reading record: "C:/Program Files/Atlassian/Application Data/JIRA/database/h2db.mv.db". Possible solution: use the recovery tool [90030-185]

 

org.h2.message.DbException: General error: "java.lang.IllegalStateException: Chunk 1528696 is invalid [1.4.185/6]" [50000-185]

 

we've allready tried to fix the problem with the recoveryTool,
but also had no luck.

org.h2.tools.Recover Exception in thread "main" java.lang.IllegalStateException: Chunk 1528696 is invalid [1.4.185/6]

 

there is no Backup available.

Just in case i miss something... but is there any way to restore the data?

i guess not.

 

Thanks

Kai

1 answer

1 accepted

1 vote

I'm afraid that is probably not fixable.

Are you sure you have no backups?  Have a look under <jira home>/export

Thank you!
i wasn't aware that
Jira exports its Data on its own into /export .


i've got therefore an Backup.

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,316 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot