Repository navigation
Troubleshooting
Generated from
docs/user-guide/04-troubleshooting.mdat3f7e3ea3cab7. Edit the source, not this page -- the next merge to main overwrites any change here.
Symptoms: "Permission denied" errors during setup Solution:
# The installer must run as root
sudo ./install.shSymptoms: "Python 3.14 not found" or version mismatch errors Solution:
# Install Python 3.14 via deadsnakes PPA (Issue #1898)
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install -y python3.14 python3.14-venv python3.14-dev
# Recreate virtual environment
rm -rf venv
python3.14 -m venv venvSymptoms: Startup fails with configuration errors Diagnosis:
# Check logs
tail -f logs/agent.log
# Validate configuration
python -c "from src.config import config; config.validate()"Common Fixes:
- Verify
config/config.yamlsyntax - Check file permissions on data directories
- Ensure required ports are available
Symptoms: "Connection refused" or timeout errors Diagnosis:
# For Ollama
curl http://localhost:11434/api/version
# For OpenAI API
curl -H "Authorization: Bearer $OPENAI_API_KEY" \
https://api.openai.com/v1/modelsSolutions:
- Ollama: Install and start Ollama service
- OpenAI: Verify API key and quota
- Local Models: Check GPU/CPU resources
Symptoms: Long delays between commands and responses Diagnosis:
- Check CPU/GPU usage:
htop,nvidia-smi - Review logs for bottlenecks
- Monitor memory usage
Solutions:
- Enable GPU acceleration for local models
- Increase hardware resources
- Optimize model settings (quantization, context length)
- Use faster models for simple tasks
Symptoms: System slowing down, OOM errors Solutions:
# Monitor memory
watch -n 1 free -h
# Restart with memory limits
python -Xmx4g main.pySymptoms: The web UI does not load, or the health check below fails.
The backend is reached through nginx, never on a port of its own. In Docker, port 8001 is
RedisInsight, not the backend (#19183).
| Install | Web UI | Health check |
|---|---|---|
| Docker |
http://localhost (https://localhost when AUTOBOT_DOCKER_NGINX_CONF selects the TLS config) |
curl http://localhost/api/system/health (with TLS: curl -k https://localhost/api/system/health) |
Native (install.sh) |
https://<server> (SLM at /slm/) |
curl -k https://<server>/api/system/health (self-signed certificate) |
Diagnosis:
# Is nginx listening? (Docker: 80; native: 443)
ss -tlnp | grep -E ':(80|443)\b'
# Docker: are the containers up and healthy?
docker compose --env-file docker/.env.docker --env-file docker/.env.secrets ps
# Native: are the services running?
systemctl status nginx autobot-slm-backendSolutions:
- Run the health check for your install type from the table above
- Check firewall settings for port 80 (Docker) or 443 (native)
- Docker:
docker compose --env-file docker/.env.docker --env-file docker/.env.secrets logs autobot-frontend autobot-backend(the frontend container's nginx serves the UI and proxies/api)
Symptoms: Knowledge base and memory features unavailable Solutions:
# Install Redis
sudo apt install redis-stack-server # Ubuntu/Debian
brew install redis # macOS
# Start Redis service
sudo systemctl start redis-stack-server
# Test connection
redis-cli pingSymptoms: Falls back to CPU inference despite GPU availability Diagnosis:
# Check NVIDIA GPU
nvidia-smi
# Check AMD GPU
rocm-smi
# Test PyTorch GPU access
python -c "import torch; print(torch.cuda.is_available())"Solutions:
- Install/update GPU drivers
- Install CUDA toolkit or ROCm
- Reinstall PyTorch with GPU support:
# NVIDIA CUDA
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118
# AMD ROCm
pip install torch torchvision --index-url https://download.pytorch.org/whl/rocm5.4.2Symptoms: Search queries don't find expected content Diagnosis:
- Check if knowledge base is populated
- Verify embedding model is working
- Test with simple queries
Solutions:
- Re-index knowledge base
- Check embedding model compatibility
- Verify search query format
Symptoms: Cannot add documents to knowledge base Solutions:
- Check file format support (PDF, DOCX, TXT, etc.)
- Verify file size limits
- Check storage permissions
# Run comprehensive diagnostics
python scripts/health_check.py
# Check specific components
python -c "from src.diagnostics import check_llm; check_llm()"
python -c "from src.diagnostics import check_knowledge_base; check_knowledge_base()"# View recent errors
grep ERROR logs/agent.log | tail -20
# Monitor real-time logs
tail -f logs/agent.log logs/llm_usage.log
# Search for specific issues
grep -i "memory\|gpu\|connection" logs/agent.log# Dump current configuration
python -c "from src.config import config; import json; print(json.dumps(config.to_dict(), indent=2))"
# Test configuration sections
python -c "from src.config import config; print(config.get_llm_config())"- Review relevant user guide sections
- Check developer documentation for technical details
- Search project issues on GitHub
Before reporting issues, gather:
- Operating system and version
- Python version (
python --version) - AutoBot version/commit hash
- Configuration file (remove sensitive data)
- Relevant log entries
- Hardware specifications
- GitHub Issues: Primary support channel
- Include Debug Info: Attach logs and system information
- Reproducible Steps: Provide clear reproduction instructions
- Expected vs Actual: Describe what should happen vs what does
- Project documentation and wiki
- Community discussions and forums
- Example configurations and use cases
# Stop all processes
pkill -f autobot
# Backup data
cp -r data/ data.backup/
cp config/config.yaml config.backup.yaml
# Reset to defaults
sudo ./install.sh --reinstall # keeps the existing admin password
# Restore data if needed
cp -r data.backup/* data/# Start with minimal configuration
python main.py --safe-mode --no-gpu --no-workers