I’m not very familiar with raspberry pi and its commands. I’m facing a issue in my dietpi installed raspberry pi. Whenever I type ‘dietpi-software’ (to install/uninstall softwares), I get ‘waiting for completion of systemd-timesyncd’ multiple times then I get the error ‘Network time sync has not yet completed, or, failed to update’.
I have seen this earlier issue which I think I was solved by this commit, but still I’m not able to understand how to solve mine.
After boot it shows correct date time, I have checked that.
root@DietPi:~# dietpi-software
[ OK ] DietPi-Software | Root access verified.
[ OK ] DietPi-Software | RootFS R/W access verified.
[ OK ] DietPi-Software | Initialized database
[ OK ] DietPi-Software | Reading database
[ OK ] DietPi-Software | Connection test: http://raspbian.raspberrypi.org/raspbian
[ OK ] DietPi-Run_ntpd | systemctl restart systemd-timesyncd
[ INFO ] DietPi-Run_ntpd | NTPD: Waiting for completion of systemd-timesyncd (1/60)
[ INFO ] DietPi-Run_ntpd | NTPD: Waiting for completion of systemd-timesyncd (2/60)
...{lines removed to shorten the output for this post}
[ INFO ] DietPi-Run_ntpd | NTPD: Waiting for completion of systemd-timesyncd (44/60)
The pool.ntp.org project is a big virtual cluster of timeservers providing reliable easy to use NTP service for millions of clients.
The pool is being used by millions or tens of millions of systems around the world. It’s the default “time server” for most of the major Linux distributions and many networked appliances (see information for vendors).
Because of the large number of users we are in need of more servers. If you have a server with a static IP address always available on the internet, please consider adding it to the system.
The project is maintained and developed by Ask Bjørn Hansen and a great group of contributors on the mailing lists. The source code for the system is available.
Hosting and bandwidth for the “hub” servers are provided by Develooper and Phyber Communications.
[ OK ] DietPi-Run_ntpd | systemctl restart systemd-timesyncd
[ INFO ] DietPi-Run_ntpd | NTPD: Waiting for completion of systemd-timesyncd (1/60)
[ INFO ] DietPi-Run_ntpd | NTPD: Waiting for completion of systemd-timesyncd (2/60)
Edit: After selecting the new mirror, it tries to sync time (i think) and gives above mentioned errors again. Then goes back to couldn’t sync thing as shown in the image in original post.
I believe because I was using SSH in LAN to control the pi and my mobile had internet access. But still I’ll try to ping internet website from my pi today and will let you know here.
I happened to see this, which says ntp service may be is conflicting with the timesyncd. So I commented few condition lines in timesyncd config and it worked. The website further says to purge the ntp. Should I do that?