You don’t need to understand the technical details to use this feature. The configuration examples below are copy-paste ready.
Quick health check
Run these three commands in order. If all three pass, your installation is healthy. Check 1 — CLI health:Full diagnostic
For a comprehensive check across all subsystems, run the doctor command:| Category | What it verifies |
|---|---|
| Config | YAML syntax, required fields, valid provider settings |
| Daemon | Background process is running and responsive |
| Gateway | HTTP server is listening on the configured port |
| Channel | Connectivity for each configured channel |
| Workspace | File permissions, data directory structure |
If doctor finds fixable issues, run
comis doctor --repair to attempt
automatic fixes. The repair mode handles common problems like stale PID files,
incorrect file permissions, and missing directories.Security audit
Run a security check to verify your installation follows best practices:For details on each security check and how to resolve findings, see
Security: Audit.
What each check means
| Check | What It Verifies | Common Fix |
|---|---|---|
| Config | YAML syntax, required fields | Run comis config validate for details |
| Daemon | Background process is running | Run comis daemon start |
| Gateway | HTTP server listening on port | Check port 4766 availability |
| Channel | Platform bot tokens are valid | Re-enter token in config or .env |
| Workspace | File permissions, data directory | Run comis doctor --repair |
Common problems
Daemon not starting
Daemon not starting
Symptom:
comis daemon start fails or the daemon exits immediately.Fix:- Check the daemon logs:
comis daemon logs - Verify your config is valid:
comis config validate - Make sure no other process is using port 4766
- Check file permissions on
~/.comis/
Gateway not responding
Gateway not responding
Symptom:
curl http://localhost:4766/health returns “connection refused.”Fix:- Confirm the daemon is running:
comis daemon status - Check that the gateway is enabled in config (it is enabled by default)
- Verify the correct port: check
gateway.portin your config - If running in Docker, ensure the host is set to
0.0.0.0
Config parse error
Config parse error
Symptom: Daemon fails to start with a configuration error message.Fix:
- Run
comis config validateto see the exact error with line number - Common YAML issues: incorrect indentation, missing quotes around special characters, tabs instead of spaces
- Verify all
${VAR}references have matching entries in your.envfile
Channel disconnected
Channel disconnected
Symptom:
comis doctor reports a channel check failure.Fix:- Verify the bot token is correct in your
.envfile - Check that the bot has not been deactivated on the platform
- Confirm network connectivity to the platform API
- For Telegram: make sure the bot token is from @BotFather
Permission denied on data directory
Permission denied on data directory
Symptom: Errors mentioning
EACCES or permission denied for paths
under ~/.comis/.Fix:- Run
comis doctor --repairto fix common permission issues - Manually fix ownership:
sudo chown -R $(whoami) ~/.comis - Check that
~/.comis/has mode700:ls -ld ~/.comis
Getting help
If the checks above do not resolve your issue:- Troubleshooting — detailed solutions for common problems organized by category
- FAQ — answers to frequently asked questions
- GitHub Issues — report a bug or search for known issues
Next steps
Troubleshooting
Detailed solutions for common problems.
FAQ
Answers to frequently asked questions.
Connect a Channel
Add Telegram, Discord, Slack, and more.
Configuration Guide
Customize your agent settings and advanced options.
