Where do you see correct time? I see that server time is 2018-07-17 00:00
and device is reporting 2018-07-16 08:35
.
Hi Anton, the server timestamp of midnight (00:00:51) is 8Hr:35min out! All my tracking data is 8hr:35min out, I don't know why. I have checked the time on my server and it shows as current/true, I cannot understand the mis-match!
Check timezone using timedatectl
utility.
Hi Anton, as requested:
ubuntu@server-8:~$ timedatectl
Local time: Tue 2018-07-17 21:01:14 BST
Universal time: Tue 2018-07-17 20:01:14 UTC
RTC time: Tue 2018-07-17 20:01:14
Time zone: Europe/London (BST, +0100)
Network time on: yes
NTP synchronized: no
RTC in local TZ: yes
I guess there is still some issue with Java timezone somewhere. Try forcing timezone. There are a few thread about it on forum.
P.S. You can use triple-back-ticks to format blocks instead of doing it line by line.
Hi Anton, thank you for the speedy replies!
I have searched high and low for the correct configuration settings, I even checked https://www.traccar.org/configuration-file/ and cannot see a way to force Java to use the timezone of my choosing :-(
(Also thank you for the tip on triple back ticks - Very useful!)
I'm getting a mismatch between my traccar server time and the time the device is sending out. At first, I thought the time was incorrect on my device however after checking the logs I can see the device is sending the correct time, however Traccar's server timestamp is way off the mark.
Here's an excerpt from tracker-server.log:
My time-zone on the ubuntu server is Europe/London:
I haven't made any changes to traccar configuration files that I can contribute to this change, if any more information is required please let me know :-)