I setup a Linode Instance for Traccar using the instructions from https://www.traccar.org/install-digitalocean/
I have:
- Set the time zone on the Server.
- Set the time zone on the Traccar Profile.
- Set the time zone on the GPS Unit.
But still it is not correct when I review trips.
In the logs sudo tail -f /opt/traccar/logs/tracker-server.log
it gives me:
2024-02-23 15:43:48 INFO: [Tc367adc7] id: 867946051823868, time: 2024-02-22 20:35:27
Something isn't right. How can I successfully set the time zone right? I've seen many threads about modifying files which I cannot find or getting into the Java Application to set it, but nothing seems to work. Some specific instructions and commands would be most helpful.
I am in +11 in Victoria Australia if that is of any help.
Just a question, have you set the time zone on the server to UTC?
No. I've set it to my UTC +11
Like current time is:
root@localhost:~# date
Fri 23 Feb 2024 03:56:23 PM AEDT
Should I set the server back to UTC?
Usually you shouldn't mess with the server timezone. Linux has several different places where the timezone is set and unless you know all of them, you likely introducing a problem.
And the device should ideally report UTC time to the server.
I think I have fixed it. Looks like you need to set the Time Zone on the Traccar Portal to what YOU want it to report it. Then set the GPS Device and Server to UTC. Then it will work correctly.
Just means now when I text the GPS device for status, it gives me UTC time.
I setup a Linode Instance for Traccar using the instructions from https://www.traccar.org/install-digitalocean/
I have:
But still it is not correct when I review trips.
In the logs
sudo tail -f /opt/traccar/logs/tracker-server.log
it gives me:2024-02-23 15:43:48 INFO: [Tc367adc7] id: 867946051823868, time: 2024-02-22 20:35:27
Something isn't right. How can I successfully set the time zone right? I've seen many threads about modifying files which I cannot find or getting into the Java Application to set it, but nothing seems to work. Some specific instructions and commands would be most helpful.
I am in +11 in Victoria Australia if that is of any help.