Waiting for the first digest to be sent

AI-generated summary

icaria36 reported that after setting up a new Discourse instance 11 days ago, no weekly digest emails had been sent despite 22 users being inactive for over 8 days. The Jobs::EnqueueDigestEmails job ran every 30 minutes, manual triggering had no effect, and test previews worked fine. Settings like disable digest emails were off, and only the Discourse Voting plugin was installed. After posting the issue, icaria36 discovered that digests had just been sent — 23 minutes after their post — without any changes made. They apologized for the premature report, noting they suspected it might resolve itself. IAmGav humorously agreed this timing is typical, reassuring that the issue is now resolved. Falco had initially questioned whether users met the 7-day inactivity threshold, which icaria36 confirmed they did. The issue appears to have been a delay in the system’s digest scheduling rather than a configuration or bug.

I set up a new Discourse 11 days ago, and no digest has been distributed yet. There are 22 users who haven’t been seen in 8 days or more. The digest is set to weekly cadence, and they should have received their digests by now.

Mail > Sent shows no trace of digests, while many emails are sent for notifications. The Sidekiq Scheduler shows Jobs::EnqueueDigestEmails running fine every 30 minutes, but nothing. Triggering the job manually makes no difference. In “Preview Summary”, I have used “Send this result to” and I have received the test digest all fine.

On the first day I changed the daily frequency of bootstrap mode to the regular weekly cadence, and applied the change retroactively. I haven’t changed anything else. disable digest emails and private email are disabled. For what is worth, the only plugin installed is the official Discourse Voting.

I have set up many other Discourse instances and this was never a problem. I have searched the forum and I haven’t found any similar reports. I don’t know what else to do.

Any ideas to get this working or at least debug the problem?

Digests are only sent if you stop visiting the site for over 7 days. Is that the case?

No, there are 22 users who haven’t been seen in 8 days or more, according to /admin/users/list/active.

Never mind. I have been waiting to file this bug 2 days just to be sure that an extra day wasn’t needed. I posted this “bug” 40 minutes ago, and the first batch of digests has been sent 23 minutes ago (without me touching anything). As said, 11 days after this instance was created.

I kind of knew this was going to happen… Sorry for the noise.

It always happens like that :joy:

Atleast you know it’s sorted. :oncoming_fist:t3: