# Urgent: help troubleshoot missing notifications for watched categories

**URL:** https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339
**Category:** Support
**Created:** [2015年八月20日 16:26 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339 "2015-08-20T16:26:00Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [2015年八月20日 16:26 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/1 "2015-08-20T16:26:00Z")

</div>

I’m campaigning hard in my community to build trust in the email delivery system, and today came across an odd situation where it appears that a new post did not trigger emails to all users watching the category. I’d be grateful for any and all advice on troubleshooting this issue.

57 people have access to the category and I can confirm are watching it. According to mandrill, only 54 emails were sent out. I am still comparing lists of email addresses but have already found one where I know for sure a user was watching the category and according to mandrill did not get the notification by email.

This is an urgent, important issue for me because we are still ramping up and it’s necessary that everyone on our team have full confidence in the platform that we use to connect. I need to be able to provide good, evidence-based answers when I start hearing rumblings about discourse not reaching everyone.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [2015年八月20日 16:31 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/2 "2015-08-20T16:31:14Z")

</div>

Did all of the members have their “send email even when I visit” preference setting checked?

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [2015年八月20日 16:34 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/3 "2015-08-20T16:34:47Z")

</div>

No they didn’t. Or at least one of them didn’t. But shouldn’t they be getting these emails anyway?

I now know all three of the users who didn’t get the message.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [2015年八月20日 16:37 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/4 "2015-08-20T16:37:37Z")

</div>

is it possible that an upgrade automatically deselected the “Send me email notifications even when I am active on the site” option for users? One member who didn’t get the message swears she had that selected previously and now it’s not selected.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [2015年八月20日 16:39 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/5 "2015-08-20T16:39:56Z")

</div>

> [@tobiaseigen](#):
>
> But shouldn’t they be getting these emails anyway?

AFAIK it is by design that emails of Watched categories are _not_ sent if the member has recently visited Discourse as they presumably would have seen the Notification - _unless_ they indicate otherwise.

> [@tobiaseigen](#):
>
> is it possible that an upgrade automatically deselected the “Send me email notifications even when I am active on the site” option for users?

Seems unlikely, but entirely possible I suppose.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [2015年八月20日 16:58 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/6 "2015-08-20T16:58:26Z")

</div>

ok so it looks like this is the answer. the OP and two others didn’t get it because they were presumably logged in.

I’m concerned though because several of our key people do not like the notifications and count on their email to be alerted to emails that are important and they need to respond to. This includes mentions and categories they are watching.

So is the only answer to make sure those people have this turned on? Is there no way to set a “mailing list mode” or set watched topics to always send emails?

---

<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: [2015年八月20日 18:18 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/7 "2015-08-20T18:18:47Z")

</div>

This is a part of the global user settings change, where site admins can override the user pref defaults for all new users, that @zogstrip is working on.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [2015年八月20日 18:43 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/8 "2015-08-20T18:43:02Z")

</div>

Nice! Any ETA?

Then I would set this for all users and then hide the option on the user preferences?

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [2015年八月20日 18:48 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/9 "2015-08-20T18:48:04Z")

</div>

> [@tobiaseigen](#):
>
> Then I would set this for all users and then hide the option on the user preferences?

That seems a bit extreme  
Resistance is Futile. You **WILL** get emails

If the option to not Watch something and not get emails are removed, the only options would be to abandon the email address or send them to the Trash folder.

But you know your members better than I

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [2015年八月20日 18:55 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/10 "2015-08-20T18:55:03Z")

</div>

Yeah maybe just setting it once and defaulting it on for new users is the ticket. And to warn folks.

For staff we need to require watching certain categories and not allow it to be changed. This is a separate issue I am working on In another topic.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2015年八月20日 19:04 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/11 "2015-08-20T19:04:08Z")

</div>

> [@tobiaseigen](#):
>
> Then I would set this for all users and then hide the option on the user preferences?

What I’m currently working on will allow admins to set a default value that will only be applied for new users. Plus, they will always be able to change the value in their preferences.

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [2015年八月20日 19:08 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/12 "2015-08-20T19:08:11Z")

</div>

Note that you can consult `admin/email/all` to troubleshoot unsent emails. This list contains a reason if sending an email was skipped.

---

<div class="post-metadata">

### Author: ![wesochuck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wesochuck/32/108706_2.png) [@wesochuck](https://meta.discourse.org/u/wesochuck)
#### Post date: [2015年八月20日 19:41 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/13 "2015-08-20T19:41:34Z")

</div>

> [@tobiaseigen](#):
>
> today came across an odd situation where it appears that a new post did not trigger emails to all users watching the category

I’ve been seeing this in v1.4.0.beta9 +54 as well. I’ve personally gone in and setup the Watched categories and “Send email even when I’m active” for new users (added after our last upgrade) and then generated new posts and they have not be going out to those new users, though other members with the same settings HAVE been getting those posts and the new users have been getting email notifications for PMs that I’ve sent to them. Nothing in `/logs` or `/sidekiq` to indicate what might be going on here.

> [@fefrei](#):
>
> consult admin/email/all to troubleshoot unsent emails. This list contains a reason if sending an email was skipped.

In my case I had already checked this and showed that nothing had been shipped for the users as expected.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [2015年八月20日 19:50 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/14 "2015-08-20T19:50:43Z")

</div>

Yes but this list doesn’t tell you the specific post that is being shipped.

---

<div class="post-metadata">

### Author: ![wesochuck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wesochuck/32/108706_2.png) [@wesochuck](https://meta.discourse.org/u/wesochuck)
#### Post date: [2015年八月20日 20:06 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/16 "2015-08-20T20:06:07Z")

</div>

Maybe something went wrong when these changes were made:

[https://meta.discourse.org/t/users-not-notified-by-email-of-private-messages/15894/11?u=wesochuck](https://meta.discourse.org/t/users-not-notified-by-email-of-private-messages/15894/11)

or maybe something to do with the wording changes that happened with the “Active on site” preference (I think this was the post that initiated that change):

[https://meta.discourse.org/t/convince-me-to-transition-over-from-google-groups/31221/13?u=wesochuck](https://meta.discourse.org/t/convince-me-to-transition-over-from-google-groups/31221/13)

I also impersonated the user just to make sure that they hadn’t Muted a particular topic (they had not).

---

<div class="post-metadata">

### Author: ![michaeld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michaeld/32/1594_2.png) [@michaeld](https://meta.discourse.org/u/michaeld)
#### Post date: [2015年八月20日 22:05 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/17 "2015-08-20T22:05:41Z")

</div>

It’s wasn’t the first fix, that one was trivial.

---

<div class="post-metadata">

### Author: ![wesochuck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wesochuck/32/108706_2.png) [@wesochuck](https://meta.discourse.org/u/wesochuck)
#### Post date: [2015年八月26日 02:49 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/18 "2015-08-26T02:49:36Z")

</div>

Ok, I believe I’ve figured out what was going on in my Discourse instance, here are the repo steps:

1. Create a group; add some users to that group
2. Create a category
3. Remove the everyone permission from the new category
4. Add your new group created in step #1 so those members can Create / Reply / See
5. Make a post in this new category
6. Add new members to the permission group created in step #1
7. Make sure that these members are set to Watch the category
8. Post a reply to the topic created in step #3

The users that you added in step #4 will **not** get notified of this new post/reply to any **topic that was created before they joined the group.** They **will** get notified anytime a **new topic** is made in the category.

Personally I would consider this is a bug as it is not feasible for me to go back and invite these individuals to all previous topics in this category that they might want to get notified of a reply on (they can view the topic in the web interface), but I suppose it is possible that the system could have been spec’d out to work this way for a reason.

---

<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: [2015年八月26日 02:53 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/19 "2015-08-26T02:53:48Z")

</div>

Ok so if you add someone to a group that is five years old, they will suddenly be watching 5,000 old topics in the category associated with that group? Maybe even topics created before they had an account on the site?

It has never worked this way, and it is not a reasonable expectation to think that it should…

---

<div class="post-metadata">

### Author: ![wesochuck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wesochuck/32/108706_2.png) [@wesochuck](https://meta.discourse.org/u/wesochuck)
#### Post date: [2015年八月27日 02:56 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/20 "2015-08-27T02:56:44Z")

</div>

> [@codinghorror](#):
>
> Ok so if you add someone to a group that is five years old, they will suddenly be watching 5,000 old topics in the category associated with that group? Maybe even topics created before they had an account on the site?

I guess I was the idiot that thought the answer to this question would be Yes. Even though I’ll admit that the label clearly says otherwise:

> You will automatically watch all _new_ topics in these categories. You will be notified of all _new_ posts and topics, and a count of _new_ replies will appear for these topics.

So for our low volume list, I guess our options are:

- Put the user account in mailing list mode (Send me an email for every new post (unless I mute the topic or category))
- Not likely to happen because this group is only truly interested in about 1/10th of the traffic happening on the site and it would be a lot of muting
- Set all topics in the category to auto-close within XX days so that folks can’t reply to old posts forcing them to create new posts so that any new users watching the category will get properly notified
- Our most viable option, though since many of them send in replies via email, I’m sure it will lead to some confusion when their messages are bounced back due to a closed thread
- Have new users go into each topic in a category and watch any topics they might be interested in
- Probably not feasible because although we’re low volume, we still have a couple of hundred topics in there

Of course this issue just happens to be manifesting itself with the category that our C-level folks use for their mailing list which makes troubleshooting and suggesting workarounds a bit of a delicate tap dance.

@tobiaseigen does [my scenario](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/18) sound similar to what was happening with your users?

---

<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: [2015年八月27日 03:02 UTC](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339/21 "2015-08-27T03:02:21Z")

</div>

You could probably script it with our API to cause people to watch the previous (n) topics in the category if needed. That is what I would recommend if it is needed.

Why not have a separate Discourse instance with just the content these folks are interested in on it? Not like you have to pay licensing fees for each Discourse install, though more sites is more work to some degree.

I would like to hear more about the specific use case, the expectation is that if a new user joins and watches category X they are automatically interested in every X topic even ones from years ago? Are there a lot of people joining, and is there a lot of necro of old topics vs. creating new ones?

[下一頁](https://meta.discourse.org/t/urgent-help-troubleshoot-missing-notifications-for-watched-categories/32339.md?page=2)
