TimeSync Failed

Hello, 2 version of DietPi full upgrade I started to receive the following daily:

/etc/cron.daily/dietpi:
[FAILED] DietPi-TimeSync | systemctl restart systemd-timesyncd [FAILED] DietPi-TimeSync | Unable to continue, DietPi-TimeSync will now terminate.
[FAILED] DietPi-TimeSync | systemctl start systemd-timesyncd [FAILED] DietPi-TimeSync | Unable to continue, DietPi-TimeSync will now terminate.


I was hoping it would have fixed what ever broke in the latest update, but it did not.

Can anyone suggest any ideas on how to fix this?
-D

could you do following and share the output

systemctl restart systemd-timesyncd
journalctl -u systemd-timesyncd

Here is the output:

root@PI:~# systemctl restart systemd-timesyncd
Failed to restart systemd-timesyncd.service: Unit systemd-timesyncd.service not found.
root@PI:~# journalctl -u systemd-timesyncd
Journal file /var/log/journal/ceacfe8e75bb4870a0270623dfe449ef/user-1000.journal is truncated, ignoring file.
-- Journal begins at Thu 2022-05-05 06:16:49 PDT, ends at Thu 2022-05-19 09:01:42 PDT. --
-- No entries --
root@PI:~#

Pls do following and restart your system

apt install systemd-timesyncd

Corrected and working, Thank you!

root@PI:~# systemctl restart systemd-timesyncd
root@PI:~# journalctl -u systemd-timesyncd
Journal file /var/log/journal/ceacfe8e75bb4870a0270623dfe449ef/user-1000.journal is truncated, ignoring file.
-- Journal begins at Thu 2022-05-05 06:16:49 PDT, ends at Thu 2022-05-19 09:45:14 PDT. --
May 19 09:45:03 PI.shiplofts.com systemd[1]: Starting Network Time Synchronization...
May 19 09:45:03 PI.shiplofts.com systemd[1]: Started Network Time Synchronization.
May 19 09:45:02 PI.shiplofts.com systemd-timesyncd[5385]: Initial synchronization to time server 38.229.56.9:123 (0.debian.pool.ntp.org).
May 19 09:45:13 PI.shiplofts.com systemd[1]: Stopping Network Time Synchronization...
May 19 09:45:13 PI.shiplofts.com systemd[1]: systemd-timesyncd.service: Succeeded.
May 19 09:45:13 PI.shiplofts.com systemd[1]: Stopped Network Time Synchronization.
May 19 09:45:13 PI.shiplofts.com systemd[1]: Starting Network Time Synchronization...
May 19 09:45:13 PI.shiplofts.com systemd[1]: Started Network Time Synchronization.
May 19 09:45:14 PI.shiplofts.com systemd-timesyncd[5392]: Initial synchronization to time server 103.242.68.68:123 (0.debian.pool.ntp.org).
root@PI:~#

Did you have done any update from Debian Buster to Bullseye?

I do have bulllseye installed

root@PI:~# lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

well question was if you did an upgrade from Buster to Bullseye beforehand :slight_smile:
As the missing time sync service is a known symptom for the upgrade.

That is about the time it happened! Thanks again