Error: change mount propagation through procfd: open o_path procfd
Solution: This is resolved in the current version using Docker named volumes instead of bind mounts.
Verification:
docker compose logs postgres
# Should show successful startup without mount errorsSymptoms: Services fail to start or crash immediately
Diagnosis:
# Check service status
docker compose ps
# Check logs
docker compose logs [service-name]
# Check system resources
docker statsSolutions:
- Insufficient resources: Increase RAM/CPU allocation
- Port conflicts: Check if ports are already in use
- Permission issues: Fix AI_Data permissions
# Fix permissions
sudo chown -R $USER:$USER AI_Data/
chmod -R 755 AI_Data/Symptoms: Services can't communicate with each other
Diagnosis:
# Check network
docker network ls
docker network inspect flowtech-ai_flow-ai-network
# Test connectivity
docker compose exec openwebui ping postgres
docker compose exec n8n ping qdrantSolutions:
- Restart network:
docker compose down && docker compose up -d - Check firewall: Ensure Docker ports are not blocked
- Verify DNS: Use container names, not localhost
Symptoms: AI responses are slow or timeout
Diagnosis:
# Check Ollama service
curl http://localhost:11434/api/version
# Check model availability
ollama list
# Monitor resource usage
docker statsSolutions:
- Ollama not running: Start Ollama service
- Model not loaded: Pull required models
- Resource constraints: Increase VM resources
# Start Ollama
ollama serve
# Pull models
ollama pull qwen2.5:7b
ollama pull llama3.2:3bSymptoms: Services crash due to memory exhaustion
Diagnosis:
# Check memory usage
free -h
docker stats
# Check swap
swapon --showSolutions:
- Increase VM memory: Allocate more RAM
- Enable swap: Add swap space
- Optimize models: Use smaller models
# Add swap (if needed)
sudo fallocate -l 8G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfileSymptoms: RAG not working, search failures
Diagnosis:
# Check Qdrant status
curl http://localhost:6333/health
# Check collections
curl http://localhost:6333/collectionsSolutions:
- Restart Qdrant:
docker compose restart qdrant - Check disk space: Ensure sufficient storage
- Recreate collections: Delete and recreate if corrupted
Symptoms: n8n can't connect to PostgreSQL
Diagnosis:
# Check PostgreSQL
docker compose exec postgres pg_isready
# Test connection
docker compose exec postgres psql -U n8n -d n8n -c "SELECT 1;"Solutions:
- Restart PostgreSQL:
docker compose restart postgres - Check credentials: Verify .env file
- Reset database: Use init.sh with DEV_MODE=true
Symptoms: Services fail with configuration errors
Diagnosis:
# Check .env file
cat .env
# Verify variables
docker compose configSolutions:
- Regenerate .env: Delete and run init.sh
- Fix syntax: Check for missing quotes or spaces
- Update passwords: Ensure strong passwords
Symptoms: Services fail to bind to ports
Diagnosis:
# Check port usage
netstat -tuln | grep -E "(8081|5678|3300|8082|6333)"
# Check Docker ports
docker compose psSolutions:
- Change ports: Update .env file
- Stop conflicting services: Identify and stop other services
- Use different ports: Modify docker-compose.yml
Symptoms: Can't access web interfaces
Diagnosis:
# Check credentials in .env
grep -E "(USER|PASSWORD|EMAIL)" .env
# Test service endpoints
curl -I http://localhost:8081
curl -I http://localhost:5678Solutions:
- Reset passwords: Regenerate in .env
- Clear browser cache: Clear cookies and cache
- Check service status: Ensure services are running
Symptoms: API calls fail with auth errors
Diagnosis:
# Check API keys
curl -H "Authorization: Bearer $API_KEY" http://localhost:8081/api/v1/chatSolutions:
- Regenerate API keys: Create new keys in service settings
- Check token format: Ensure proper Bearer token format
- Verify permissions: Check user permissions
#!/bin/bash
# health-check.sh
echo "=== System Resources ==="
free -h
df -h
uptime
echo "=== Docker Status ==="
docker --version
docker compose version
docker compose ps
echo "=== Service Health ==="
curl -s http://localhost:8081 > /dev/null && echo "OpenWebUI: OK" || echo "OpenWebUI: FAIL"
curl -s http://localhost:5678 > /dev/null && echo "n8n: OK" || echo "n8n: FAIL"
curl -s http://localhost:3300 > /dev/null && echo "Langfuse: OK" || echo "Langfuse: FAIL"
curl -s http://localhost:8082 > /dev/null && echo "SearxNG: OK" || echo "SearxNG: FAIL"
curl -s http://localhost:6333 > /dev/null && echo "Qdrant: OK" || echo "Qdrant: FAIL"
echo "=== Ollama Status ==="
curl -s http://localhost:11434/api/version > /dev/null && echo "Ollama: OK" || echo "Ollama: FAIL"
echo "=== Network Connectivity ==="
docker compose exec openwebui ping -c 1 postgres > /dev/null && echo "OpenWebUI -> PostgreSQL: OK" || echo "OpenWebUI -> PostgreSQL: FAIL"
docker compose exec n8n ping -c 1 qdrant > /dev/null && echo "n8n -> Qdrant: OK" || echo "n8n -> Qdrant: FAIL"# Service logs
docker compose logs --tail=100 [service-name]
# Application logs
tail -100 logs/init-*.log
# System logs
journalctl -u docker.service --since "1 hour ago"# Resource usage
docker stats --no-stream
# Network monitoring
docker compose exec [service] netstat -tuln
# Database performance
docker compose exec postgres psql -U n8n -d n8n -c "SELECT * FROM pg_stat_activity;"# WARNING: This will delete all data
# Edit init.sh: set DEV_MODE=true
sudo ./init.sh# Restart specific service
docker compose restart [service-name]
# Restart all services
docker compose down
docker compose up -d# Restore from backup
tar -xzf backup/ai_data.tar.gz
docker compose exec -T postgres psql -U n8n n8n < backup/postgres.sql
docker compose restart- Check logs: Review service and application logs
- Run diagnostics: Use health-check script
- Verify prerequisites: Ensure system requirements are met
- Search issues: Check GitHub issues for similar problems
When reporting issues, include:
- System information: OS, Docker version, hardware specs
- Error messages: Complete error output
- Logs: Relevant log excerpts
- Steps to reproduce: Clear reproduction steps
- Environment: .env file (without passwords)
- GitHub Issues: For bug reports and feature requests
- Documentation: Check existing docs first
- Community: GitHub discussions
Related: SETUP.md | USER_GUIDE.md | DEVELOPER_GUIDE.md