Skip to main content

Installation Failed

Problem: Installation script or make command fails Solutions:
  1. Check prerequisites are installed:
  2. Ensure proper permissions:
  3. 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
Solutions:
  1. Verify PostgreSQL is running:
  2. Check database credentials:
  3. Check connection settings in .env:
  4. Restart PostgreSQL:
  5. Check PostgreSQL logs:

Redis Connection Issues

Problem: Redis connection timeout or refused Symptoms:
  • Cache operations failing
  • Session errors
  • Redis connection refused messages
Solutions:
  1. Verify Redis is running:
  2. Start Redis:
  3. Check Redis logs:
  4. 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
Solutions:
  1. Check resource limits:
  2. Check logs:
  3. Reset OpenSearch:
  4. 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
Solutions:
  1. Check service logs:
  2. Check port availability:
  3. Verify database is ready:
  4. 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
Solutions:
  1. Check resource constraints:
  2. Check database connections:
  3. Review logs for patterns:

High Memory Usage

Problem: Services consuming excessive memory Solutions:
  1. Check which service is consuming memory:
  2. For OpenSearch (common culprit):
  3. For PostgreSQL:
  4. General troubleshooting:

Network Issues

Cannot Access Services

Problem: Services are running but not responding to requests Symptoms:
  • curl: (7) Failed to connect
  • Connection refused
  • Services ping but don’t respond
Solutions:
  1. Verify services are running:
  2. Check port bindings:
  3. Test network connectivity:
  4. Check firewall:
  5. 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
Solutions:
  1. Verify network:
  2. Test service-to-service connectivity:
  3. Check Docker Compose:
  4. Recreate network:

Data Issues

Lost Data After Restart

Problem: Data disappeared after stopping/restarting containers Solutions:
  1. Verify volumes are properly mounted:
  2. Check Docker Compose volume configuration:
  3. Ensure data directory exists:
  4. 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
Solutions:
  1. Check database integrity:
  2. VACUUM and ANALYZE:
  3. Rebuild indexes:
  4. Full restoration:

Performance Issues

Slow API Responses

Problem: API endpoints responding slowly Solutions:
  1. Check database performance:
  2. Monitor resource usage:
  3. Check query plans:
  4. Create missing indexes:
  5. Reduce logging verbosity:

High Database Connection Usage

Problem: Too many database connections consuming resources Solutions:
  1. Monitor connections:
  2. Increase connection limit:
  3. Kill idle connections:

Slow Search/Analytics

Problem: OpenSearch searches timing out or slow Solutions:
  1. Check OpenSearch status:
  2. Monitor task queue:
  3. Optimize index settings:
  4. 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:
  1. Steps to reproduce
  2. Error message/logs
  3. System information
  4. What you tried to fix it
  5. Output of debug commands above

Contact Support

Quick Reference

Common Commands

Next Steps

  1. Installation - Installation guide
  2. Configuration - Config-related issues