Site Doctor & Diagnostics Export
1-click system health audits, BSD socket port conflict detector, auto-recovery, and sanitized support bundle exports.
Site Doctor 1-Click Health Audits
If a local site fails to load or returns an HTTP 502 Bad Gateway, click Site Doctor in the toolbar. Stratos performs an automated 8-point system audit:
- Verifies Nginx configuration syntax via
nginx -t. - Inspects PHP-FPM Unix socket permissions.
- Validates
/etc/resolver/testDNS routing rules. - Tests BSD socket port bindings for conflicts.
- Checks Local Root CA certificate trust in the macOS Keychain.
- Audits
.envfile syntax and required database drivers.
Fast BSD Socket Port Conflict Detector
Stratos utilizes native C BSD sockets (socket(), bind()) for microsecond port scans on ports 80, 443, 3306, 5432, and 6379. If an external app (like Apache, Docker, or Homebrew) occupies a port, Stratos identifies the process name and PID via lsof and offers a 1-click resolution.
Sanitized Support Diagnostics Export (Pro)
Need help from our engineering team? Go to Tools → Export Diagnostics to generate a clean ZIP report. Stratos automatically redacts passwords, private keys, database contents, and sensitive environment variables before generating the report.