doctor
Read when: diagnosing store layout, auth state, FTS/search support, locks, or optional live connectivity.
wacli doctor reports local health information and can optionally connect to WhatsApp.
#Command
wacli doctor [--connect]
#Notes
- Without
--connect, doctor avoids live WhatsApp connection. --connectrequires auth and the store lock.- Output includes local store counts, auth identity when available, FTS/search state, and lock details.
--jsonincludesstore.last_activity_atwhen aHEARTBEATfile is present, reflecting the last timesync --followrecorded observed activity. It is not a process-liveness marker; quiet healthy sessions may not update it because successful keepalives are silent. This is distinct fromstore.last_sync_at, which reflects the newest stored message timestamp.- Use
--jsonfor machine-readable diagnostics.
#Examples
wacli doctor
wacli doctor --json
wacli doctor --connect