The “database is locked” indicates that sometimes you are not exiting Gramps properly. (Such as launching the Console version of Gramps and closing the console window instead of the Gramps window. Or you killed the Gramps task with the Task Manager… or had a crash.) The following thread describes the unlocking process:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Database Locked - use force-unlock option | 16 | 274 | May 7, 2025 | |
| After Update to 5.1.3 database is locked | 6 | 1529 | June 20, 2021 | |
| Again a locked database and "Force-unlock" does not work | 28 | 93 | February 27, 2026 | |
| Chronically locked database [insufficient space in backup destination] | 52 | 170 | February 15, 2026 | |
| Media directory c:\users\name of file.gpkg.media exists. Delete it first, then restart the import process | 18 | 388 | January 30, 2024 |