March 26, 201016 yr Hello, I have recently noticed that my time is off by an hour on the server, i'm using NTP. Currently it is 10:24 AM Eastern time but the server says 9:24 AM Eastern. So to recap, I am in Montreal, GMT -5 The NTP servers I configured are (I just changed these in hopes they would fix the problem): 0.ca.pool.ntp.org 1.ca.pool.ntp.org 2.ca.pool.ntp.org date: Fri Mar 26 09:21:59 GMT+5 2010 date -u: Fri Mar 26 14:22:05 UTC 2010 An obvious fix would be for me to change my timezone to -4 ... but that's not the correct time zone for me. Any suggestions?
March 26, 201016 yr Which timezone file are you using? When was it created and updated? It may very well be the case that you're using a timezone that does not have the proper daylight savings time in effect. Within the past few years (2 ?), the US (and perhaps Canada?) switched the date when DST kicks in. If you're using a timezone file from before the change, then DST has NOT kicked in yet.
March 26, 201016 yr I have recently noticed that my time is off by an hour on the server, i'm using NTP. Updating your timezone file will likely fix your problem. I've uploaded the most recent timezone files here: timezone.zip md5sum: 8c51aab810c16270c4c4e098ff091a31
March 26, 201016 yr Hello, I have recently noticed that my time is off by an hour on the server, i'm using NTP. Currently it is 10:24 AM Eastern time but the server says 9:24 AM Eastern. So to recap, I am in Montreal, GMT -5 The NTP servers I configured are (I just changed these in hopes they would fix the problem): 0.ca.pool.ntp.org 1.ca.pool.ntp.org 2.ca.pool.ntp.org date: Fri Mar 26 09:21:59 GMT+5 2010 date -u: Fri Mar 26 14:22:05 UTC 2010 An obvious fix would be for me to change my timezone to -4 ... but that's not the correct time zone for me. Any suggestions? If you are using GMT-5, then no daylight savings time logic is applied. To have that work as desired you must install one of the custom "timezone" files (renamed as "timezone", put in your config directory.) and then select "custom" as the time-zone in the unRAID web-interface. You are using NTP to set the time, but have not set the display of the time to use your daylight savings time rules, but instead a fixed offset from GMT. Install a "timezone" file appropriate for your location and it should then work. Joe L.
March 29, 201016 yr Author Sorry for the late reply, I did not setup notification for this thread. Ok, so right now it seems like Unraid is grabbing the GMT+5 file from: /usr/share/zoneinfo/Etc/GMT+5 I followed the symbolic link in /etc/localtime-copied-from My first question, wouldn't unraid 4.5.3 have the latest timezone files? especially if this change has occured over 2 years ago? Now on to resolving the problem, I have this new timezone file that purko uploaded (thank you) but I don't know what to do with it. Joe, you suggested to set th timezone to custom. I don't have that option though, in theu nraid interface i have USE NTP Yes/No. The only fix i can think of is to put in my go script to copy all the content from the timezone file to /usr/share/zoneinfo/Etc/* and restart NTP... not something i really want to do cause my go script is big as it, so hopefully someone can think of a more permanent solution? Thank you.
March 29, 201016 yr Sorry for the late reply, I did not setup notification for this thread. Ok, so right now it seems like Unraid is grabbing the GMT+5 file from: /usr/share/zoneinfo/Etc/GMT+5 I followed the symbolic link in /etc/localtime-copied-from My first question, wouldn't unraid 4.5.3 have the latest timezone files? especially if this change has occured over 2 years ago? Now on to resolving the problem, I have this new timezone file that purko uploaded (thank you) but I don't know what to do with it. Joe, you suggested to set th timezone to custom. I don't have that option though, in theu nraid interface i have USE NTP Yes/No. The only fix i can think of is to put in my go script to copy all the content from the timezone file to /usr/share/zoneinfo/Etc/* and restart NTP... not something i really want to do cause my go script is big as it, so hopefully someone can think of a more permanent solution? Thank you. There are so many different timezones in the world, with different local rules for daylight savings time. For that reason lime-tech only supplies the 24 GMT +- files. They do not do daylight savings time. They are a fixed offset from GMT. The zip file purko uploaded contains all of the time-zone files. (The same file is on the lime-tech site, but some have reported it is corrupt and the files in it do not work) One of the time-zone files in the zip will match where you live. You need to unzip the file somewhere on your PC. Then choose the one file matching a city near you and copy it to the config folder on your unRAID flash drive. Re-name it as "timezone" When you are done you will have a config/timezone file. Then, when you go into the unRAID management page a new "custom" choice will exist. (It does not exist until you put into place a timezone file) Then, you will be able to let it deal with daylight savings time, etc.
March 29, 201016 yr Sorry for the late reply, I did not setup notification for this thread. Ok, so right now it seems like Unraid is grabbing the GMT+5 file from: /usr/share/zoneinfo/Etc/GMT+5 I followed the symbolic link in /etc/localtime-copied-from My first question, wouldn't unraid 4.5.3 have the latest timezone files? especially if this change has occured over 2 years ago? Now on to resolving the problem, I have this new timezone file that purko uploaded (thank you) but I don't know what to do with it. Joe, you suggested to set th timezone to custom. I don't have that option though, in theu nraid interface i have USE NTP Yes/No. The only fix i can think of is to put in my go script to copy all the content from the timezone file to /usr/share/zoneinfo/Etc/* and restart NTP... not something i really want to do cause my go script is big as it, so hopefully someone can think of a more permanent solution? Thank you. You didn't read the above postys carefully. DO NOT use GMT+/- files if you want to be in synch with daylight saving. Use the timezone file for Montreal (or whatever is nearby). From that timezone.zip you only need one file. Copy it to the "config" folder on your flash key, and rename it "timezone". Then from the web interface enable NTP, and you'll see the option "custom" listed there. Select it, and you're done. EDIT: Oops! I just noticed that Joe L. beat me to that.
March 29, 201016 yr Author that was easy. thanks guys, I didn't realize i had to name the file timezone, i only had the folder with everything in it. Ok all works fine now
Archived
This topic is now archived and is closed to further replies.