Installation Failed
Problem: Installation script or make command fails Solutions:-
Check prerequisites are installed:
-
Ensure proper permissions:
-
Run setup command:
Database Connection Failed
Problem: Services can’t connect to PostgreSQL Symptoms:- Error messages mentioning
connection refused - Services failing to start
- Logs showing database errors
-
Verify PostgreSQL is running:
-
Check database credentials:
-
Check connection settings in .env:
-
Restart PostgreSQL:
-
Check PostgreSQL logs:
Redis Connection Issues
Problem: Redis connection timeout or refused Symptoms:- Cache operations failing
- Session errors
- Redis connection refused messages
-
Verify Redis is running:
-
Start Redis:
-
Check Redis logs:
-
Test Redis connection:
OpenSearch Won’t Start
Problem: OpenSearch container crashes or won’t connect Symptoms:- Container immediately exits
curl: (7) Failed to connect to localhost port 9200- Out of memory errors
-
Check resource limits:
-
Check logs:
-
Reset OpenSearch:
-
Verify health:
Service Issues
Service Won’t Start
Problem: Service container exits immediately with error Symptoms:- Container exits after a few seconds
- Status shows “Exited (1)”
- Error logs in docker logs
-
Check service logs:
-
Check port availability:
-
Verify database is ready:
-
Check configuration:
Services Crashing After Startup
Problem: Services start but crash after a few minutes Symptoms:- Services in “Exited” state
- Intermittent crashes
- Error logs showing timeouts or connection issues
-
Check resource constraints:
-
Check database connections:
-
Review logs for patterns:
High Memory Usage
Problem: Services consuming excessive memory Solutions:-
Check which service is consuming memory:
-
For OpenSearch (common culprit):
-
For PostgreSQL:
-
General troubleshooting:
Network Issues
Cannot Access Services
Problem: Services are running but not responding to requests Symptoms:curl: (7) Failed to connectConnection refused- Services ping but don’t respond
-
Verify services are running:
-
Check port bindings:
-
Test network connectivity:
-
Check firewall:
-
Verify DNS resolution:
Services Can’t Communicate
Problem: Services running but can’t reach each other Symptoms:- Service logs showing “host not found”
- Connection timeouts between services
- Integration failures
-
Verify network:
-
Test service-to-service connectivity:
-
Check Docker Compose:
-
Recreate network:
Data Issues
Lost Data After Restart
Problem: Data disappeared after stopping/restarting containers Solutions:-
Verify volumes are properly mounted:
-
Check Docker Compose volume configuration:
-
Ensure data directory exists:
-
Backup and restore data:
Database Corruption
Problem: Database reports corruption or inconsistency Symptoms:- Strange SQL errors
- Data appearing corrupted
- Ability to read but not write
-
Check database integrity:
-
VACUUM and ANALYZE:
-
Rebuild indexes:
-
Full restoration:
Performance Issues
Slow API Responses
Problem: API endpoints responding slowly Solutions:-
Check database performance:
-
Monitor resource usage:
-
Check query plans:
-
Create missing indexes:
-
Reduce logging verbosity:
High Database Connection Usage
Problem: Too many database connections consuming resources Solutions:-
Monitor connections:
-
Increase connection limit:
-
Kill idle connections:
Slow Search/Analytics
Problem: OpenSearch searches timing out or slow Solutions:-
Check OpenSearch status:
-
Monitor task queue:
-
Optimize index settings:
-
Delete old indices:
Debugging
Enable Debug Logging
Check Service Configuration
View Network Details
Health Checks
Getting Help
Collect Debug Information
Report Issues
When reporting an issue, include:- Steps to reproduce
- Error message/logs
- System information
- What you tried to fix it
- Output of debug commands above
Contact Support
- GitHub Issues: https://github.com/rapidaai/voice-ai/issues
- Documentation: https://rapida.ai/docs
- Community: https://github.com/rapidaai/voice-ai/discussions
- Email: [email protected]
Quick Reference
Common Commands
Next Steps
- Docker Setup - Docker troubleshooting
- Manual Setup - Manual installation issues
- Configuration - Config-related issues