Troubleshooting
Find the failing boundary first: server, models, auth, integration, or memory shape.
Most problems come from setup, tokens, or a runtime that wasn't restarted, not from recall thresholds. Work through the eight checks below in order, and fix the first one that fails before you change anything else.
Check the boundaries in order
-
Server health. Confirm that the server answers. This check needs no token.
curl -fsS http://127.0.0.1:18901/api/healthOn Loremem Cloud, check
https://api.loremem.com/api/healthinstead. A healthy self-hosted server returns"status":"ok"and"database":"connected". If the request fails, runcurl -sSon the same URL to read the response body. A503with"database":"disconnected"means the server cannot reach PostgreSQL. -
Database and extensions. Confirm that the migrations ran. From the Compose directory, run
docker compose logs weband look for[migrations] failed. Chinese recall also needspg_jiebaorzhparser. See Install and setup issues. -
Setup and models. Open
/setupon your server, for examplehttp://127.0.0.1:18901/setup. The Embedding and View LLM steps must be saved, and the boot memories must exist. Recall needs a working embedding model before it can search. -
Auth and token. If the server sets
API_TOKEN, every REST and MCP request must sendAuthorization: Bearer <API_TOKEN>. Send this request with a valid token. A405response means the token was accepted. A401response means the token is missing or wrong.curl -s -o /dev/null -w '%{http_code}\n' \ -H "Authorization: Bearer lm_your_token" \ "http://127.0.0.1:18901/api/mcp?client_type=mcp"Servers without
API_TOKENaccept requests without a token. -
Agent integration. Run
npx @loremem/cli statusand find the channel for your runtime.installedmeans the integration files are in place.partialormissingmeans the install did not finish, so runnpx @loremem/cli install --channels <runtime>again. Then ask the agent to calllore_status. A working connection returnsLore online. -
Runtime restart. Restart the agent after every install, config, hook, plugin, or token change. Hooks and MCP config load when the process starts. Pi needs
/reloador a restart. -
Memory shape. Check that the memory you expect has a focused path, one concrete disclosure, real glossary terms, and an honest priority. The Recall issues page shows how to test one prompt.
-
Recall settings. Change thresholds, weights, or timeouts only after checks 1 to 7 pass. The settings reference lists every key and its default.
Find your symptom
| Symptom | Start with |
|---|---|
Install fails, the server does not start, /api/health fails, or a token is rejected | Install and setup issues |
The agent gets no boot memory or <recall> block, tools are missing, or Lore appears twice | Agent connection issues |
| A memory never appears, the wrong memory appears, or recall is slow or skipped | Recall issues |
| Tool names or parameters are unclear | Agent tools reference |
| You are not sure how Lore should be used | FAQ |
What to include when you ask for help
Collect these details before you open an issue, and remove tokens and passwords first.
- Versions. The
installed_versionline fromnpx @loremem/cli status. For Docker installs, also theLORE_FRONTEND_IMAGEvalue in~/.lore/docker/.env. - Server kind. Loremem Cloud, a Docker server that the CLI manages, or another self-hosted server.
- Status output. The full output of
npx @loremem/cli status. It shows the token only assetorabsent. - Runtime and
client_type. For exampleclaudecode,codex,opencode,pi,openclaw,hermes,zcode,dsh, ormcp. - The failing step. The step number from the checklist above and the exact error text.
- For recall problems. The exact prompt, the
<recall>block the agent received (or a note that none appeared), and whether the agent opened the node withlore_get_node.
Warning
Never paste a token. The .env file, ~/.lore/config.json, and agent settings files all contain secrets. Replace each token with lm_your_token before you share a snippet.
If these steps do not explain the failure, search the existing issues and open a new one at https://github.com/FFatTiger/lore/issues.