Jump to content


smith

Member Since 31 Aug 2014
Offline Last Active 04 Apr 2024 13:24
-----

Posts I've Made

In Topic: Time not updated after daylight saving time

4 April 2024 - 12:01

Ah I see, you are wondering why the install command did not work? I copied the file via FTP without an issue so the London file is okay now. I've just tested again to see if will update the Paris file.

 

root@h9combo:~# opkg install tzdata-europe --force-reinstall
Installing tzdata-europe (2023c) on root
Configuring tzdata-europe.
 
root@h9combo:~# ls -l /usr/share/zoneinfo/Europe/Paris
-rw-r--r--    1 root     root             0 Jul 31  2023 /usr/share/zoneinfo/Europe/Paris
 
Even after reboot, file shows 0 size.

In Topic: Time not updated after daylight saving time

2 April 2024 - 20:45

You wrote the reinstall didn't fix it, and manually copying files did.

 

 

Yes that's right.


In Topic: Time not updated after daylight saving time

2 April 2024 - 19:36

 

So that has fixed it, thanks. Of the files in the /zoneinfo/Europe folder three were showing as 0 filesize, London, Paris, Moscow. Now I have been doing some experimenting to try and force things to work so I may have tried those other time zones, I can't say for certain. Even so, I wouldn't expect them to become corrupted simply by a setting change?
 

 

 

It did fix it, thanks. Apologies, bit of a waffling reply. I was just thinking about testing it fully and determining the cause.

:thumbs-up:  :D


In Topic: Time not updated after daylight saving time

2 April 2024 - 15:17

Hi,
 
Yes the 0 filesize do not look correct at all!
 
The command:-
 
opkg install tzdata-europe --force-reinstall
 
Did not work for me unfortunately! I did flash two of these boxes in January with Open PLi 9.0 and copied the file from that box and replaced the version on this box with these results:- 
 
root@h9combo:~# ls -l /usr/share/zoneinfo/Europe/London
-rw-r--r--    1 root     root          1599 Apr  2 14:09 /usr/share/zoneinfo/Europe/London
root@h9combo:~# date
Tue Apr  2 14:11:39 BST 2024
 
So that has fixed it, thanks. Of the files in the /zoneinfo/Europe folder three were showing as 0 filesize, London, Paris, Moscow. Now I have been doing some experimenting to try and force things to work so I may have tried those other time zones, I can't say for certain. Even so, I wouldn't expect them to become corrupted simply by a setting change?
 
Just wondering if it was due to running the date -s command, but just tested it and its okay, the time is auto updated again after a few seconds.

In Topic: Time not updated after daylight saving time

2 April 2024 - 13:37

root@h9combo:~# ls -l /usr/share/zoneinfo/Europe/London
-rw-r--r--    1 root     root             0 Jul 31  2023 /usr/share/zoneinfo/Europe/London