Quick diagnostics
Run a quick health check:Common issues
Cannot connect to Stack API
Cannot connect to Stack API
Symptoms: Connection refused, timeoutSolutions:
-
Check if Stack is running:
-
Verify port is listening:
-
Check firewall rules:
-
Check Docker logs:
Agent not connecting
Agent not connecting
Symptoms: Worker shows as
unreachable or pendingSolutions:-
Verify agent is running on the node:
-
Check agent logs:
-
Test connectivity from agent to Stack:
-
Verify certificates:
-
Check if worker needs approval:
Deployment fails during validation
Deployment fails during validation
Symptoms: “Validation failed” errorSolutions:
-
Check your
kombination.yamlsyntax: -
Get detailed validation errors:
-
Common validation errors:
- Missing required fields
- Invalid service names
- Unsupported StackKit
- Resource constraints violated
SSL certificate errors
SSL certificate errors
Symptoms: “certificate verify failed”, “unknown CA”Solutions:
-
For mTLS agent connections, ensure CA is correct:
-
Regenerate certificates:
-
For Let’s Encrypt issues:
- Verify domain points to your server
- Check rate limits: https://letsencrypt.org/docs/rate-limits/
- Try staging environment first
Database errors
Database errors
Symptoms: “database locked”, corruption warningsSolutions:
-
Check database file permissions:
-
For “database locked”:
-
Restore from backup:
Drift detection shows unexpected changes
Drift detection shows unexpected changes
Symptoms: Drift alerts for unchanged resourcesSolutions:
-
Check drift details:
-
Common causes:
- Manual changes on nodes (not via Stack)
- Container restarts changing IPs
- Time-based values in configs
-
Resolve drift:
Services not starting on nodes
Services not starting on nodes
Symptoms: Deployment succeeds but services unhealthySolutions:
-
Check service logs on node:
-
Verify resources available:
-
Check network connectivity:
-
Verify port bindings:
Log analysis
Enable debug logging
Log locations
| Component | Location |
|---|---|
| Stack API | docker logs kombistack or stdout |
| Agent | /var/log/kombify-agent.log or journald |
| OpenTofu | /data/tofu/logs/ |
| PocketBase | Embedded in Stack logs |
Log filtering
Diagnostic commands
Get system info
Export debug bundle
Collect all diagnostic information:- Logs (last 24h)
- Configuration (sanitized)
- Worker status
- Recent job history
- System metrics
Check connectivity matrix
Recovery procedures
Reset stuck job
Rebuild worker connection
Factory reset (caution!)
Getting help
If you’re still stuck:- Search docs: Use the search bar above
- Community Discord: discord.gg/kombify
- GitHub Issues: github.com/kombify/stack/issues
- Stack version (
curl http://localhost:5260/api/v1/info) - Error messages (full log output)
- Steps to reproduce
- Your
kombination.yaml(sanitized)
