# Email jobs failing after updating to latest

**URL:** <https://meta.discourse.org/t/email-jobs-failing-after-updating-to-latest/125066>\
**Category:** Product Support\
**Created:** [6 באוגוסט,‏ 2019,‏ 10:54pm UTC](https://meta.discourse.org/t/email-jobs-failing-after-updating-to-latest/125066 "2019-08-06T22:54:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [7 באוגוסט,‏ 2019,‏ 9:37am UTC](https://meta.discourse.org/t/email-jobs-failing-after-updating-to-latest/125066/2 "2019-08-07T09:37:25Z")

</div>

That’s a strange error. Looks like Sidekiq doesn’t know about a method added in [https://github.com/discourse/discourse/blob/master/lib/freedom\_patches/rails6.rb](https://github.com/discourse/discourse/blob/master/lib/freedom_patches/rails6.rb) for some reason.

From which version did you update? Can you try to rebuild on the command line?

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

```

---

_[View the full topic](https://meta.discourse.org/t/email-jobs-failing-after-updating-to-latest/125066)._
