Page MenuHomePhabricator

Fix page project aggregates cron job
Closed, ResolvedPublic5 Estimated Story Points

Description

aggregates.pageproject_aggregates_cron

has not ran since July 24, 2024, 1:40 p.m.

Acceptance Criteria:

aggregates.pageproject_aggregates_cron successfully runs.

Event Timeline

DMburugu set the point value for this task to 5.
DMburugu moved this task from To be estimated to Kanban on the Moderator-Tools-Team board.
Amdrel changed the task status from Open to In Progress.Feb 20 2025, 1:02 AM

The index has been added to the production database. Once we see a completed pageproject_aggregate run, I'll move it on to Done and resolve.

It might be worth checking the cron job lock if we don't see it complete during its next scheduled run. While debugging the job I noticed if the lock is set when restarting the containers while a job is running that they can get stuck.

It looks like the migration finished

image.png (201×799 px, 22 KB)

and the total links cron looks stuck, we should unlock it in admin

2025-02-24T14:50:19.355353250Z production_crons.1.xcpmy5x9ag24@prod    | [ ] organisations.user_lists_cron
2025-02-24T14:50:19.355362616Z production_crons.1.xcpmy5x9ag24@prod    | [ ] aggregates.link_aggregates_cron
2025-02-24T14:50:19.355371528Z production_crons.1.xcpmy5x9ag24@prod    | [ ] aggregates.user_aggregates_cron
2025-02-24T14:50:19.355411899Z production_crons.1.xcpmy5x9ag24@prod    | [ ] aggregates.pageproject_aggregates_cron
2025-02-24T14:50:19.355421357Z production_crons.1.xcpmy5x9ag24@prod    | [ ] common.backup
2025-02-24T14:50:19.355430204Z production_crons.1.xcpmy5x9ag24@prod    | extlinks.links.cron.TotalLinksCron: lock found. Will try later.