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


(BHAVESH KUMAR) #1

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.


(RĂ©gis Hanol) #2

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

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

(BHAVESH KUMAR) #3

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 ?


(BHAVESH KUMAR) #4

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 ?


(Matt Palmer) #5

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


(BHAVESH KUMAR) #6

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


(Sam Saffron) #7

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


(BHAVESH KUMAR) #8

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


(Kane York) #9

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


(Jeff Atwood) #10