Skip to content

Reading omem doctor

Read this if something isn’t working and you want one command that tells you what’s wrong. omem doctor is the first thing to run — it checks everything from your config to your macOS permissions and prints a concrete fix for each problem it finds.

$

Each line is one check: a symbol ( ok / warning / error), the check name, a short status, and — when there’s a problem — a → Fix: line with the command to run. Checks are grouped under [Global] and one block per enabled kind.

CheckWhat it verifiesTypical fix
config_schema_validconfig.yaml parses against the current schemaomem config migrate
llm_endpointYour LLM provider is configured and reachableomem setup --llm
index_pluginThe active index backend is present and usableomem plugin install qmd (if you enabled qmd)
wiki_vs_sql_consistencyThe wiki files and the database agreeomem index rebuild
launch_agentThe scheduled-ingest job is installed and loadedomem install
sqlite_integrityThe database isn’t corruptrestore from backup
disk_spaceEnough free space to keep ingestingfree space, or omem lint --orphans --purge
omem_log_presentThe log file existsomem ingest (writes it on first run)
recent_ingest_24hSomething ingested in the last 24homem ingest, or check the schedule
failed_count_7dHow many items failed recentlyomem ingest errors --since 7d

For each enabled kind, doctor adds a block. The most common failure by far is macOS permission on mail and calendar:

CheckWhat it meansFix
full_disk_access (mail)Mail needs Full Disk Access, which macOS never grants automaticallyomem setup --grant-tcc
Calendar permissionCalendars privacy permission on older macOS; on macOS 26+ Calendar needs Full Disk Access (same as mail — the DB moved into a sandboxed container)omem setup --grant-tcc
roots reachable (file)Your configured folders exist and are readablefix the path in kinds.file.source_config.roots
Terminal window
omem doctor --format json

Returns the same checks as structured JSON — useful for a monitoring script that wants to alert on a specific failed check.