Skip to content

Troubleshooting

Ilia edited this page Nov 26, 2026 · 5 revisions

What you see, what it means and what to do, for the cases people meet most. The quoted lines are the beginning of what sclaude prints. Run sclaude doctor first whenever something looks wrong with the machine: it lists every gap it knows of, with the command that fixes it.

Installing and the machine

error: systemd's user manager does not answer (systemctl --user). — WSL without systemd. Put [boot] and systemd=true in /etc/wsl.conf, run wsl --shutdown from Windows, open the distribution again and run ./install.sh again.

note: run 'sudo loginctl enable-linger $USER', or doctor's linger is off — without it the background units, the bot among them, stop when you close your last terminal. Run the command once.

note: ~/.local/bin is not on PATH — add export PATH="$HOME/.local/bin:$PATH" to your shell's startup file.

note: sclaude-proxy.socket did not start — something holds :3000 (or the gate on 127.0.0.1:3001; on macOS holds :3000 — sclaude.proxy is not installed) — an old dev server or a hand-started proxy has the port. Stop it, then run ./install.sh again.

doctor's warnings (!) — each names something the machine lacks, and the dim line under it is the fix: vercel login, chmod 600 on an .env file others can read, ./install.sh for a unit that is not running, an environment not chosen yet. Warnings do not fail doctor; only ✗ does.

doctor's gh X is older than 2.48 — that gh cannot read a long list from GitHub in one go, so every pull request reads as unreadable and its review step never closes, and a new issue is created without its milestone. Upgrade gh (its own install page, or your package manager's newer channel).

Updates of sclaude

instruments: N commit(s) behind main, not updated — followed by has uncommitted changes, or main has diverged from origin/main — your own edits or commits in sclaude's checkout stand in the way. Commit or stash an edit and run sclaude update; move commits of your own to a branch with sclaude propose, which also sends them as a pull request.

instruments: update from origin put off — another sclaude runs from this checkout — another terminal runs sclaude from the same checkout, and replacing the files under it would break its sessions. The run goes on with the code on disk; the update is taken by the next start when no other sclaude runs. Said once a run.

instruments: N local branch(es) hold work found nowhere else — branches of sclaude's checkout that are on this machine alone and whose work is not on main, most often a fix a session made in a workshop that was never sent. It is a note: the run goes on. sclaude doctor lists each branch with the command to read it; send it, push it, or delete it, and the note goes. A branch that ends where it began — main taken in after its work was squashed, or its work reverted — is named too, since its lines cannot tell which: read it before you delete it. Any other branch whose work did reach main (squashed) appears only in sclaude doctor, with the command that deletes it. the look for local branches took too long — the same look ran out of time at the start; sclaude doctor runs it without a limit.

Nothing new ever arrives — the checkout may be a clone of a fork, which takes updates only from the fork (Where updates come from). git -C <checkout> remote get-url origin says which.

The product's config

Production — main in <repo> is not what origin holds: with the keys of .sclaude/config.json that differ — the main checkout has an edit or a commit origin lacks, often a hand edit of the committed config. Commit and push it, or take origin's copy (git -C <repo> checkout origin/main -- .sclaude/config.json). A choice meant for your machine alone belongs in sclaude config (How the file works).

✗ <part> — no command for this part. — a part named in regression has no entry in commands. Add the command or take the part out of the list (regression).

No preview deploy: the product names none, or Production: not offered — the product names no deploy — the product does not use Vercel and names no deploy command (Hosting: deploy). Production: not deployed — ship is off means ship: off.

A step and its session

You left a session (Ctrl-C, /exit, a closed tab) — nothing is lost: sclaude remembers the step and the conversation. sclaude <name> opens it again; sclaude reset <name> starts the step over without its conversation.

A session stopped at Claude's usage limit — sclaude says when the limit resets and resumes the session where it stopped by itself. A review pass on this machine that meets the limit is waited out the same way: sclaude says when the review runs again and runs it then, asking nothing.

A merge is under way in the tree; the step has not been started. — a merge of main was left half done. Finish it with sclaude sync <name> or back it out with git -C <tree> merge --abort.

A rebase (or a git am) is under way in the tree; the step has not been started. — a rebase was left half done: one stopped on a conflict, or broken off. Finish it, or back it out with git -C <tree> rebase --abort (git -C <tree> am --abort for an am). sclaude backs out the rebases it starts itself and puts the branch back; when it cannot, it says … could not be put back at <head>: look at git status in <tree> instead.

the main checkout could not be fast-forwarded to origin/main at sclaude new — an edit or a commit of its own in the main checkout. Clear it, then run the git merge --ff-only origin/main the message shows.

Step 4: the review

The automatic review of PR #N could not run on GitHub: with step 4 stops here — the review workflow in Actions could not run: the Claude subscription's limit, no Actions minutes, or a runner without network; the message says which and when it resets. Wait and come back with sclaude <name>, or set review to github-local or local in sclaude config to review on this machine (review). With github-local the move happens by itself and the message says so.

Step 4 is not done — red: …; N review thread(s) open. — step 4 closes only with no open thread, no red or running check and green local tests. Let the rounds run; [s] (⏭ in the feature's topic) makes the next pass the last that looks for new findings, and [g] lets the rounds go on without asking (A feature, start to finish).

GitHub did not answer about PR #N: step 4 closes on what the review last showed. — GitHub was unreachable as step 4 was closing. A network fault does not hold the step, so it closed without a final look. If the review was still running, check the pull request on GitHub; nothing else needs doing.

Nothing is left open on PR #N: a polish round — the review found nothing more, and one session cleans what changed since step 2's /simplify (or the whole change, the line says which) before step 4 closes. Turn it off with simplify: off (simplify).

Yours to resolve on GitHub — you decided to leave these as they are: — threads you chose to leave still count as open until resolved. Open each link, press Resolve conversation, then answer y.

N review thread(s) were left at night for you to confirm. — during an /isleep night these were held for your word. Answer y to go through them in a session.

Preview, QA and production

The QA wait never ends (Waiting for QA on issue #N) — nobody has moved the issue to Done, or the column names in board.columns are not the board's. Move the issue, or fix the names (case and spaces do not matter). Without board.columns.done QA is not waited for at all (The board, qa).

Issue #N is in '<column>' — unexpected while waiting for QA. — the issue went to a column that is neither a pass nor a hand-back. Put it in Done, or back in In progress if it needs work.

could not read issue #N on the board; if the token lacks the right: gh auth refresh -s project — gh's token lacks the project scope. Run that command.

The menu says steps done, production held — production's tests were red and it was not rolled back. sclaude regression <name> prod runs them again (green lifts the hold), sclaude rollback <name> puts production back, and sclaude return <name> sends the feature back to step 4 (Production rollback).

Databases and Docker

docker: not running — starting Docker Desktop…, then still not up or database: Docker is not running and sclaude could not start it — the feature falls back to the shared local database. Start Docker and run sclaude dev <name> again; SCLAUDE_DOCKER_WAIT and SCLAUDE_DOCKER_DESKTOP adjust the start (Switches).

docker: this user may not use the Docker socket — add yourself to the docker group (sudo usermod -aG docker $USER, then log in again).

database: supabase start failed — see .sclaude/local/feature/db.log — the feature's own stack did not start; the log in its tree says why. sclaude dev --rebuild-db <name> builds and fills it again. Docker could not publish ports on Windows means a reserved port range: the message names the commands that free it.

database: could not stop this feature's stack on its old block of ports — its block of ports moved (on Windows, to a range the system came to reserve) while the stack ran, and stopping it to start it on the new block failed, so the feature falls back to the shared local database. db.log in its tree says why; sclaude dev --stop <name> and then sclaude dev <name> start it on the new block.

**database: \npx` is not on this process's PATH** (or **the dev server did not start: `npm` is not on this process's PATH**) — the process that started the feature cannot find the command the product's config runs, so nothing was started; the database and the code are fine. Run sclaude dev ` from a shell where that command works.

Which database should features on this machine work against? — asked once per machine. A production environment is never offered for a feature, and SCLAUDE_ENV naming one is ignored (Environments and databases).

The feature's address and signing in

Starting <feature>… when you open its address — a feature nobody opened for half an hour is stopped and starts again on the next visit, in about a minute. did not start: run sclaude dev <name> in a terminal to see why.

One-click sign-in says the config has no devLogin — add the product's sign-in route (Signing in: devLogin).

The workshop and the bot

Send, reopen or drop? — a fix a session made to sclaude is ready to go out, and something needs your word: lines that may name your product, red tests, an unreviewed change, or sending set to ask. Read the lines and choose; the question comes back every time you open the feature until you answer (For a team).

The Telegram bot is silent — read its log, journalctl --user -u keepawake-telegram.service -f. no KEEPAWAKE_BOT_TOKEN or KEEPAWAKE_CHAT_ID: fill ~/.config/keepawake/env; readable by the group or everyone: chmod 600 it; a second instance … (HTTP 409): the same token runs on another machine — each machine needs its own bot (Configuration). While you are at the terminal, questions reach the chat silently, by design.

Not sent to the phone: sclaude pid <pid> (<tty or no terminal>) holds this feature's questions. — another sclaude has a question waiting on the same channel, and this one asks in its terminal only. no terminal is one started by the bot, or one whose window was closed. Answer or end that one (kill <pid>), and the next question reaches the phone.


Generated from docs/troubleshooting.md; edit it there, then rebuild with wiki/build.py.

Clone this wiki locally