Trips Report not work

andrii.work10 months ago

Hello All.
I have question, after update to 5.12 I have trouble on Trips Report.
When I want see report period - Today or Yesterday all work, but when I choose This Week, Previous Week, This Month, Previous Month. Reports not work.
In logs I see only this information.

Today or Yesterday.

2024-02-20 15:14:30  INFO: user: 1, report: trips, from: 2024-02-20 00:00, to: 2024-02-20 23:59, devices: [3], groups: []

This Week, Previous Week, This Month, Previous Month.

2024-02-20 15:14:52  INFO: user: 1, report: trips, from: 2024-02-01 00:00, to: 2024-02-29 23:59, devices: [3], groups: []
Anton Tananaev10 months ago

That's probably because of the fast reports. You can try increasing the threshold.

andrii.work10 months ago

Thanks for answer!

Its this function?

report.fastThreshold
Anton Tananaev10 months ago

That's not a function, but yes, that's the correct parameter.

andrii.work10 months ago

I change but it's not work.

    <entry key='report.fastThreshold'>432000</entry>
Anton Tananaev10 months ago

What report period are you requesting?

andrii.work10 months ago

This Week, Previous Week, This Month, Previous Month.

<entry key='report.fastThreshold'>1000000</entry>

I set this, and its work! Thanks Anton.

Anton Tananaev10 months ago

So previously you set the threshold to 5 days and tried doing a week or more? I don't understand how you expected it to work.

andrii.work10 months ago

I thought this was the value in dots.
Its value in seconds?

report.fastThreshold
Anton Tananaev10 months ago

Have you read the documentation?

https://www.traccar.org/configuration-file/

andrii.work10 months ago

Read 2 minutes ago. Thanks =)

netluca110 months ago

Hello everyone, to better understand the value 864000 is it the time of a day?
And so if we want more just calculate 86400xG (number of days)
Right?