Skip to content

Exit codes ​

CodeNameMeaningRaised byWhat to do
0successSuccess. Also: the host stopped on Ctrl+C or SIGTERM; a second host found one already runningallNothing.
1failureThe command failed, for example a SQL error, a full disk, or a labelling run that could not reach its APIallRead the line the command printed. Run it again with LOGBOOK_DEBUG=1 for a stack trace, and run logbook doctor to report it.
2usage errorUnknown command or option, bad valueallCheck the command and its options against logbook <command> --help.
3already runningAnother command holds a warehouse lock this one needssync, forget, compact, labels update, labels run, labels dropWait for the other command to finish, or stop it, then run this one again.
4port in useThe port is in use by another program or another Log BookstartPick another port with --port, or stop the program that holds it. If it is another Log Book, open its page instead.
5unsupported environmentNode older than the floor, or a platform other than macOS and Linuxthe shimInstall a supported Node, or run Log Book on macOS or Linux.
6newer warehouseThe warehouse's schema is newer than this build readsevery command that opens the warehouseUpdate Log Book: a newer version wrote this warehouse.
7missing prerequisiteClaude Code is missing, too old, or not signed inlabels update, labels run, labels planInstall Claude Code, update it, or sign in to it, as the line says, then run the command again.
8usage limitLabelling stopped at your Claude usage limit; every finished batch is keptlabels update, labels runRun the command again once your Claude usage resets; it carries on from the last stored batch.
9updated while runningThis child's version differs from its host's: Log Book was updated while runningchildren of a hostStop Log Book and start it again, so the host and its children run the same version.
10partial failureThe sync imported what it could, but some step failed or some files were skippedsyncRead the lines about the failed step or the skipped unit, fix what they name, and sync again.
130interruptedStopped by Ctrl+C or SIGTERM; work already stored staysone-shot commandsNothing, unless the command should have finished: run it again.

Source-available under the PolyForm Noncommercial License 1.0.0.