Issue with time.override=serverTime Causing Wrong Sequence of Data

Haider 11 days ago

Hi,

I used the following configuration to fix the device time issue:

<entry key='time.override'>serverTime</entry>
<entry key='time.protocols'>huabao,gt06</entry>

After adding this, my devices started updating data, but sometimes the device uploads positions in the wrong sequence and the server also stores them in the wrong sequence.

This leads to incorrect geofence alarms, wrong route reports, etc.

Another issue is that when I select protocols for override, even those devices that do not have a time issue are also affected by this configuration and their data sequence gets disturbed.

In my case, the main problem is that data is not being stored strictly in time-series order when using override.

Is there any way to make Traccar store the data in proper time order (timeseries-wise) even when using time.override=serverTime?

Thanks.

Anton Tananaev10 days ago

If you're using server time override, it will store locations in the same order they're received.