- AGENTS.md: added STRICT RULE section — commit after every chat step - locations/home-cluster-192-168-170.md: full rewrite (4min.pro domain, all SSL done, Forgejo backup, infra org) - dialog-summaries/2026-06-06-home-cluster-ssl-pxe-forgejo-backup.md: session summary Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4.2 KiB
Dialog Summary: Home Cluster — SSL, PXE, Forgejo Migration, NAS Backup
Date: 2026-06-06 / 2026-06-07 Machine: airM1 (Mac, 192.168.170.x) + Proxmox/Docker/TrueNAS via SSH Agent: Claude Code (claude-sonnet-4-6)
What Was Done
1. SSL — All 9 Domains ✅
All Let's Encrypt certs issued for 4min.pro zone.
www.4min.pro and monitor.4min.pro required HTTP challenge (DNS challenge failed due to SOA min TTL 10800s NXDOMAIN negative cache). Used /tmp/npm_http_ssl.py on Docker host.
2. PXE Boot (netboot.xyz) ✅
Problem: PXE clients got no response. Three root causes fixed:
- Keenetic DHCP pool
_WEBADMINhad no option 66/67 → addedoption 66 ascii 192.168.170.30andoption 67 ascii netboot.xyz.kpxe - Docker bridge NAT breaks TFTP — TFTP opens ephemeral UDP port for data, Docker-proxy has no rule for it → fixed with
network_mode: hostin netboot.xyz compose - nginx inside container tried port 80 (occupied by NPM) → set
NGINX_PORT=8083andlisten 8083in nginx config
See problems/ for detailed write-up.
3. Forgejo Git Server ✅
- CT100 (192.168.170.41), Forgejo v10.0.3
- SSL: https://git.4min.pro
- Disk expanded: 20GB → 256GB
- Org structure:
garage(project repos) +infra(knowledge base and shared) - All repos migrated or created (KaMaz, kamaz5360, joystick, ProjectionMapping, StereoWallND, agent-knowledge-base)
agent-knowledge-basemoved toinfraorg
Key bug found: Creating repos via Forgejo API without auto_init: true creates DB record but no .git dir on disk → SSH push fails with "Internal Server Error". Fix: delete + recreate with auto_init: true.
macOS git + Forgejo HTTPS: System git (Xcode/LibreSSL) cannot authenticate to Forgejo HTTPS. Use SSH: git@192.168.170.41:org/repo.git. Mac SSH key added to Forgejo (Key ID: 1).
4. Forgejo → GitHub Push Mirror ✅
- GitHub PAT added to Forgejo push mirror config
- Mirror triggers on every commit + every 8 hours
- All agents write to Forgejo only. GitHub is read-only backup.
5. Forgejo → NAS Daily Backup ✅
- Script:
/usr/local/bin/forgejo-backup.shon Proxmox host (192.168.170.40) - NFS mount:
192.168.170.22:/mnt/datapool/backup→/mnt/nas-backup(Proxmox fstab) - Systemd timer: daily at 3:00 AM
- SQLite
.backupcommand — no Forgejo downtime during backup - Backup size: ~2.3GB. Retention: 30 days.
- Location on NAS:
/mnt/datapool/backup/forgejo/daily/YYYY-MM-DD_HH-MM/forgejo-backup.tar.gz
6. Keenetic Management Scripts ✅
keenetic-pull.py— Telnet, downloads config with timestampkeenetic-push.py— Telnet, applies commands or config file- Location:
/Users/post/VScode/network/ - HTTP API auth does NOT work from Python (SameSite=Strict cookie + challenge-response MD5 fails). Use Telnet only.
Key Decisions
- Forgejo primary, GitHub backup — always push to
git.4min.pro, never directly to GitHub - Knowledge base in
infraorg —git.4min.pro/infra/agent-knowledge-base(not tied to any project) - netboot.xyz must use
network_mode: host— bridge NAT breaks TFTP - Keenetic: Telnet only — HTTP API auth broken from Python
Current State After Session
| Component | State |
|---|---|
| SSL all 9 domains | ✅ |
| PXE netboot.xyz | ✅ Working (BIOS: netboot.xyz.kpxe) |
| Forgejo git.4min.pro | ✅ Running, 256GB disk |
| Forgejo → GitHub mirror | ✅ Auto on commit + 8h |
| Forgejo → NAS backup | ✅ Daily 3AM, 30d retention |
| Keenetic pull/push scripts | ✅ |
| AI Server (192.168.170.10) | ❌ Not started |
| Authentik SSO | ❌ Not started |
| kamaz5360 pushed to Forgejo | ✅ (done from another machine) |
| StereoWallND pushed to Forgejo | ❌ Pending (192.168.1.66) |
Files Updated This Session
locations/home-cluster-192-168-170.md— full rewrite with current stateAGENTS.md— added STRICT RULE: commit after every chat stepprojects/garage/decisions.md— Forgejo migration, infra org, primary/backup rule
Next Actions
- Configure AI Server (192.168.170.10) — Ollama, ComfyUI, AllTalk TTS, LiteLLM
- Connect Open WebUI to real Ollama on AI Server
- Push StereoWallND from 192.168.1.66
- Configure Authentik SSO