This is not a bug, and waiting for a new version of the software hoping it will fix your problem one day is not a practical solution.
11 million inconsistencies doesn’t mean your data is gone, but it does mean DEVONthink’s internal metadata layer is badly scrambled. This usually happens after a system restore, migration, disk-level corruption, or a Time Machine restore made while DEVONthink was open.
Inconsistencies refer to DEVONthink’s internal metadata tables, not your actual documents.
Your 17 missing files are the only files DEVONthink believes are gone.
The 11 million inconsistencies mean: broken internal references, bad UUID references, stale sync metadata, orphaned internal records, and folder structure mismatches from: Time Machine restore, macOS migration, or abrupt shutdown while DT was open.
When inconsistencies are counted in the millions, the normal repair tool cannot fix the metadata layer. It can only correct small issues.
You have two options:
File > Rebuild Database
This creates a new, clean database by re-importing all valid documents and regenerating metadata.
Pros
Cons
- You may lose: custom metadata, some annotations, last-opened positions, some groups with empty references. But you do not lose your actual documents.
Or, if you have a TM backup from before the corruption event and that DT database was fully closed at the time, restoring that version may give you an intact copy.
But if multiple backups were made after corruption began, rebuilding is safer.
DEVONthink does not provide a report of individual inconsistency items because they’re low-level internal references. What matters is whether the actual documents are present, and DEVONthink tells you that: only 17 missing files.
If this were my database, I’d do exactly this:
-
Duplicate the database file in Finder (for safety)
-
Open the duplicate in DEVONthink
-
Run File > Rebuild Database
-
Let the rebuild complete — it can take hours for large DBs
-
Review:
-
smart groups
-
tags
-
custom metadata
-
group structure
-
Restore anything missing manually from the original if needed
Almost always, users end up with a clean, healthy DB and no document loss.
Time Machine restores made while DEVONthink is open will always cause internal inconsistencies.
In the future, before restoring: