Skip to content

Troubleshooting

Start with the symptom. Avoid deleting data volumes as a general repair step.

Start Docker Desktop or Rancher Desktop and wait for it to finish. Rancher should use the dockerd engine. Check with:

Terminal window
docker info
docker compose version

Check that all required .env values are filled and Docker has enough resources. A fresh installation can choose another port with bash install.sh --port 9090 in the docker-compose directory. For an existing installation, change ONTLGY_PORT and ONTLGY_PUBLIC_URL together and recreate the services.

A registry EOF can be transient; the install script retries the image pull and start. Inspect the last error before retrying again. If an image cannot be pulled, check that the host can reach Docker Hub and that ONTLGY_IMAGE_TAG, if you set it, names a published tag.

Terminal window
docker compose ps
docker compose logs --tail 100 app worker

On Kubernetes, use kubectl -n ontlgy get pods, kubectl -n ontlgy describe pod <name> and kubectl -n ontlgy logs deploy/ontlgy-app (or deploy/ontlgy-worker). A pod stuck in Pending usually has no storage class or not enough memory; ImagePullBackOff means the image or tag cannot be pulled.

Open its error in Repositories. Confirm the token can read it and the worker is running. Use Retry after fixing the cause. If indexing completed but a symbol is missing, compare the returned commit with your checkout and use Re-index now if needed.

An index with no matching symbol may reflect a spelling, scope or extraction-coverage issue. It does not prove the source file is absent.

localhost is not reachable from GitHub. Use manual re-indexing locally, or configure a reachable HTTPS URL in ONTLGY_PUBLIC_URL and use Retry webhook. Verify the token’s webhook permission.

  • Use the /mcp endpoint, not the application homepage.
  • Check that the key was copied correctly and has not been revoked.
  • Verify that the actual agent process can reach the hostname. Remote agents cannot use your laptop’s localhost.
  • Reload the MCP configuration. For Codex, ensure the process inherits ONTLGY_API_KEY.
  • Run the app’s connection test, then make a real query from the agent.

See agent setup.

The default lean profile exposes 11 tools. Set ONTLGY_TOOLS=full for the eight additional tools, recreate the services and refresh the client. A client may also filter which tools it presents. Compare against the reference.

Check that its source scope is selected, indexing completed and the source is healthy. Search title/heading terms and inspect coverage. Generated discovery records can expand matches, but source bodies are not stored as a full-text corpus.

AUTH_EXPIRED requires reconnecting the source. An incomplete Notion root may need splitting. A restricted/unavailable read should not be bypassed with stale content.

If doc_read reports source_changed or invalid_cursor, refresh the record and start a new read; do not reuse an old cursor. The stdio server has no installation source reader—use authenticated HTTP MCP.

Check worker heartbeat, selected scopes, provider connection, processing state and daily reservations in Agents. Pausing processing and hiding discovery are separate controls. Resolve the reported job failure or budget condition before retrying.

Include the deployed image tag, affected operation, time, source/index status and a redacted error. Remove API keys, tokens, passwords and private document/source content. Never attach .env or an expanded Compose configuration.

Contact the team if the documented checks do not resolve the problem.