koopa-admin-log/2026/2026-07-11--bonfire-gitbot-systemd.md

1,007 B

Bonfire gitbot + boot (2026-07-11)

After 2026/2026-07-09--bonfire-ground-zero.md.

Problems

  • Bare hostnames in commit text crash createPost (URI.parse/1).
  • No webhook; bot polls git.ngi-0.eu every 300s.
  • Stack did not start on boot.

Fix

  • gitbot-mirror.py: prefix bare hosts, fallback post, skip after 3 fails.
  • User systemd: gitbot-mirror.service, container-koopa-bonfire-*.service (podman-compose up -d).
  • Install: scripts/bonfire/install-systemd.sh

Official: Hosting guide recommends Co-op Cloud; we run podman-compose on koopa (ops choice, not upstream path).
GraphQL createPost: API reference — no official gitbot mirror doc; custom script.

Ops

systemctl --user status container-koopa-bonfire-db.service container-koopa-bonfire.service gitbot-mirror.service
tail -30 ~/koopa-bonfire/gitbot.log
python3 ~/koopa-bonfire/bin/gitbot-mirror.py