Failing to send emails, undefined method with_secure_media

In my dashboard, I see:

There are 1409 email jobs that failed. Check your app.yml and ensure that the mail server settings are correct. See the failed jobs in Sidekiq.

When I click through to the failed jobs, I see

Jobs::HandledExceptionWrapper: Wrapped NoMethodError: undefined method `with_secure_media?' for #<Post:0x00007f48bd49d9c0>

The problem seems to correlate with an upgrade to v2.4.0.beta8.

1 Like

I’d first to a rebuild from the command line.

cd /var/discourse
git pull
./launcher rebuild app
5 Likes

Already did the rebuild and didn’t notice a change initially. But now that I’ve rechecked the dashboard, I’m seeing the number of failed jobs falling.

5 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.