- ~6 daysMeasured
- Longest an outage went unnoticed, before the watchdog
- From my runbook. The reason the watchdog exists
Scope note. Architecture only: no addresses, hostnames or network layout of the real system.
The problem
I wanted to run the software I use every day (a media library, photo backup and my finance tools) without handing my data to someone else’s servers. I also didn’t want a pile of hand-tuned machines only I could fix. So I run it like a small production environment: everything rebuildable from a repository, backed up offsite, and changed only through code.
Architecture
How the homelab is put together
- One Proxmox host, with each service in its own container, so one bad upgrade can’t take the rest down.
- The services: Jellyfin for media, Immich for photos, and Firefly III as my ledger, with my own app, Mizan, on top.
- No open ports. The only way in is a private network.
- Encrypted offsite backups of the irreplaceable data (photos and finances), kept for up to two years.
- Heartbeat alerts. Every backup and deploy checks in when it finishes; if one goes quiet, I hear about it.
How changes are made
If it’s not in the repository, it doesn’t count.
- I change a file in git.
- GitHub Actions checks it: scripts linted, configs valid, no secrets or private data.
- A job on the host pulls the change. CI can’t reach the lab, so a hacked pipeline has nowhere to go.
- Routine version updates (opened by Renovate, pinned to exact images) deploy each morning on their own. Anything else waits for me.
What broke, and what I learned
The media library lives on a drive attached to another computer. One day the drive dropped off for a moment. The file share stayed up but started serving the wrong disk, so the next library scan found no movies and deleted them all from the library. It went unnoticed for about six days,1 because the health check was an old copy that didn’t test for this.
What I changed:
- A watchdog now checks every two minutes and restarts the share only on this exact failure.
- Redeploying the health check is a named step after any change to it.
- A restore refuses an empty backup.
The lesson: check the thing, not the symptom. “Is the drive readable?” passed the whole time, on the wrong drive.
My role
I designed it and run it alone. I decide what runs and how changes happen, and I review and apply every change. Most scripts were written with Claude Code, under those rules.
What’s not done
- Rehearse and time a full restore from the offsite backup.
- Publish measured numbers: service count, uptime and monthly cost.
- Publish a cleaned-up copy of the repository.
What this shows
Production habits on a personal system (reproducible, backed up, change-controlled) and the judgement to explain each trade-off.
Footnotes
-
Runbook · the media server’s setup notes in my private homelab repository, which record both failures, the six days it went unnoticed, and the fix. ↩