Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

My UNRIAD server BIOS/CMOS time is wrong after shutdown, restart, etc....

Featured Replies

Hi All,

 

Been knocking my brain about this for a few days.... hoping someone can help. (UNRAID 6.2.4 / P5N32-E SLI mother board / Intel Core 2 Duo @ 6700)

 

I'm trying to use wake on RTC for my desktop PC an UNRAID server to implement automatic backups in the early morning. This uses the current BIOS/CMOS time to start the servers at a certain time of day......

 

The Problem - After the UNRAID shuts down the BIOS has the wrong time. It's like always exacatly +5 hours of the real current time, so the system doesn't turn on at the right time. During the UNRAID regular operations, the system time is always 100%correct when the server is running (inside the gui), but on shutdown / reboot, before starting UNRAID back up, if I check the system time in the BIOS/CMOS area it’s incorrect (+5)…

 

The CMOS battery is good, 3+ volts… Any ideas why this might be happening or how to correct? I've read article about /etc/adjtime doing this, but I cannot find such a file on the UNRAID server. The server time, when runing is always right.... I was thinking this could be a plugin bug issue? Please help.

 

 

 

  • Community Expert

Are you in the Eastern Time Zone?  And did you set all of the settings in      'Settings' >> 'Date and Time'      to the proper setting?

  • Author

Yes, thank you.

 

In Eastern timezone and all date/time settings are correct in settings. The time is correct when the server is running UNRAID, but when I check the time in the CMOS/BIOS after a shutdown/reboot, before UNRAID starts back up - it's always +5 hours from the correct time.

Have you tried to set the BIOS time to match your local time before running unRAID? Then check the settings within unRAID, as Frank suggests.

 

I think your BIOS is running GMT and unRAID is running with a -5 hour offset. It might be better for the BIOS to run GMT-5 and unRAID to have a zero offset... I think :)

 

  • Author

Thank you... I reset the bios time and after unraid turns off the bios time is once again set to +5 hours.

 

I did just notice, upon shutdown, I see a message flash on the screen about the system is generating an /etc/adjtime file, so I think that has something to do with it, but the file is not there when I check, it must be deleted automatically.

 

Basically  what's happening is when unraid shuts down it's sets the bios time +5 hours.

  • Author

OK we got the answer!  Thank you Tom!  It's behaving as expected!  :)

 

That's the answer confirming what Tom said earlier, linux stores UTC in the

bios, period. Window stores local time in the bios. It's better this way because UTC is independent of time zones and daylight/summer time adjustments.  Now that I know what's happening it's a

pretty easy workaround -  just schedule my 'Wake to RTC' to happen five hours later,  in accordance with UTC time.

 

Thank you again Tom!

Reuben

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.