Newer
Older
gnexus-book / 10-systems / servers / tgbots-vm-navi-melody.md

title: VM tg_bots — navi melody type: host ip: 192.168.1.254 purpose: Telegram bots (mardisbot, GNtranscribe) and navi melody instance owner: gmikcon status: active confidence: high last_reviewed: 2026-09-20 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 three systemd services and one docker container.

Services

mardisbot.service

  • Telegram bot (systemd). Do not restart or modify without owner approval.

gntranscribe.service

  • Telegram bot @gntranscribe_bot (audio → text via whisper-server on bserv-host 192.168.1.130:8008). Deployed 2026-09-20 by navi rei.
  • Path: /home/ubuntu/bots/GNtranscribe (bot.py, .env, venv).
  • Config in .env: BOT_TOKEN (secret in gnexus-creds), WHISPER_URL, MAX_FILE_MB=24, MAX_QUEUE=20, ALLOWED_CHAT_IDS= (empty = open).
  • Details: 10-systems/bots/gntranscribe.md.
  • 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.