Installation issues
Bun not found
Error:Missing ripgrep
Error:- macOS:
brew install ripgrep - Ubuntu/Debian:
apt-get install ripgrep - Fedora:
dnf install ripgrep - Windows:
choco install ripgrep
Configuration issues
Config file already exists
Error:Invalid model ID format
Error:docbot.config.jsonc follow the format provider/model-name:
Cannot find package.json
Error:docbot init from a directory that contains a package.json file, or create one:
Docker and Qdrant issues
Docker not installed
Error:- macOS/Windows: Docker Desktop
- Linux: Follow the official installation guide
Qdrant container fails to start
Error:- Check if port 6333 is already in use:
- If another process is using it, either stop that process or use a different port in your config.
- Try starting manually:
- Check Docker logs:
Qdrant not accessible
Error:- Wait 10-15 seconds for Qdrant to fully start, then test:
- If still not accessible, check container status:
- Restart the container:
Connection refused when accessing Qdrant
Error:- Verify Qdrant is running:
- If not running, start it:
- Check the URL in your config matches:
Collection already exists error
Error:Indexing issues
Indexing is very slow
Expected behavior: Indexing can take 5-10 minutes for large codebases. This is normal. To speed up indexing:- Exclude unnecessary directories in your
.gitignore - Use more specific codebase paths:
- Use a faster embedding model (though quality may decrease):
Out of memory during indexing
Error:No files indexed
Error:- Check that paths in config are correct:
- Verify paths in
docbot.config.jsonc:
- Try specifying paths explicitly:
Runtime issues
AI Gateway API key missing
Error:.env file:
Server port already in use
Error:- Use a different port:
- Or update your config:
- Or find and stop the process using port 3070:
Search returns no results
Issue: Search commands return empty results. Solution:- Verify index exists:
- Check collection names match your config:
- Re-index if needed:
TUI display issues
Issue: Terminal UI appears broken or garbled. Solution:- Ensure terminal supports ANSI colors and Unicode
- Try running without TUI:
- Disable verbose mode:
Model and API issues
Rate limit exceeded
Error:- Wait a few minutes and retry
- Consider using different models with higher rate limits
- Check your AI Gateway quota and billing
Model not found
Error:- Verify the model ID is correct and supported by Vercel AI Gateway
- Check for typos in
docbot.config.jsonc - Ensure your AI Gateway subscription supports that model
Token limit exceeded
Error:- Use a model with larger context:
- Break down large tasks into smaller subtasks
- Reduce the amount of code/docs being analyzed at once
Getting help
If you’re still experiencing issues:-
Check logs: Run with
--verboseflag: -
View log panel in TUI: Press
Ctrl+Lto toggle -
Check Docker logs:
- Open an issue: GitHub Issues
- Reach out on X: @pariscestchiant
When reporting issues, include:
- Docbot version (
docbot --version) - Operating system
- Error messages and logs
- Configuration file (redact sensitive data)
Next steps
- Review local setup guide for initial configuration
- Learn about Docker and Qdrant setup
- Configure custom models for optimization