Trips Report not work

andrii.work9 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 Tananaev9 months ago

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

andrii.work9 months ago

Thanks for answer!

Its this function?

report.fastThreshold
Anton Tananaev9 months ago

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

andrii.work9 months ago

I change but it's not work.

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

What report period are you requesting?

andrii.work9 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 Tananaev9 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.work9 months ago

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

report.fastThreshold
Anton Tananaev9 months ago

Have you read the documentation?

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

andrii.work9 months ago

Read 2 minutes ago. Thanks =)

netluca19 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?