Purging hasn’t worked since December on this instance. We have upgraded to 3.14.2. I scheduled purging for cron: "0 7 * * SAT"
. This is blocking users from using the system, so it is very important to complete the purging and I’m trying to understand if anything is happening.
There is no purgelog
or purgelog:error
docs. I have waited about 9 hours and I’m just wanting some indication that it is still in progress. How can I know?
How long should I wait? It took ~15 hours last time.
I don’t really know how to interpret the logs except to know that it started on time. If sentinel crashes or restarts, do I need to reschedule the purge? If sentinel hasn’t restarted and I reschedule - will it cancel an existing purge or can I accidently start two purges in parallel? I’m also slightly concerned that two purges are running at once.
Apr 16 02:00:00 -- [2022-04-16 07:00:00] 2022-04-16 07:00:00 INFO: Running purging
Apr 16 02:00:01 -- [2022-04-16 07:00:00] 2022-04-16 07:00:00 INFO: Purging: Starting contacts batch: key "", doc id "", batch size 1000
Apr 16 02:00:21 -- [2022-04-16 07:00:20] 2022-04-16 07:00:20 INFO: Task purging completed
Apr 16 02:00:21 -- [2022-04-16 07:00:20] 2022-04-16 07:00:20 INFO: Task outbound started
Apr 16 02:00:21 -- [2022-04-16 07:00:20] cron: '',
Apr 16 02:00:21 -- [2022-04-16 07:00:20] 2022-04-16 07:00:20 INFO: Task reminders completed
Apr 16 02:00:21 -- [2022-04-16 07:00:20] mute_after_form_for: '',
Apr 16 02:00:21 -- [2022-04-16 07:00:20] 2022-04-16 07:00:20 INFO: Task reminders started
Apr 16 02:00:21 -- [2022-04-16 07:00:20] 2022-04-16 07:00:20 INFO: Task replications completed
Apr 16 02:00:21 -- [2022-04-16 07:00:20] 2022-04-16 07:00:20 INFO: Task replications started
Apr 16 02:00:21 -- [2022-04-16 07:00:20] message: '' }
Apr 16 02:00:21 -- [2022-04-16 07:00:20] text_expression: '',
Apr 16 02:00:21 -- [2022-04-16 07:00:20] 2022-04-16 07:00:20 WARN: Reminder configuration invalid: { form: '',
Apr 16 02:00:21 -- [2022-04-16 07:00:20] 2022-04-16 07:00:20 INFO: Task dueTasks started
Apr 16 02:00:21 -- [2022-04-16 07:00:21] 2022-04-16 07:00:21 INFO: Background cleanup batch: 59747098 -> 59747134 (36)
Apr 16 02:00:21 -- [2022-04-16 07:00:20] 2022-04-16 07:00:20 INFO: Task backgroundCleanup started
Apr 16 02:00:21 -- [2022-04-16 07:00:20] 2022-04-16 07:00:20 INFO: Task purging started
Apr 16 02:00:21 -- [2022-04-16 07:00:21] 2022-04-16 07:00:21 INFO: Task backgroundCleanup completed
Apr 16 02:00:21 -- [2022-04-16 07:00:20] 2022-04-16 07:00:20 INFO: Task dueTasks completed
Apr 16 02:00:23 -- [2022-04-16 07:00:22] 2022-04-16 07:00:22 WARN: Purging: Too many reports to purge. Decreasing contacts batch size to 500
Apr 16 02:00:23 -- [2022-04-16 07:00:22] 2022-04-16 07:00:22 INFO: Purging: Starting contacts batch: key "", doc id "", batch size 500
...
Apr 16 02:00:27 -- [2022-04-16 07:00:26] 2022-04-16 07:00:26 INFO: Task outbound completed
Apr 16 02:00:27 -- [2022-04-16 07:00:26] 2022-04-16 07:00:26 ERROR: Failed to push d7e22b25-77c1-4c43-8903-aa2a62d01474 to muso-sih, server responsed with 400
Apr 16 02:00:27 -- [2022-04-16 07:00:26] 2022-04-16 07:00:26 ERROR: Response body: {"statut":400,"message":"The date_of_birth is required !"}
Apr 16 02:00:50 -- [2022-04-16 07:00:50] 2022-04-16 07:00:50 INFO: Purging: Starting contacts batch: key "", doc id "", batch size 250
Apr 16 02:00:50 -- [2022-04-16 07:00:50] 2022-04-16 07:00:50 WARN: Purging: Too many reports to purge. Decreasing contacts batch size to 250
Apr 16 02:01:27 -- [2022-04-16 07:01:27] 2022-04-16 07:01:27 WARN: Purging: Too many reports to purge. Decreasing contacts batch size to 125
Apr 16 02:01:27 -- [2022-04-16 07:01:27] 2022-04-16 07:01:27 INFO: Purging: Starting contacts batch: key "", doc id "", batch size 125
Apr 16 02:02:03 -- [2022-04-16 07:02:02] 2022-04-16 07:02:02 INFO: Purging: Starting contacts batch: key "", doc id "", batch size 62
Apr 16 02:02:03 -- [2022-04-16 07:02:02] 2022-04-16 07:02:02 WARN: Purging: Too many reports to purge. Decreasing contacts batch size to 62
Apr 16 02:02:11 -- [2022-04-16 07:02:11] 2022-04-16 07:02:11 INFO: transitions: processing enabled
Apr 16 02:02:31 -- [2022-04-16 07:02:30] 2022-04-16 07:02:30 INFO: Found 8095 records
Apr 16 02:05:21 -- [2022-04-16 07:05:20] 2022-04-16 07:05:20 INFO: Task purging started
Apr 16 02:05:21 -- [2022-04-16 07:05:20] cron: '',