diff --git a/10-systems/servers/tgbots-vm-navi-melody.md b/10-systems/servers/tgbots-vm-navi-melody.md new file mode 100644 index 0000000..08ad85f --- /dev/null +++ b/10-systems/servers/tgbots-vm-navi-melody.md @@ -0,0 +1,44 @@ +--- +title: VM tg_bots — navi melody +type: host +ip: 192.168.1.254 +purpose: Telegram bot (mardisbot) and navi melody instance +owner: gmikcon +status: active +confidence: high +last_reviewed: 2026-09-16 +review_interval: 90d +source_of_truth: ssh-host-verified +--- + +# VM tg_bots — navi melody (192.168.1.254) + +## Overview +KVM/libvirt VM `tg_bots` on the home LAN (distinct from the older `vmk`/tgbots +host at 192.168.1.178 documented in `10-systems/hosts/tgbots.md`). Hostname: +`tgbots`. User: `ubuntu`. Runs two systemd services and one docker container. + +## Services + +### mardisbot.service +- Telegram bot (systemd). Do not restart or modify without owner approval. + +### navi.service (navi instance melody) +- systemd unit `/etc/systemd/system/navi.service`, User `ubuntu`. +- WorkingDirectory `/home/ubuntu/navi-1`, ExecStart + `/home/ubuntu/navi-1/.venv/bin/navi-server`, port 8099. +- Config: `/home/ubuntu/navi-1/.env` — contains `OLLAMA_API_KEY` (line 4). +- `ollama_backends.json` is NOT used on this instance: the file does not exist + anywhere under /home/ubuntu, and the `ollama_backends_file` setting in + `navi/config.py` is empty and not set in `.env`/`instance.json`. +- Database: docker container `navi-postgres` (healthy). +- Health endpoint: `http://127.0.0.1:8099/health` → HTTP 200 + `{"status":"ok",...}` (embed backend http://192.168.1.168:11434, hive + http://192.168.1.168:8087). + +## Ollama API key rotation 2026-09-16 +- New key installed in `/home/ubuntu/navi-1/.env` (line `OLLAMA_API_KEY=`), + navi.service restarted and verified active; /health returned HTTP 200. +- `ollama_backends.json` not present — no backend-file key to update. +- Backup: `/home/ubuntu/navi-1/.env.bak-ollama-20260916`. +- Raw key value is not stored in this documentation.