Trips Report not work

andrii.work 2 years 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 Tananaev 2 years ago

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

andrii.work 2 years ago

Thanks for answer!

Its this function?

report.fastThreshold
Anton Tananaev 2 years ago

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

andrii.work 2 years ago

I change but it's not work.

    <entry key='report.fastThreshold'>432000</entry>
Anton Tananaev 2 years ago

What report period are you requesting?

andrii.work 2 years ago

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

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

I set this, and its work! Thanks Anton.

Anton Tananaev 2 years 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.work 2 years ago

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

report.fastThreshold
Anton Tananaev 2 years ago

Have you read the documentation?

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

andrii.work 2 years ago

Read 2 minutes ago. Thanks =)

netluca1 2 years 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?