Troubleshooting
What the messages mean and what to do
First the simple things: the computer is on and not asleep, it has internet, and LM Studio runs (or the AI tool you chose). After the computer starts, give Locus a minute. Then:
locus status
locus doctor
(On Windows: "%LOCALAPPDATA%\Locus\run\locus.cmd" status, then doctor.)
What locus doctor says
Each line is OK, INFO, WARN or FAIL, the name of a check, and a
message. Only WARN and FAIL need you.
| Check | A problem means | What to do |
|---|---|---|
disk | Less than 2 GB free on the disk of Locus | Free some space |
settings | WARN not installed yet: Locus is not installed. FAIL: the settings file cannot be read | Let the plugin install Locus (it does at the first LM Studio start); otherwise write to us |
settings check | settings.json is not as Locus wrote it (changed by hand) | Undo the change; options are set with locus manage, locus autostart, locus name |
engine port, admin port | 127.0.0.1:8744 or :8745 is taken by another program | Close that program, then locus start |
QR page | 127.0.0.1:8765 is taken: the QR page will not start | Pair with locus pair --no-browser, which prints the code |
LM Studio | LM Studio does not answer (information only) | Start LM Studio; Locus also works with another AI tool |
secrets rights | Other accounts may open the folder of Locus's keys | Give the folder back to your user only, or write to us |
llama.cpp, KoboldCpp | program missing: it is not there any more. changed since it was registered: you updated it. only the program is pinned: set up by an older Locus. A port or option problem: Locus would not start it | locus manage <tool> --exe <path> again, or --off; locus manage <tool> --repin if you updated it yourself; --port N for a port taken |
release manifest | A file of Locus's own program does not match its list; Locus will not start | Follow the repair line it prints, or write to us |
newt | The tunnel program is missing or not the pinned one | Write to us |
On a Mac, a llama.cpp or KoboldCpp downloaded from the internet may be blocked by macOS: doctor says so. Homebrew's llama.cpp is not blocked.
Messages on the phone
| You see | What to do |
|---|---|
PC not answering now | The computer is off, asleep or offline, or Locus is not running there: locus status. |
PC on, LM Studio down | LM Studio's server does not answer; on Windows Locus tries to start it and the line says how that goes. Start LM Studio, or choose another tool for this chat. |
… does not fit this PC: it needs about … , this PC has …, or too big for this PC | Choose a smaller model, a smaller file of it (a lower quantization) or a smaller context. "Download anyway" still downloads it. |
| A model that fitted stops while it loads (llama.cpp or KoboldCpp started by Locus) | Usually the graphics card's memory, which Locus's check does not count: a smaller context or model, or fewer GPU layers (locus manage llamacpp --gpu-layers N). |
The tool's row says Not found, or … is not running on this PC. Nothing changed. | Start that tool on the computer, then tap Use for this chat again. |
Above the message box: … is not running on the PC. Start it there, or choose another AI tool for this chat. | Start the tool on the computer, or tap Choose another. Your message waits in the box. |
A tool's row says answering a chat, or Not answering yet | The list no longer waits on a busy tool: the first is writing an answer, the second did not answer in time. Wait until it is done, then open Models again; locus ls shows the same. |
Only a device that may add or remove devices can change the default or add an address., or … can move Locus to its own llama.cpp. | Use for this chat works on any paired phone. For the default, use a phone that may, or locus use on the computer; or give this phone the right: locus devices manage <id> on. |
Locus is preparing KoboldCpp for its first start (once: about a minute and 1 GB on the PC)… | On Windows, Locus prepares KoboldCpp's one-file program once. Load again when it is done. |
Locus has not found …'s program on this PC yet: start … once yourself on the PC, and Locus finds it. | Start llama.cpp or KoboldCpp once yourself, as usual, from your desktop. Or register it with locus manage <tool> --exe <path>. |
On the PC, … was turned off for Locus (locus manage … --off). | Run locus manage <tool> --auto on the computer to let Locus take it again. |
Locus found …'s program (…) but could not set it up: … | The reason follows. A copy started as administrator, by a service or under another account is not taken: start it again the usual way from your desktop. locus manage on the computer says more. |
… cannot read pictures. Models on the PC that can: … | Choose one of the models it names, or get a vision model. |
… was started without an image reader … | For llama.cpp or KoboldCpp started by Locus: choose a model that came with its image reader. A Strata started without its picture reader refuses new pictures too. |
The download of … stopped: … | Resume it in Models, or cancel it to delete what arrived. |
Strata's models: Locus asks on this PC before it runs Strata's programs the first time: that comes with a next version of Locus. | Expected on your computer: chat with a Strata you start yourself. |
| A tool will not start again for a few minutes | The start limit (3 failed starts in 10 minutes): the phone says when to try again; locus restart clears it. |
Web search: web search is not set up on the PC (no Brave key) | Save a Brave Search API key from a phone that may add or remove devices (the key button beside Devices). Reading pages works without one. |
too many wrong keys from this address: try again later | Wait the time it says (15 minutes at most). |
this device was signed out on the PC: pair it again | Pair the phone again with a new code. |
| No Listen under the answers | The voice is not installed on the computer: locus voice get there (Windows only for now). |
No voice is installed on the computer yet: run locus voice get there. | The same: install the voice on the computer. |
No voice for this language yet. | The voice reads English and French only for now. The answer stays on the screen. |
This phone did not play the sound: tap Listen again. | A phone plays a sound by itself only after a tap. Tap Listen again: that tap unlocks it. |
| The voice pauses between sentences | French and British English can pause between sentences, and a busy computer makes the voice slower. Try an American English voice (/voice heart) for English answers. |
The voice (Windows)
What locus voice get may answer on the computer:
| You see | What to do |
|---|---|
The voice runs only with Python 3.12 on 64-bit Windows for now; Locus runs with … here. The voice for macOS and Linux comes later. | Expected on macOS and Linux: the voice works on Windows only for now. |
The voice needs … GB and the disk has … GB free: Locus keeps at least … GB of it free, so it does not start. | Free some space on the disk of Locus's data folder, then run it again. |
… is not the file Locus expects (its fingerprint differs): refused | Nothing was installed. Try again later; if it stays, write to us. |
… did not answer (…) or … answered … for … | The download site did not answer as expected: check the internet connection and try again. |
another locus voice get or rm runs now: wait for it to end | Wait for it, then try again. |
the voice's files are in use: stop Locus's voice first (locus voice rm does it while Locus runs), then try again | Run the command again while Locus runs: locus voice rm then stops the voice first. |
locus voice shows whether the voice is installed and the voice runner's state, with the reason when it
failed.
Logs
Windows: %LOCALAPPDATA%\Locus\run\logs holds main.log, keepalive.log,
newt.log and, for the tools Locus starts, llamacpp.log and koboldcpp.log; the
engine's gate.log is in %LOCALAPPDATA%\Locus\data. macOS: the run/logs folder
in ~/Library/Application Support/Locus. Linux: ~/.local/share/locus/run/logs. Logs stay on
the computer; a phone cannot read them.
Going back
- Back to LM Studio: Use for this chat on its row in Models (this chat only); for new chats,
locus use lmstudioor Make default. - From Locus's own llama.cpp to yours: Use under "Your own copy on this PC" in Models (this chat only).
- Locus no longer starts a tool:
locus manage <tool> --off(the program is not touched, and Locus does not register it again by itself;--autotakes that back). - No more voice:
locus voice rm. - A fresh start:
locus restart(it waits for running answers and downloads;--nowdoes not). - A lost phone:
locus devices revoke <id>, then pair the new one. - A key you think has leaked:
locus reset-keyssigns out every device; pair them again.
Asking for help
Write to [email protected] with: what you did, the exact message, your
computer (Windows, macOS or Linux), and the output of locus version, locus status and
locus doctor. You may remove your Locus address from them.
Never send a key, a pairing code or link, your Brave Search key, or anything from the secrets folder.
Look at a log before you send it: it holds IP addresses, among other things.