← KettlewiseAll help

Troubleshooting

Start here:

kettlewise doctor

It checks Ollama, the configured models, the data folder's permissions and how fresh each source is, and says what to do. It never changes anything itself.

Someone else helping you? Settings → Help → copy diagnostics (or "email it") gives them how this copy is set up and what's failing, without your questions, notes or name. Set who "email it" addresses with kettlewise settings set help_email [email protected].

Install and commands

SymptomFix
kettlewise: command not foundOpen a new terminal tab; if it persists, make tool (puts it in ~/.local/bin)
No module named … or No such command … after updatingmake tool: the installed command needs reinstalling when dependencies or modules change. make up avoids this for the web UI
model '…' not foundollama pull <model> for the name it prints
ollama unreachable at http://127.0.0.1:11434brew services start ollama

Answers

SymptomFix
The first answer after a break takes ~15 sNormal: the model unloads after 10 idle minutes (KETTLEWISE_KEEP_ALIVE) and loads again. The UI shows waking up
"the model took too long"Usually a cold load on a busy Mac; ask again. Every call has an output cap, so nothing runs away
An answer is out of dateIt's as fresh as the last sync (calendar 15 min, GitHub 1 h with make schedule). kettlewise sync, then ask again
An answer is wrongMark it (wrong in the UI, or kettlewise asks mark N bad), then kettlewise asks show N: the sources it was given and the ones it cited usually say why. kettlewise asks to-eval N makes it an eval case so kettlewise eval catches it next time
It answered without sourcesNothing matched. Try the words your notes use, or --route to see which modules were searched

Web UI

SymptomFix
"The web UI isn't built yet"make up (or make ui-build)
address already in use on port 8000Another kettlewise serve is running: lsof -i :8000, or set KETTLEWISE_API_PORT
The header says calendar staleThe sync job isn't running or failed: kettlewise jobs shows each job's last run and error; make schedule-status, make logs

Voice

SymptomFix
"speech-to-text isn't running"make voice-status; if not loaded, make voice. It takes ~10 s to load the model after starting
Names come out wrong ("Wani Kani")Add them to KETTLEWISE_VOICE_NAMES in .env; project, repo and recurring-event names are hinted already
The phone can't use the micBrowsers only allow the mic over HTTPS: phone voice needs tailscale serve (planned)

Sources

SymptomFix
Calendar stopped syncing after a weekThe Google app was left in Testing, where tokens expire after 7 days. Publish it (calendar README, step 6), then kettlewise calendar auth again
kettlewise github auth refuses the tokenIt must be a fine-grained token (starts github_pat_), read-only
A sync failedkettlewise brief and kettlewise doctor show the last error per source; make logs follows the job logs

Still stuck: make logs and the output of kettlewise doctor usually say why.

What happened when

The terminal you started Kettlewise from (kettlewise-up, ./start) prints a line for each thing it does: every ask (where it looked, where the time went), syncs that found something, background jobs, setup clicks, refused requests and errors with their details.

22:41:03  ask 'when is game night?' → calendar, notes · 6.8s (sync 0.1 routing 0.5 embed 0.1 lookup 0.1 first_word 1.2 answer 4.8) · 6 sources, 2 cited
22:45:00  sync calendar ✔ 3 new or changed, 0 removed · 1.2s
22:45:01  job sync-calendar ✔ 3 documents · 1.3s

To look back later, or when Kettlewise runs with no terminal (Keep running), turn on the activity file:

kettlewise settings activity_log true    # then restart Kettlewise

It writes the same lines to ~/kettlewise/data/logs/activity-<date>.log (private to you), from the server and the background job alike, and deletes each day's file the day after next (activity_log_days, 1 by default). It holds your questions as you asked them, which is why it's off until you turn it on. Addresses lose anything that could be a key before a line is written.