Page 1 of 1

Watch Folder stopped actively monitoring [dirscanner]

Posted: April 14th, 2021, 1:35 pm
by HarryBalls
Latest Sabnzbd 3.2.0-47 upgrade (Python 3.8.8-2) on both of my Synology units stopped monitoring the Watch Folder. It will scan and work fine when I select the Scan watch folder option, but does not do so automatically after the latest update. It was working fine before installing the latest update. It's not a permission issue and it doesn't matter if I change the 5 second scan interval up or down. Again, was working before the upgrade and works if I manually select Scan. I've deleted the folder and used the Browse button to add it back into the folder config. I'm at a loss at this point.

Any ideas? It's ongoing issue and I'm happy to provide any logs. Please help. Thanks!

Re: Watch Folder stopped actively monitoring [dirscanner]

Posted: April 14th, 2021, 3:14 pm
by sander
download and open sabnbd.log
in there, find the lines containing ¨dirscanner" ... what do they say?

Here's mine, with sabnbd 3.2.1:

Code: Select all

$ cat ~/.sabnzbd/logs/sabnzbd.log | grep -i dirscanner | tail -8
2021-03-16 19:06:43,751::INFO::[dirscanner:117] Dirscanner starting up
2021-03-16 19:10:54,898::DEBUG::[__init__:400] Stopping dirscanner
2021-03-16 19:10:54,904::DEBUG::[__init__:960] [sabnzbd.dirscanner.save] Saving data for watched_data2.sab
2021-04-14 22:01:45,356::DEBUG::[__init__:966] [sabnzbd.dirscanner.__init__] Loading data for watched_data2.sab
2021-04-14 22:01:47,118::DEBUG::[__init__:354] Starting dirscanner
2021-04-14 22:01:47,119::INFO::[dirscanner:117] Dirscanner starting up
2021-04-14 22:06:02,274::INFO::[dirscanner:163] Trying to import /home/sander/watch_this_SAB/date.nzb
2021-04-14 22:06:18,444::INFO::[dirscanner:163] Trying to import /home/sander/watch_this_SAB/€€€€€€€€€€€€€€€€€€€.nzb
2021-04-14 22:13:04,483::INFO::[dirscanner:163] Trying to import /home/sander/watch_this_SAB/reftestnzb_rar_par2_and_final_unicode_2b0c41e83d95.nzb
... and it's working (for valid NZB files, that is)

Re: Watch Folder stopped actively monitoring [dirscanner]

Posted: April 14th, 2021, 3:44 pm
by HarryBalls
2021-04-14 16:38:49,810::INFO::[__init__:1021] Restarting crashed dirscanner
2021-04-14 16:39:19,813::INFO::[__init__:1021] Restarting crashed dirscanner
2021-04-14 16:39:49,816::INFO::[__init__:1021] Restarting crashed dirscanner

Lots of the above errors. Need to debug what's causing that crash.

Re: Watch Folder stopped actively monitoring [dirscanner]

Posted: April 14th, 2021, 3:53 pm
by HarryBalls
I tried creating a new directory in a different location for watching, but that didn't help. I need to help figuring out why dirscanner is crashing/restarting.

Re: Watch Folder stopped actively monitoring [dirscanner]

Posted: April 14th, 2021, 4:12 pm
by HarryBalls
Weird. I moved the watched folder and saved the config. I moved it back and saved the change, and now it works. I'll keep my eye on it, but hopefully it's resolved. Still no idea why dirscanner was crashing and attempting restart, but at least it's resolved for now,

Re: Watch Folder stopped actively monitoring [dirscanner]

Posted: April 15th, 2021, 1:21 am
by sander
Restarting crashed dirscanner? That is bad. In your sabnzbd.log, are there any Traceback 's?

Please post them.