Event Dime
Lock contention on startup
Jazz & Blues
- When:
- May 27, 2026 · 2:20 PM
- Source:
- Metabase Discussion
If there is no Metabase instance running, then what happened was that a previous instance crashed or exited unexpectedly and H2 wasn’t able to unlock the data file. You will need to run a recover & reload to replace the broken file with a new one. The short version is something like this (not tested, especially the last command, adapt as needed): java --add-opens java.base/java.nio=ALL-UNNAMED -cp metabase.jar org.h2.tools.Recover rename metabase.db.mv.db metabase-old.db.mv.db java --add-opens j
Jazz & Blues