Troubleshooting

July 21, 2026 ยท View on GitHub

Check Memgraph Connection

  • Ensure Docker containers are running: docker compose ps
  • Verify Memgraph is accessible on port 7687

View Database in Memgraph Lab

Local Model Issues (Ollama)

  • Verify Ollama is running: ollama list
  • Check if models are downloaded: ollama pull llama3
  • Test Ollama API: curl http://localhost:11434/v1/models
  • Check Ollama logs: ollama logs

General Checklist

  1. Check the logs for error details
  2. Verify Memgraph connection
  3. Ensure all environment variables are set
  4. Review the graph schema matches your expectations
  5. Run cgr doctor to validate your setup

Language Grammar Issues

Grammar not found: Use a custom URL:

cgr language add-grammar --grammar-url https://github.com/custom/tree-sitter-mylang

Version incompatibility: Update tree-sitter:

uv add tree-sitter@latest

Missing node types: Manually adjust the configuration in codebase_rag/language_spec.py.