Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't open existing h2.db #48

Closed
henryken opened this issue Jun 24, 2018 · 1 comment
Closed

Can't open existing h2.db #48

henryken opened this issue Jun 24, 2018 · 1 comment

Comments

@henryken
Copy link

Expected Behavior

Able to open the DB successfully

Actual Behavior

"Invalid password or tried to open the wrong file type"

Steps to Reproduce the Problem

  1. Open existing H2 DB with new version 2.34.1
  2. "Invalid password or tried to open the wrong file type"

Specifications

  • jGnash Version: 2.34.1
  • Operating System: Windows 10
  • Java Version 1.8
@ccavanaugh
Copy link
Owner

Two options.. open the last backup (zipped file), or revert back a release, save as an XML or simple binary file and it will open correctly in the new release. From there, you can save back to an H2 database.

I'm going to post a more detailed message in the user and devel Google Groups list today.

Root cause is your file is still using the old database schema and it takes manual intervention to upgrade. The ability it handle the old schema broke in this last release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants