Skip to main content

Troubleshooting

Start with the product surface you are actually using. Normal local Workspaces use is a coding-agent plugin/integration and does not depend on a LemonCrow Workspaces daemon or port 7420.

lc is not found after install​

bash: lc: command not found

Check where LemonCrow was installed and make sure its bin directory is on PATH:

which lc
lc --version

The installer adds the bin directory to ~/.bashrc or ~/.zshrc for new terminals. In the terminal you installed from, run the Activate in this terminal: line the installer printed (source ~/.lemoncrow/shell-env.sh for the default home), or open a new terminal.

LemonCrow is installed but my agent does not see it​

First check product and integration state:

lc status
lc rt status

Claude Code / Codex / OpenCode​

Try the temporary plugin path from inside a Git repository:

lc with claude
lc with codex
lc with opencode

If that works and you want the integration always available, persist it with lc rt enable <host>.

If lc with says it needs a Git repository, cd into the repository first. Workspaces Lite prepares repository intelligence under .lemoncrow/workspace/.

Cursor​

Cursor uses an integration installed from a source checkout rather than lc with; the public installer and lc rt enable do not configure it (lc rt enable cursor reports unsupported agent 'cursor'). Install it with bash scripts/install_cursor.sh from the checkout (see Installation).

From a source checkout:

bash scripts/verify_cursor.sh

For workspace-specific installs:

bash scripts/verify_cursor.sh --workspace /path/to/repo

See Cursor integration.

lc code --pro is rejected​

The old local Pro execution mode is removed; --pro is not a compatibility flag. lc code now means the Hosted LemonCrow-owned coding agent, which is not yet available.

For local Workspaces Lite, use lc with claude|codex|opencode|pi, Cursor's integration from a source checkout, or a persistent local integration. Pi is public, managed with lc rt host ... --engine pi, and launchable for one Lite session with lc with pi.

If lc code reports This OSS Workspaces client does not contain the Hosted owned-agent execution loop, that is expected: use a local Workspaces Lite integration, or hosted retrieval through lc rt enable <host> --hosted (see LemonCrow Pro: hosted retrieval).

A command says it is not part of this client​

The installed lc client carries Review capture, the AI review in the terminal (lc review --ai, hook, init-action, config), Workspaces Lite and product management. Some documented commands belong to the full LemonCrow CLI, which a source checkout runs as uv run lc ... (see CLI reference). The installed client says so instead of running them:

You ranWhat it means
unknown command: hostUse lc rt host. Other Workspaces verbs also live under lc rt
unknown command: usage, doctorFull CLI only. Check this install with lc status and lc rt status
lc session ... is not part of serverless Workspaces Lite (also run, context, rt model, rt savings, rt work, rt map, rt dashboard)Full CLI only
lc rt telemetry ...The installed client supports status, show, remote on and remote off. Destinations belong to the full CLI
unknown review option: --since-my-review (also --mark, --comment, --feedback, ...)Update the installed client; current versions support these flags. See Review CLI. For older clients use the Reader (lc review --open).
unknown review option: --agent (also --pr, --fail-on, --strict) without --aiThese belong to the AI review: add --ai, for example lc review --pr 123 --ai. Nothing calls a model until --ai is on the command line
lc review --ai needs the local Review engineThis install has no local engine (a Hosted install does not). Run the installer again: curl -fsSL https://lemoncrow.com/install.sh | bash

lc review --ai does not review​

It saysDo this
No AI model is set up. Set a key: export ANTHROPIC_API_KEY=...export ANTHROPIC_API_KEY=sk-ant-... (or OPENAI_API_KEY) and run it again, or lc review --ai --agent claude (also codex, opencode) to use an agent you are signed in to; add --remember once to make it the default. Your first AI review
Anthropic rejected the API key (HTTP 401): check ANTHROPIC_API_KEY.The key is wrong or revoked. Nothing was reviewed and nothing is billed
Anthropic says your account has no credit left (HTTP 400): add credit at ...Add credit at the billing page it names, then run it again
Anthropic rate limit reached (HTTP 429): wait a minute and run it again.Wait; an unchanged tree makes no new model call
could not reach AnthropicA network or proxy problem; ANTHROPIC_BASE_URL points a gateway or a local server
AI review did not run: AI budget is $0The monthly AI budget is 0, so no new AI runs. Raise it with lc settings set intelligence.monthly_budget_usd <dollars>, or remove the limit with lc settings reset intelligence.monthly_budget_usd. An older intelligence.enabled: false became a $0 budget when LemonCrow first read it
AI review did not run: AI budget used up until <date>This month's known AI cost has reached the budget (the month is UTC; it resets on the date shown). Raise or remove the budget as above. Results already made stay
lc settings set says nothing about where the key wentIt says Stored as plain text in .../plugin_settings.json, readable only by you (mode 600); there is no system keychain

When the review could not run, lc review --ai exits 3 (2 with --strict) so a script can tell it did not happen; a git hook exits 0 instead. A pre-push hook never stops a push because LemonCrow broke: it stops only for an open finding at or above --fail-on, or, with --strict, an incomplete review.

Workspaces Lite index problems​

The local repository index lives under:

<repo>/.lemoncrow/workspace/

Useful checks:

lc runtime index --help

If a repository was moved, partially deleted, or left with corrupted generated state, remove only the generated .lemoncrow/workspace/ directory and let LemonCrow rebuild it. Do not delete committed project files.

Review does not open​

Check Review/product state first:

lc status
lc review --no-open

lc status shows the Review Deployment: local or hosted.

Local Review (the default install) needs no account. If lc review cannot reach the server, check and restart it with the installed lifecycle helper:

bash ~/.lemoncrow/install/scripts/local_server.sh status
bash ~/.lemoncrow/install/scripts/local_server.sh diagnose
bash ~/.lemoncrow/install/scripts/local_server.sh restart

If the Reader page says this browser is not connected to LemonCrow Review or connection expired, run lc review --open in your terminal: it connects the browser once and the session then renews itself.

Hosted Review (installed with --hosted) needs an invited account:

unauthenticated: Hosted Review requires sign-in; run `lc auth login` first

Run lc auth login, then lc review --open. Check sign-in with lc auth status. In hosted mode the client ignores ~/.lemoncrow/token; for an operator-provided credential set LEMONCROW_TOKEN_FILE or LEMONCROW_TOKEN. If you meant to review locally without an account, reinstall with curl -fsSL https://lemoncrow.com/install.sh | bash -s -- --local.

Review and Workspaces are separate product surfaces; a healthy Workspaces plugin does not imply that a hosted/local Review service is configured, and vice versa.

403 forbidden from the Local Review server​

The Local Review server answers only a literal loopback Host on its own port (127.0.0.1:7420, localhost:7420 or [::1]:7420) and refuses anything else with 403, which also blocks DNS-rebinding pages. This affects SSH port forwarding: keep the same local port.

ssh -L 7420:127.0.0.1:7420 devbox # works: open http://127.0.0.1:7420
ssh -L 9000:127.0.0.1:7420 devbox # refused: the Host is 127.0.0.1:9000

A browser session is bound to its exact origin, so after changing how you reach the server, run lc review --open again to reconnect.

A deliberately configured local/shared service is down​

This section applies only when you intentionally run a Review/shared HTTP service or contributor deployment. It is not a prerequisite for normal local Workspaces plugin use.

From a source checkout, use the service/operations commands documented by your deployment and see Production readiness.

If your deployment uses loopback port 7420, inspect it with:

ss -ltnp | grep ':7420'

Do not expose a loopback-only local Review/service port to other machines as though it were a hardened remote service.

Spend differs from external analytics​

LemonCrow prices imported sessions from recorded provider usage where available. Mixed-model sessions can legitimately have no single session-level model.

When comparing totals:

  • prefer recorded per-model usage over a guessed primary model;
  • include explicitly billed tool usage where the provider exposes it;
  • expect differences when another analytics product applies synthetic pricing instead of provider-reported usage.

Optional Postgres / pgvector problems​

Postgres is not required for the normal local Workspaces plugin path.

If a self-hosted/enterprise setup reports:

ERROR: extension "vector" is not available

pgvector is optional unless that deployment explicitly enables vector-backed features. Follow the deployment's storage configuration rather than enabling it for Workspaces Lite.

Source checkout / contributor issues​

make verify-full fails with Ruff or Black​

cd lemoncrow
uv run ruff check --fix src tests
uv run python -m black src tests
make verify-full

Postgres-gated tests are skipped​

That is expected unless LEMONCROW_DATABASE_URL is configured for the test run.