Date/time is off on all backup jobs

Unimus support forum
Post Reply
fldx
Posts: 6
Joined: Mon Dec 30, 2019 3:03 pm

Thu Jan 02, 2020 4:01 pm

I have verified that the date/time/timezone is correct in ubuntu, yet all of the times in the logs within the unimus dashboard show incorrect times. If I run a manual backup job right now (9:50am central) the dashboard will say that the job finished successfully but at 3:50pm. Im guessing unimus is using UTC time. Is there a spot within unimus that I need to set the correct timezone?

Thanks!
User avatar
Tomas
Posts: 803
Joined: Sat Jun 25, 2016 12:33 pm

Thu Jan 02, 2020 4:42 pm

Hi,

Unimus does indeed keep all server-side time in UTC, and all DB timestamps are in UTC.
However, all client-side time is transformed to the timezone that the browser tells the server it uses.

If you are seeing wrong times, most likely issue is that your browser is telling the server that you are using UTC.
You will want to check TZ settings on your workstation/PC, and if those TZ settings are properly delegated from your browser to the server.

You can check by issuing this command in your browser's console:

Code: Select all

console.log(new Date().getTimezoneOffset() / 60);
For example, for UTC-6, this would return -6.

EDIT:
We also have a Wiki article on how to check correct configuration server-side:
https://wiki.unimus.net/display/UNPUB/C ... ngtimezone
fldx
Posts: 6
Joined: Mon Dec 30, 2019 3:03 pm

Thu Jan 02, 2020 4:58 pm

when I run that command in the chrome console I get back "6"

Code: Select all

console.log(new Date().getTimezoneOffset() / 60);
 6
I thought central US time was -6

Looks like my time zone and everything is correct on my machine. I tried to access the interface from a few other machines here on my network as well and get the same thing from all of them.

Its not really a big deal, the jobs still run which is the important part.
fldx
Posts: 6
Joined: Mon Dec 30, 2019 3:03 pm

Thu Jan 02, 2020 5:06 pm

Also, It looks like all the timestamps on the posts in the forum here are correct.

I'm guessing that works off of a similar setup
User avatar
Tomas
Posts: 803
Joined: Sat Jun 25, 2016 12:33 pm

Thu Jan 02, 2020 5:09 pm

6 is the correct result there, so not a browser TZ issue.
The fact that you are seeing wrong timestamps on all clients is very strange.

Could you please create a ticket on the Portal, and we can schedule a Webex session to investigate directly.

Thanks!
fldx
Posts: 6
Joined: Mon Dec 30, 2019 3:03 pm

Thu Jan 02, 2020 5:20 pm

Sure thing

Thanks Thomas!
Post Reply