fix(deploy): nightly auto-upgrade failed on both ATMs, for different reasons #101
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/autoupgrade-known-hosts-and-wg"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #98
batm3 never got past fetching. system.autoUpgrade runs as root, root had no known_hosts entry for git.atitlan.io, and every nightly run died at "Host key verification failed" before authentication. It sat on its 2026-08-06 install generation for six weeks. The host key is now declared in the config, so a freshly flashed ATM updates from first boot with no manual step. Verified against the key sintra's root already trusts.
sintra failed at the last step, over something unrelated to updating. Its WireGuard tunnel was never provisioned, so wireguard-wg0 fails on every activation, and one failed unit makes switch-to-configuration exit 4, marking the whole run failed even though the generation applied. The unit is now skipped when there is no key. Guarded on wg0 still being declared so the live image, which mkForce's the interfaces away, doesn't inherit a unit with no ExecStart.
Both system closures build. Note that batm3 needs one manual step before its updater works: its root key is not authorized on the repo, so the run will then fail at authentication. Key in the issue.