CLock not working Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
skippy2235
Posts: 9
Joined: Fri Sep 11, 2020 5:27 pm

CLock not working

Post by skippy2235 »

After I change the dietpi-config /advance/time sync mode / boot + daily.

After reboot I get these error messages on boot screen
attached the boot screen. It will go until 60 tries are made then does finally boot, and has correct time.

What do I do to fix this?
Dave
Attachments
0910201520_HDR.jpg
User avatar
Joulinar
Posts: 2277
Joined: Sat Nov 16, 2019 12:49 am

Re: CLock not working

Post by Joulinar »

Hi,

many thanks for your message. As indicated by the error message, pls do:

Code: Select all

systemctl daemon-reload
/boot/dietpi/func/run_ntpd 1
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
skippy2235
Posts: 9
Joined: Fri Sep 11, 2020 5:27 pm

Re: CLock not working

Post by skippy2235 »

I just did what you asked.
then rebooted.
Same thing nothing changed.
User avatar
Joulinar
Posts: 2277
Joined: Sat Nov 16, 2019 12:49 am

Re: CLock not working

Post by Joulinar »

did you still have the error message about the changed drop in file? Pls do following and post the output.

Code: Select all

systemctl restart systemd-timesyncd.service
systemctl status systemd-timesyncd.service
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
skippy2235
Posts: 9
Joined: Fri Sep 11, 2020 5:27 pm

Re: CLock not working

Post by skippy2235 »

Here is the info you asked for.
Attachments
time.png
User avatar
Joulinar
Posts: 2277
Joined: Sat Nov 16, 2019 12:49 am

Re: CLock not working

Post by Joulinar »

that looks fine, your time was synced and service is running. Pls can you do another reboot. Once back only, export the journal and attach the log file pls.

Code: Select all

journalctl > /tmp/log.txt
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
skippy2235
Posts: 9
Joined: Fri Sep 11, 2020 5:27 pm

Re: CLock not working

Post by skippy2235 »

Is this what you want?
It does not look right.
As you can tell I am very new.

I sent you a PM asking if you need to teamviewer into my computer and then SSH into the PI

to get this I did the following:
Cd /tmp
nano log.txt
Attachments
time.png
User avatar
Joulinar
Posts: 2277
Joined: Sat Nov 16, 2019 12:49 am

Re: CLock not working

Post by Joulinar »

that looks strange. Probably something goes wrong on exporting the the journal. Usually journalctl should give you the complete boot log.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
skippy2235
Posts: 9
Joined: Fri Sep 11, 2020 5:27 pm

Re: CLock not working

Post by skippy2235 »

Here is another log file. Since I posted that last one, I have learned a little bit more on how to do what you asked.
this time I ran the command you listed:

journalctl > /tmp/log.txt

and then went to the dir /tmp
then I did:
nano /tmp/log.txt

this is what is looks like. Please help me get what you need.
Attachments
time.png
User avatar
Joulinar
Posts: 2277
Joined: Sat Nov 16, 2019 12:49 am

Re: CLock not working

Post by Joulinar »

Aim is to download entire file and attach it to this post. The output is quite long and will not fit on one screen
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply