Page 1 of 2

Send RSS notifications - not sending emails

Posted: July 18th, 2011, 9:56 pm
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.

Re: Send RSS notifications - not sending emails

Posted: July 19th, 2011, 1:14 am
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.

Re: Send RSS notifications - not sending emails

Posted: July 19th, 2011, 1:56 am
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.

Re: Send RSS notifications - not sending emails

Posted: July 19th, 2011, 2:29 am
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.

Re: Send RSS notifications - not sending emails

Posted: July 19th, 2011, 10:06 am
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.

Re: Send RSS notifications - not sending emails

Posted: July 19th, 2011, 1:27 pm
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?

Re: Send RSS notifications - not sending emails

Posted: July 19th, 2011, 3:16 pm
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.

Re: Send RSS notifications - not sending emails

Posted: July 20th, 2011, 4:00 am
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.

Re: Send RSS notifications - not sending emails

Posted: July 20th, 2011, 4:10 am
by shypike
Please email the zipped logs to bugs at sabnzbd.org (and add the URL of this message).

Re: Send RSS notifications - not sending emails

Posted: July 20th, 2011, 4:38 am
by psycik
Email sent.

Re: Send RSS notifications - not sending emails

Posted: July 20th, 2011, 4:53 am
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).

Re: Send RSS notifications - not sending emails

Posted: July 20th, 2011, 5:00 am
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.

Re: Send RSS notifications - not sending emails

Posted: July 20th, 2011, 5:06 am
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.

Re: Send RSS notifications - not sending emails

Posted: July 20th, 2011, 5:09 am
by psycik
Ok I'll monitor it tomorrow - hopefully it will add something else and a post a new log without editing.

Re: Send RSS notifications - not sending emails

Posted: July 21st, 2011, 3:35 pm
by psycik
Another email sent.