Product Hunt🚀 We are live on Product Hunt! Support our launch & use code PHLAUNCH20 for 20% off Pro→
Stratosv1.7.0
Developer Tools• 3 min read

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:

  1. Verifies Nginx configuration syntax via nginx -t.
  2. Inspects PHP-FPM Unix socket permissions.
  3. Validates /etc/resolver/test DNS routing rules.
  4. Tests BSD socket port bindings for conflicts.
  5. Checks Local Root CA certificate trust in the macOS Keychain.
  6. Audits .env file 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 (All Plans)

Need help from our engineering team? Go to Tools → Export Diagnostics to generate a clean ZIP report. Stratos excludes project source, database contents, mail, environment files, and private keys, and redacts known sensitive patterns in log excerpts. Review the bundle before sharing. Core service auto-restart and recovery logs are also available on every plan.