I am getting error as 10,000s of emails failed (mostly digest emails)

I am getting following error in my admin panel at https://ask.thesmartware.com/admin/email/preview-digest

Failed Emails

Error logs at sidekiq

All these errors are some how related to digest emails.

Seems like a migration didn’t run. Can your rebuild your container?

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

I think you are right because i am facing this issue since last time i
upgraded my discourse.

In the steps to upgrade, i saw few commands repeating and it was mentioned
there that 2nd instance of that command will just migrate something and
exit.

But, what i realised that instead of doing migration, it started doing the
same process again.

As far as i remember, after this i got some problem (i think 500 error) and
then I chagned my discourse version to stable release in app.yml

I have already ran those commands (rebuild app) many times but unfortunately It has not helped yet.

Now, can you please help me out with this migration issue which has not ran
correctly. How can i make it run now ?

I have already ran those commands (rebuild app) many times but unfortunately It has not helped yet.

Now, can you please help me out with this migration issue which has not ran
correctly. How can i make it run now ?

That’s what ./launcher rebuild app is supposed to do (along with a bunch of other things).

I changed my version to tests-passed back in app.yml and ran those commands.
Finally, my problem is now solved :grinning:

1 Like

very very bad idea, you can only move back to stable from beta when we release a new stable in a few weeks.

1 Like

Oops, I changed my version back to tests-passed (not stable-release).
i mentioned “stable-release” in my previous message by mistake.

4 Likes

So the issue was what @sam just described as a very bad idea - you moved versions backwards.

2 Likes