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
| Flag | Default | Description |
|---|---|---|
--json | false | Output results in JSON format (deprecated — use --output=json) |
--verbose | false | Include timings and troubleshooting advice |
--quiet | false | Only show warnings, failures, and summary |
--no-color | false | Disable ANSI color output |
--strict | false | Treat warnings as failures (exit code 1) |
--fix | false | Auto-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
}