# Email notifications not sent

**URL:** https://meta.discourse.org/t/email-notifications-not-sent/53042
**Category:** Support
**Created:** [November 17, 2016, 9:18pm UTC](https://meta.discourse.org/t/email-notifications-not-sent/53042 "2016-11-17T21:18:17Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![elutz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elutz/32/64158_2.png) [@elutz](https://meta.discourse.org/u/elutz)
#### Post date: [November 17, 2016, 9:18pm UTC](https://meta.discourse.org/t/email-notifications-not-sent/53042/1 "2016-11-17T21:18:17Z")

</div>

Some time ago the the sending of notification emails out of our Discourse installation stopped, at least it seems so.  
Sending emails itself works, just tested with a test email, sending out invitations works too. But under Settings / Emails / Skipped the newest entries are from 10 days ago and in the list of sent emails the newest ones are quite old too. There are about 300 users on the site, so I would think there should some email to be sent, but isn’t.  
Could it be any wrong setting, but which? I looked around but didn’t found any suspicious.  
Any hints?  
Thanks!

---

<div class="post-metadata">

### Author: ![elutz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elutz/32/64158_2.png) [@elutz](https://meta.discourse.org/u/elutz)
#### Post date: [November 17, 2016, 9:40pm UTC](https://meta.discourse.org/t/email-notifications-not-sent/53042/2 "2016-11-17T21:40:24Z")

</div>

A follow-up: It is even more wrong. Sending a test email from settings works, so far so good. But I just detected that sending of invitation emails fails too now. In the lists of skipped and sent email I can’t see any new entry.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 17, 2016, 9:41pm UTC](https://meta.discourse.org/t/email-notifications-not-sent/53042/3 "2016-11-17T21:41:58Z")

</div>

What version are you running? I think that there may have been something that caused this that got fixed recently. Can you go to `/admin/upgrade` or do a

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

```

---

<div class="post-metadata">

### Author: ![elutz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elutz/32/64158_2.png) [@elutz](https://meta.discourse.org/u/elutz)
#### Post date: [November 17, 2016, 10:08pm UTC](https://meta.discourse.org/t/email-notifications-not-sent/53042/4 "2016-11-17T22:08:50Z")

</div>

This is 1.6.6 here. AFAIK it is the newest one in the stable channel, isn’t it?  
Just detected, email notification of private messages doesn’t work too ☹

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [November 17, 2016, 10:09pm UTC](https://meta.discourse.org/t/email-notifications-not-sent/53042/5 "2016-11-17T22:09:52Z")

</div>

I think that version has a bug with backups. I believe the latest is 1.6.7.

---

<div class="post-metadata">

### Author: ![elutz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elutz/32/64158_2.png) [@elutz](https://meta.discourse.org/u/elutz)
#### Post date: [November 17, 2016, 10:38pm UTC](https://meta.discourse.org/t/email-notifications-not-sent/53042/6 "2016-11-17T22:38:58Z")

</div>

You are right, 1.6.7 is the most recent: [https://github.com/discourse/discourse/releases](https://github.com/discourse/discourse/releases)  
Unfortunately the update isn’t working too, it says:

> A check for updates has not been performed lately. Ensure sidekiq is running.

This happens regularly, only after a rebuild it is some time ok. Maybe it is related to (?) :

> [@"Ensure sidekiq is running." when it is definitely running](https://meta.discourse.org/t/ensure-sidekiq-is-running-when-it-is-definitely-running/33936/19):
>
> @codinghorror @neil @sam I fixed it. Here’s what I had to do: cd /var/discourse ./launcher ssh app rails c Sidekiq.redis { |r| puts r.flushall } Then I had to exit the container and ./launcher restart app That cleared the Sidekiq Redis queue and everything started back up. If I had to guess, I upgraded Discourse when there was a backup job in the queue in Redis and somehow, upon restarting the app, the name of a class or something associated with Redis, Sidekiq, or backing up had changed, s…

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 17, 2016, 10:56pm UTC](https://meta.discourse.org/t/email-notifications-not-sent/53042/7 "2016-11-17T22:56:12Z")

</div>

See `/admin/upgrade` or

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

```

---

<div class="post-metadata">

### Author: ![elutz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elutz/32/64158_2.png) [@elutz](https://meta.discourse.org/u/elutz)
#### Post date: [November 17, 2016, 10:59pm UTC](https://meta.discourse.org/t/email-notifications-not-sent/53042/8 "2016-11-17T22:59:51Z")

</div>

Thanks @pfaffman, but I’m not the guy with access to the command line on the server. So I have to wait.  
Thanks again.

---

<div class="post-metadata">

### Author: ![elutz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elutz/32/64158_2.png) [@elutz](https://meta.discourse.org/u/elutz)
#### Post date: [November 18, 2016, 7:12am UTC](https://meta.discourse.org/t/email-notifications-not-sent/53042/11 "2016-11-18T07:12:29Z")

</div>

Got it. Sorry, I didn’t realize that you mean with “/admin/upgrade” something like this “[http://mydiscourse.server.anyware/admin/upgrade](http://mydiscourse.server.anyware/admin/upgrade)” 😳  
Now we have the most recent version. But the email problem isn’t gone. ☹  
The only email sent successfully is the test email…

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [November 18, 2016, 5:46pm UTC](https://meta.discourse.org/t/email-notifications-not-sent/53042/12 "2016-11-18T17:46:23Z")

</div>

Sorry I wasn’t clear about the URL!

The next thing to check is sidekiq. Search here to find the URL (I’m on my phone and can’t deal).

---

<div class="post-metadata">

### Author: ![elutz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elutz/32/64158_2.png) [@elutz](https://meta.discourse.org/u/elutz)
#### Post date: [November 18, 2016, 6:31pm UTC](https://meta.discourse.org/t/email-notifications-not-sent/53042/13 "2016-11-18T18:31:47Z")

</div>

No, it was my fault, simply forgot, that a web application is based on URLs 😉  
But the good news are … the emails are running again.  
The guy with the proper access rights had done a rebuild of the app as you had recommended.  
Thanks!

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [November 18, 2016, 7:39pm UTC](https://meta.discourse.org/t/email-notifications-not-sent/53042/14 "2016-11-18T19:39:27Z")

</div>

This topic was automatically closed after 60 minutes. New replies are no longer allowed.
