Skip to content

Stats collection firing off twice in short succession #4250

@DieselTech

Description

@DieselTech

What happened?

The stats service is triggering multiple times a day. I've seen it up to 3 times in a single day, while some days it works correctly and only runs once.

What did you expect?

Only to run once within a 24 hour period.

Kavita Version Number - If you don't see your version number listed, please update Kavita and see if your issue still persists.

Nightly Testing Branch

Are you accessing kavita through a reverse proxy? If yes, confirm that the issue persists with a direct connection

Yes

What operating system is Kavita being hosted from?

Docker (Dockerhub Container)

If the issue is being seen on Desktop, what OS are you running where you see the issue?

None

If the issue is being seen in the UI, what browsers are you seeing the problem on?

No response

If the issue is being seen on Mobile, what OS are you running where you see the issue?

None

If the issue is being seen on the Mobile UI, what browsers are you seeing the problem on?

No response

Relevant log output

[Kavita] [2025-12-01 12:00:31.378 -05:00  52] [Debug] API.Services.ArchiveService Extracted archive to /kavita/config/cache/405634/ in 232 milliseconds

[Kavita] [2025-12-01 12:00:32.114 -05:00  69] [Debug] API.Services.Tasks.StatsService Collecting stats took 28493 ms

[Kavita] [2025-12-01 13:41:12.013 -05:00  69] [Debug] API.Services.ArchiveService Extracted archive to /kavita/config/cache/386280/ in 133 milliseconds

[Kavita] [2025-12-01 13:41:12.800 -05:00  69] [Debug] API.Services.Tasks.StatsService Collecting stats took 24342 ms

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageNeeds to be triaged by a developer and assigned a release

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions