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 | 15 | 411 | April 7, 2025 | |
| After Update to 5.1.3 database is locked | 5 | 1552 | May 21, 2021 | |
| Again a locked database and "Force-unlock" does not work | 27 | 185 | January 28, 2026 | |
| Chronically locked database [insufficient space in backup destination] | 52 | 342 | February 15, 2026 | |
| Media directory c:\users\name of file.gpkg.media exists. Delete it first, then restart the import process | 17 | 430 | December 31, 2023 |