正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。
ドキュメントに関する現在のご利用体験についてお聞かせください。アンケートにご協力ください。

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 ~/.gitlab/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:

shell
glab orbit index /path/to/your/repo

Error: 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:

shell
pkill orbit

Then 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:

shell
glab orbit --update
glab orbit mcp serve

If you installed orbit directly, run the installer again. For more information, see the GitLab Orbit CLI instructions.