Troubleshooting GitLab Orbit Local
- Tier: Free, Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
- Status: Beta
When working with GitLab Orbit Local, or the orbit binary directly, you might encounter the
following issues.
Error: no local graph found
You might get an error that states:
Error: no local graph found at ~/.orbit/graph.duckdb. Run `orbit index` first.This issue occurs when the repository is not indexed yet, or when the --db path you specified
does not exist.
On earlier versions of GitLab Orbit Local, this error was reported as
Table 'Definition' does not exist.
To resolve this issue, index the repository:
glab orbit index /path/to/your/repoError: Could not set lock on file
A command might pause briefly, then fail with an error that contains
IO Error: Could not set lock on file.
This issue occurs when another orbit process is already running and holds the DuckDB write
lock.
GitLab Orbit retries automatically, but fails if the lock is not
released in the retry window.
To resolve this issue, wait for the other process to finish, or stop it:
pkill orbitThen run your command again.
Error: list_contains source_tags
A query might fail with an error that contains list_contains source_tags.
This issue occurs because of a known bug that certain filter combinations trigger, including the
source_tags property.
The workaround is to remove any source_tags filter from your query and run the query again.
Error: unrecognized subcommand 'mcp'
You might get an error that states:
error: unrecognized subcommand 'mcp'This issue occurs when your installed orbit binary version is older than the GitLab release
that introduced the mcp command.
To resolve this issue, update the managed binary, then start the stdio MCP server:
glab orbit --update
glab orbit mcp serveIf you installed orbit directly, run the installer again.
For more information, see the GitLab Orbit CLI instructions.