Docs: boxd auto-hibernate takes the tailnet node down with it - #135
Merged
Conversation
An idle boxd machine cold-snapshots after four hours by default (`auto_hibernate: 14400s`). tailscaled goes down with the host, so the node reads `offline, last seen …` in the Tailscale console — which looks like an expired key or a deregistered node, and isn't. `boxd machine wake <vm>` restores it with its state and the SAME tailnet IP, and systemd brings the engine back on its own. Hit for real on ateam-probe: hibernated after 6h idle, woken, node back at 100.81.40.73, and the phone's endpoint answered protocolVersion 2 again. The iOS section gets the sharper warning, because there it isn't an annoyance: the phone CANNOT wake a hibernated box — waking needs the boxd CLI or API, which the iOS app knows nothing about. So "agents around the clock, reachable from your phone" and auto-hibernate are incompatible, and any box backing the phone needs `auto-hibernate.timeout 0`.
pallaoro
enabled auto-merge (squash)
August 21, 2026 20:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An idle boxd machine cold-snapshots after four hours by default (
auto_hibernate: 14400s).tailscaledgoes down with the host, so the node readsoffline, last seen …in the Tailscale console — which looks like an expired key or a deregistered node, and is neither.boxd machine wake <vm>restores it with its state and the same tailnet IP, and systemd brings the engine back on its own.Hit for real on
ateam-probe: hibernated after 6h idle → woken → node back at100.81.40.73→ the phone's endpoint answeredprotocolVersion 2again.The iOS section gets the sharper warning, because there it isn't an annoyance: the phone cannot wake a hibernated box — waking needs the boxd CLI or API, which the iOS app knows nothing about. So "agents around the clock, reachable from your phone" and auto-hibernate are incompatible, and any box backing the phone needs
auto-hibernate.timeout 0.Docs only. The page's
Verified againstline is deliberately left at v0.1.39 / boxd 0.2.5 — re-stamping without re-running the whole recipe would be exactly the fake stamp the directory's rules forbid.