weavori doctor

Run comprehensive diagnostics on your Weavori setup.

Usage

weavori doctor [dsn] [flags]

The doctor command runs a series of diagnostics to identify configuration, connectivity, and compatibility issues, with actionable recommendations when problems are found.

Flags

FlagDefaultDescription
--jsonfalseOutput results in JSON format (deprecated — use --output=json)
--verbosefalseInclude timings and troubleshooting advice
--quietfalseOnly show warnings, failures, and summary
--no-colorfalseDisable ANSI color output
--strictfalseTreat warnings as failures (exit code 1)
--fixfalseAuto-repair safe, local-only issues

Example

weavori doctor "postgres://user:pass@localhost:5432/mydb" Configuration ── ✓ Config file exists and is readable ✓ License key is set ✓ Server URL is reachable Network ── ✓ API server is reachable (48ms) ✓ DNS resolution successful PostgreSQL ── ✓ Connection successful (12ms) ✓ PostgreSQL 16.4 ✓ SSL enabled ✓ Required permissions OK ✓ Extensions: pg_stat_statements (expected) Summary: 12 passed, 0 warnings, 0 failures

JSON output

Using the recommended modern approach:

weavori doctor "postgres://user:pass@localhost:5432/mydb" --output json {"results": [...], "duration": "2.3s", "has_failure": false}

Legacy --json flag still works but is deprecated:

weavori doctor --json { "results": [...], "duration": "2.3s", "has_failure": false, "has_warning": false, "strict_mode": false }