Changes for docs/source/local/troubleshooting.md: 89 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
---
stage:Orbit
group:Context Systems
info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments
description:Troubleshoot common errors in GitLab Orbit Local.
-[Introduced](https://gitlab.com/gitlab-org/orbit/knowledge-graph/-/work_items/324) in GitLab 19.0 as an [experiment](https://docs.gitlab.com/policy/development_stages_support/#experiment).
-[Changed](https://gitlab.com/gitlab-org/orbit/knowledge-graph/-/work_items/324) to [beta](https://docs.gitlab.com/policy/development_stages_support/#beta) in GitLab 19.1.
{{</history>}}
When working with GitLab Orbit Local, or the `orbit` binary directly, you might encounter the following issues.
## `no local graph found`
Symptoms:
```plaintext
Error: no local graph found at ~/.orbit/graph.duckdb. Run `orbit index` first.
```
Cause: The repository has not been indexed yet, or the `--db` path you
specified does not exist. On older versions of GitLab Orbit Local, this error was
reported as `Table 'Definition' does not exist`.
Resolution: Index the repository first:
```shell
glab orbit local index /path/to/your/repo
```
## `IO Error: Could not set lock on file`
Symptoms: A command appears to pause briefly, then fails with an error
containing `Could not set lock on file`.
Cause: Another `orbit` process is already running and holds the DuckDB
write lock. GitLab Orbit retries automatically with exponential backoff, but fails if
the lock is not released within the retry window.
Resolution: Wait for the other process to finish, or stop it:
```shell
pkill orbit
```
Then retry your command.
## `list_contains source_tags`
Symptoms: A query fails with an error containing `list_contains source_tags`.
Cause: A known bug triggered by certain filter combinations that include
the `source_tags` property.
Resolution: Remove any `source_tags` filter from your query and retry.
## `error: unrecognized subcommand 'mcp'`
Symptoms:
```plaintext
error: unrecognized subcommand 'mcp'
```
Cause: Your installed `orbit` binary predates the GitLab Orbit Local MCP
server.
Resolution: Update the managed binary, then start the stdio MCP server:
```shell
glab orbit --update
glab orbit local mcp serve
```
If you installed `orbit` directly, rerun the installer from the
Changes for docs/source/remote/troubleshooting.md: 63 added lines, 0 removed lines.
Original line number
Diff line number
Diff line
---
stage:Orbit
group:Context Systems
info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments
description:Troubleshoot common errors in GitLab Orbit Remote.
title:Troubleshoot GitLab Orbit Remote
---
{{<details>}}
- Tier: Premium, Ultimate
- Offering: GitLab.com
- Status: Beta
{{</details>}}
{{<history>}}
-[Introduced](https://gitlab.com/gitlab-org/gitlab/-/work_items/583676) in GitLab 18.10 [with a feature flag](https://docs.gitlab.com/administration/feature_flags/) named `knowledge_graph`. Disabled by default. This feature is an [experiment](https://docs.gitlab.com/policy/development_stages_support/#experiment).
-[Changed](https://gitlab.com/gitlab-org/gitlab/-/work_items/583676) to [beta](https://docs.gitlab.com/policy/development_stages_support/#beta) in GitLab 19.1.
{{</history>}}
> [!flag]
> The availability of this feature is controlled by a feature flag.
> For more information, see the history.
> This feature is available for testing, but not ready for production use.
When working with GitLab Orbit Remote, you might encounter the following issues.
## Exit code 2
Symptoms: `glab orbit remote` commands exit with code 2.
Cause: The `knowledge_graph` feature flag is not enabled for your
namespace or instance.
Resolution: Contact your GitLab administrator to enable the
`knowledge_graph` feature flag for your namespace.
## Exit code 3
Symptoms: `glab orbit remote` commands exit with code 3.
Cause: You are not authenticated with the GitLab CLI.
Resolution: Log in:
```shell
glab auth login
```
## `insufficient_scope` on the MCP endpoint
Symptoms: Connecting to the GitLab Orbit MCP endpoint fails with
`insufficient_scope`.
Cause: The personal access token or OAuth token does not include the
`mcp_orbit` scope. The `read_api` scope alone is not sufficient for the MCP
transport.
Resolution: Create a new token with the `mcp_orbit` scope, or
Changes for docs/source/troubleshooting.md: 8 added lines, 129 removed lines.
Original line number
Diff line number
Diff line
---
stage:Orbit
group:Context Systems
info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments
description:Troubleshoot common errors in GitLab Orbit Local and GitLab Orbit Remote.