Send RSS notifications - not sending emails

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Send RSS notifications - not sending emails

Post by psycik »

I have this ticked, and know my email settings work, as I get emails on completed downloads. But never get the email main to say that a job has been added to the queue.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Send RSS notifications - not sending emails

Post by shypike »

Which version of SABnzbd?
Did you enable the feature in Config->Email ?
Emails are only sent the moment one or more NZBs enter the queue.
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Re: Send RSS notifications - not sending emails

Post by psycik »

0.6.5

Yeah it enabled. Yep, just checked it again. Would it attempting to send an email show in the info log, or only debug etc? I currently run it in info, and did notice after a completed download the messages relating to sending an email. But when adding an item (automatically) to the queue from rss feed there are no messages I can see related to email.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Send RSS notifications - not sending emails

Post by shypike »

It should log the "info" item "Notification e-mail succesfully sent".
(Yeah, spelling mistake; I know).
I'll check the feature later and let you know.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Send RSS notifications - not sending emails

Post by shypike »

It works when I test it.
The email will only be sent if new jobs are found by the periodic RSS read-out
of enabled feeds. So not when you use the RSS user interface.
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Re: Send RSS notifications - not sending emails

Post by psycik »

Yep understand. And those conditions were met yesterday. I didnt go anywhere near the rss pages.

Would debug logging shed any further light?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Send RSS notifications - not sending emails

Post by shypike »

psycik wrote: Would debug logging shed any further light?
Sure, if you can come up with logging that contains the actual queue entry.
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Re: Send RSS notifications - not sending emails

Post by psycik »

so looked at the logs in debug, and I see it adding an item to the queue, but still no attempt at emailing. No errors or anything. Anything else I can look at? I do remember it working, at some point, but not often, and I haven't changed the setting, but maybe upgraded from an older version.

Oh, Email notification on job completion is set to always, and this works. And a test email works as well.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Send RSS notifications - not sending emails

Post by shypike »

Please email the zipped logs to bugs at sabnzbd.org (and add the URL of this message).
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Re: Send RSS notifications - not sending emails

Post by psycik »

Email sent.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Send RSS notifications - not sending emails

Post by shypike »

There is a ominous line in your log:
INFO::[__init__:960] Restarting crashed scheduler
It comes about 20 sec after the last RSS activity.

The exact cause cannot be determined from the log.
It can be that the scheduler has become unresponsive and it's being killed by the watchdog.
It could also be that it really crashes, e.g. because of a bug in the emailing part of RSS handling.
The events after it are also a bit weird.

Can you keep an eye on this and check whether this "crashed" line occurs every time you expect an email?

BTW: did you edit this logfile?
(Except for removing nzbmatrix credentials).
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Re: Send RSS notifications - not sending emails

Post by psycik »

Yeah, omitted 2 feeds that I have. I made sure I only pulled its lines.

I did see that restart happening pretty often, and it seemed to be more often than items being added. As far as I can tell 3 items were added all starting with the same name.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Send RSS notifications - not sending emails

Post by shypike »

The problem is that I cannot see whether the RSS scan terminates normally
or whether it's aborted by the scheduler crash/restart.
Well, I can at least do some testing with the RSS URLs from the log.
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Re: Send RSS notifications - not sending emails

Post by psycik »

Ok I'll monitor it tomorrow - hopefully it will add something else and a post a new log without editing.
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Re: Send RSS notifications - not sending emails

Post by psycik »

Another email sent.
Post Reply