Ticket #859 (new defect)

Opened 17 months ago

Last modified 17 months ago

Subscription emails broken

Reported by: sam Owned by: paul
Priority: major Milestone: Maintenance
Component: Live server Keywords:
Cc: chris, ade Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0.575

Description

Hi just got this mail

"For some reason I realized I wasn't hearing from Rob. You might want to check your system because mine hasn't changed as far as I know."

Had a look in my inbox & the last mail from Drupal subscription system was on 27th of May.

I may be the guilty party, as I did go in to edit the message around this time.

I'll investigate via the Drupal admin interface, but has anything else happened/ been done that could have stopped the mails?

Change History

comment:1 follow-up: ↓ 3 Changed 17 months ago by paul

  • Add Hours to Ticket changed from 0.0 to 0.125
  • Total Hours changed from 0.0 to 0.125

Nothing that comes to mind. Maybe have a look through trac and see if there is anything that has been done that might have caused the problem. My first thought is that probably cron is no longer working after a server update. I'll take a look at the drupal status report ..

comment:2 Changed 17 months ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.15
  • Total Hours changed from 0.125 to 0.275

The server is sending emails OK, for example 138 have been sent since the mail.log was last rotated (06:25 on Jun 14) and not all of these are system emails, lots are Drupal emails.

sudo -i
cd /var/log
grep "to=" mail.log | wc -l
138

However looking at the sizes of the logs there was a big drop around May 31, for the oldest log file 2.6k emails were sent and for the last one 608 emails:

-rw-r-----  1 root  adm      103K Jun 16 13:57 mail.log
-rw-r-----  1 root  adm      458K Jun 14 06:25 mail.log.1
-rw-r-----  1 root  adm       77K Jun  7 06:26 mail.log.2.gz
-rw-r-----  1 root  adm      206K May 31 06:28 mail.log.3.gz
-rw-r-----  1 root  adm      262K May 24 06:26 mail.log.4.gz
grep "to=" mail.log.1 | wc -l
608

zgrep "to=" mail.log.2.gz | wc -l
710

zgrep "to=" mail.log.3.gz | wc -l
2113

zgrep "to=" mail.log.4.gz | wc -l
2692

If there is a problem I expect it is at a Drupal level so I think best ask Paul to look into it?

comment:3 in reply to: ↑ 1 Changed 17 months ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.05
  • Total Hours changed from 0.275 to 0.325

Replying to paul:

My first thought is that probably cron is no longer working after a server update.

Looks OK to me on the status page

Cron maintenance tasks Last run 0 sec ago

comment:4 Changed 17 months ago by sam

OK it sounds like I broke it by trying to edit the message.

I should therefore be able to fix it. I'll have a look through the settings again.

Thanks all,

comment:5 Changed 17 months ago by paul

  • Add Hours to Ticket changed from 0.0 to 0.25
  • Total Hours changed from 0.325 to 0.575

Cron is working fine.

I can send out a notification message from the test page (using all three send methods).
Investigating ..

Sorry, finally got this message to post! (hopefully)

comment:6 Changed 17 months ago by paul

Ok. Let me know if you need any help.

comment:7 Changed 17 months ago by sam

Hmm can't see anything obvious.

I'd have imagined that there would be many more people subscribed to 'Content type by author' https://www.transitionnetwork.org/admin/messaging/subscriptions/status

But then on the other hand there is no noticeable drop in traffic: https://stats.transitionnetwork.org/index.php?module=CoreHome&action=index&idSite=1&period=range&date=previous30#/module=Dashboard&action=embeddedIndex&idSite=1&period=range&date=previous30&idDashboard=1

So actually maybe it is working..

Is anyone else subscribed to the emails? Has anyone got one since the 27th?

Thanks

Sam

Note: See TracTickets for help on using tickets.