orphelix doctor
Run comprehensive health checks to diagnose issues with Orphelix installation.Usage
Example Output
All Checks Pass
Issues Detected
Health Checks Performed
System Requirements
- Node.js version - Checks for >= 24.0.0
- kubectl - Verifies kubectl is installed and in PATH
- pm2 - Checks pm2 process manager availability
Dependencies
- node_modules - Verifies npm packages are installed
- Standalone build - Checks if Next.js build exists
Kubernetes
- Cluster connection - Tests kubectl connection to cluster
- Current context - Shows active kubectl context
- API server - Verifies API server is reachable
Application
- Database - Checks orphelix.db exists and is readable
- Port availability - Tests if configured port is free
- Process status - Verifies pm2 process health
Workers
- Notification worker - Checks background worker status
Exit Codes
0- All checks passed1- One or more checks failed
When to Run Doctor
Runorphelix doctor when:
- Installation completes but app won’t start
- Experiencing connection issues
- After system updates or changes
- Before reporting bugs
- Troubleshooting performance issues
Automated Fixes
Future versions may include
orphelix doctor --fix to automatically resolve common issues.Related Commands
See Also
Troubleshooting Guide
Common issues and solutions