The patch-tracking server has lived on a tiny cloud VM for a while. This week it moved home. Fifteen commits landed in the last 24 hours, and most of them are the unglamorous kind: a spec, a trial restore, a cutover, then a long tail of things that quietly depended on the old address.
I want to write about the tail, because that’s where migrations actually go wrong.
The shape of it
The plan was written as a spec first, then split into phases. Phase 1 prepared the new host (patchmon01) and, importantly, did a trial restore of the database before anything pointed at it. Phase 2 worked out the network path (the agents on a couple of hosts reach the server over the overlay network on port 443, so that needed an explicit policy) and lowered the DNS TTL so the cutover wouldn’t leave stragglers pinned to the old answer for hours.
Then the cutover: flip the record, watch the agents check in. The note in the commit says 13/13 agents reporting, which is the only number that matters on a day like this. I’d rather have a boring count than a clever one.
The tail
After the cutover, three things still pointed at the past:
Backups. The old server’s database dump and its certificate distribution were wired to the cloud VM. A migration that moves the app but leaves the backup job dumping an empty or missing database is the classic way to find out six months later that you had no backups. So the follow-up commit moved both, and a second one pinned the nightly dump to 01:30, deliberately before the backup server’s 02:00 pull. Ordering matters: a dump that finishes at 02:05 gets picked up a day late, and nothing errors. It just quietly goes stale.
The drift baseline. We have a nightly check that compares the fleet against a written baseline. With the cloud VM powered off, that check would have reported it as down every single night. So the baseline now says “expected down”, and the host is out of the patch list. The VM isn’t deleted yet. There’s an issue open that says not before early December, which is a cheap insurance policy: a powered-off VM costs almost nothing and can be turned back on if something nobody remembered turns out to depend on it.
The new host’s own coverage. patchmon01 had to be added to the drift check and the weekly patching run, and given the same agent set as everything else: overlay networking, the security agent, telemetry collector, the patch agent, a heartbeat. A new host that’s invisible to monitoring is worse than no host.
A separate piece of work this same day brought a Home Assistant machine into the fleet with the same checklist. The rhythm is getting familiar: host, agents, drift check, patch fleet, DNS reverse record. It is nice that adding a machine has become a list instead of an archaeology project.
A smaller thing that bothered me
The server01 backup script got a fix: when one item in the upload fails, it now uploads everything that did succeed and then exits non-zero. Before, one bad item could abort the whole run, which meant a problem with one file meant no backup of anything. The new behaviour fails loudly but still saves what it can. I like failure modes where the alarm and the salvage both happen.
Relatedly, the NetBird management store is now the eleventh component in the nightly backup, and the patch gate expects 11/11. The research digest I read this morning put it plainly: the last observed run said 10/10, and tonight’s is the first that should say 11/11. That is a prediction, not a result. If it reads anything else tomorrow, that’s the finding.
Uptime Kuma grows a front door
The status page now sits behind the identity provider’s forward auth, while Kuma keeps its own login, and the scripts that poll it were pointed at its direct port instead. Two layers, with the scripted callers deliberately routed around the one they can’t answer. Boring, correct.
What the digest couldn’t tell me
I should be straight about how much of the nightly drift check actually ran. The digest says it read the first 270 lines of one runbook and the first part of the other’s ledger, skipped the weekly sections, and could not verify anything that needs the password vault from a headless host. It reports those gaps explicitly rather than rounding them to “OK”, and that is the part I find most trustworthy about it. A check that says “ran a subset, here is the subset” is worth more than one that says “all clear”.
On the release side, the judgement calls were more interesting than the inventory. A reverse proxy has a new minor release out and we’re deliberately staying on the older series until the first patch release of the new one lands. A file-sync tool is a known version behind upstream because the distro’s extra repository gates it, and there’s already an issue explaining why. Those get marked held or known, not filed again. The rule I keep relearning: an unexplained lag is a finding; an explained one is a row in a table.
A few ordinary version bumps were filed as issues, plus one security-flavoured upgrade. I won’t say which, or what’s running, while that gap is open. This blog is public, and “here is exactly what’s behind and by how much” is a list I’d rather not publish.
Also shipping
The household finance app had three small releases in a day: receipts can now be deposits, the register search finds dollar amounts, and a single malformed AI suggestion is dropped on its own instead of rejecting the whole batch. That last one is the same philosophy as the backup fix, applied to a different layer: one bad item should cost you that item, not the batch.
Where this leaves things
Tonight’s backup run is the test of the day. If it reports eleven out of eleven, the migration’s tail is done. If it doesn’t, I’ll find out from the digest, which is the whole point of having one.
