Troubleshooting¶
Common issues and solutions for Omakase homelab.
Service Won't Start¶
Symptom¶
Service fails to start or immediately exits.
Diagnosis¶
# Check service status
docker compose ps <service>
# View logs
docker compose logs <service>
# Inspect container
docker inspect <container-name>
Common Causes¶
Missing Secrets¶
Error: required variable ... not set
Solution: Verify secrets in Infisical:
Add missing secrets to Infisical vault.
Permission Issues¶
Error: permission denied in logs
Solution: Fix directory permissions:
Port Conflicts¶
Error: port is already allocated
Solution: Check which service is using the port:
Network Conflicts¶
Error: network ... overlaps with other
Solution: Check allocated subnets:
Adjust subnet in compose file to avoid conflicts.
Infisical Authentication Fails¶
Symptom¶
Commands fail with authentication errors.
Solution¶
Verify environment variables:
Re-authenticate:
Check .env file or export variables:
export INFISICAL_DOMAIN="your-domain"
export INFISICAL_PROJECT_ID="your-project-id"
export INFISICAL_CLIENT_ID="your-client-id"
export INFISICAL_CLIENT_SECRET="your-client-secret"
Can't Access Service¶
Symptom¶
Service not accessible via browser.
Diagnosis¶
Check Service Status¶
Check Traefik Routing¶
# View Traefik logs
docker compose logs traefik | grep <service>
# Access Traefik dashboard
# https://traefik.yourdomain.com
Check DNS¶
Common Causes¶
DNS Not Configured¶
Solution: Add DNS record pointing to server IP:
Authelia Blocking Access¶
Solution: Check Authelia logs:
Verify user is authenticated and has access.
Certificate Issues¶
Error: SSL certificate errors
Solution: Check Let's Encrypt logs:
Verify domain is publicly accessible on port 80/443.
Wrong Network Configuration¶
Solution: Verify service is on ingress network:
Database Connection Fails¶
Symptom¶
Service can't connect to database.
Diagnosis¶
# Check database is running
docker compose ps postgres
# Check database logs
docker compose logs postgres
# Test connection from service container
docker exec <service> ping postgres
Solutions¶
Database Not Ready¶
Solution: Add healthcheck and depends_on:
Wrong Database Credentials¶
Solution: Verify credentials in Infisical:
Network Isolation¶
Solution: Ensure both services on same network:
Backup Fails¶
Symptom¶
Restic backup fails to complete.
Diagnosis¶
# Check backup logs
docker compose logs backup
# Test Backblaze connection
docker exec restic-backup restic snapshots
Common Causes¶
Invalid Backblaze Credentials¶
Solution: Verify B2 credentials in Infisical:
Repository Locked¶
Error: repository is already locked
Solution: Unlock repository:
Storage Full¶
Solution: Check repository size and prune:
High Resource Usage¶
Symptom¶
Server running slow, high CPU/memory usage.
Diagnosis¶
Solutions¶
Memory Leak¶
Identify problematic container:
Restart affected service:
Too Many Services¶
Stop non-critical services:
Insufficient Resources¶
Add resource limits to compose files:
CrowdSec Blocking Legitimate Traffic¶
Symptom¶
Your IP is blocked by CrowdSec.
Solution¶
Check decisions:
Remove your IP:
Add IP to whitelist in CrowdSec config.
Docker Socket Permission Denied¶
Symptom¶
Error: permission denied while trying to connect to Docker daemon
Solution¶
This should never happen - services should use Cetusguard proxy, not direct socket access.
Check service is connecting to Cetusguard:
Configuration Validation Fails¶
Symptom¶
make config shows errors.
Diagnosis¶
# Validate compose syntax
docker compose -f compose.yaml config
# Check for missing secrets
make config 2>&1 | grep "not set"
Solutions¶
YAML Syntax Error¶
Check compose file syntax: - Correct indentation (2 spaces) - No tabs - Proper quoting
Missing Environment Variables¶
Add to Infisical or .env file.
Logs Not Appearing¶
Symptom¶
docker compose logs shows no output.
Solutions¶
Check Log Driver¶
Verify logging configuration:
Increase Log Retention¶
In compose file:
General Debugging Steps¶
-
Check service logs:
-
Verify configuration:
-
Check service status:
-
Inspect container:
-
Test connectivity:
-
Check resource usage:
-
Review recent changes:
Getting Help¶
If you can't resolve the issue:
- Check GitHub Issues
- Review service-specific documentation in
docs/services/ - Check upstream documentation for the service
- Search for error messages in service logs
See Also¶
- Maintenance - Regular maintenance tasks
- Backup - Backup and restore procedures
- Installation - Initial setup