One of my many (encrypted) DT databases started spontaneously generating errors when I try to open it.
No system failures have taken place, no crashes, loss of power, etc. The .sparseimage opens fine, and filesystem level permissions are set correctly.
A “verify and repair” results in:
Found 20833 inconsistencies, 0 invalid filenames, 0 missing and 0 orphaned files.
However, I’m not sure what those inconsistencies are. Once this appears, the database is open, but, read-only (pencil with line through it next to database name in the main viewer).
I’ve tried the tips in the built-in Help, but this particular database just seems unhappy.
To work around the problem, I created another encrypted database and copied groups from the old database to the new one - eventually, one group behaved oddly during this process, silently failing with no errors in the Log or Activity panels. For example, if the group had 2000 items in it, and I dragged it with option held down to the new DB, the items did not copy. For all other groups, this worked fine.
I then went to the per-item level, grabbing about 100 to 200 items in a go, and copied them (option dragged) to the new group in the new database. No errors were reported, and all visible items made it to the new database.
I’ve repeatedly verified the new database and made sure it seems fine, and I’m happy enough with this workaround, but, I’m wondering if there’s anything I can do about the “broken” database.
I did try to “Rebuild” it on one of the attempts to deal with the issue, but, nothing seemed to change, and no feedback appeared – I also do not know how long that process takes.
The database, on disk, is 10GB (as defined when I created the encrypted database), but it’s only utilising about 4.3GB in Database Properties.
Appreciate any thoughts from those who may have encountered something like this before!