getumbrel/umbrel

NTP Time sync did not work, rendering Umbrel OS unusable

KHP86 opened this issue · 2 comments

NTP Time sync didn't work after both RPi4 update install and fresh install. This caused time errors with github servers (certificate validity issue) and failure to fetch app manifests. This rendered the whole Umbrel OS unusuable.

To fix:

In the "/etc/systemd/timesyncd.conf" file.
I had to add a NTP Server and uncomment "FallbackNTP" parameter.

Installed "systemd-timesyncd".
"sudo apt install systemd-timesyncd"

Enabled NTP time sync.
"sudo timedatectl set-ntp true"

This problem was observed in Umbrel OS v1.0.

Hey @KHP86 great spot, thanks for your help with this!

We use ntpd for time sync not systemd-timesyncd. It seems to be working correctly but there is a race condition where if umbreld starts quickly it can make network requests before the sync has completed which fail.

We've updated umbreld to wait for ntp sync to complete before it starts anything that needs to interact with the network: 5a84a1a

Thanks again!

Awesome! Thanks for fixing!