Watch Folder stopped actively monitoring [dirscanner]

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.
Post Reply
HarryBalls
Newbie
Newbie
Posts: 6
Joined: April 14th, 2021, 1:24 pm

Watch Folder stopped actively monitoring [dirscanner]

Post 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!
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Watch Folder stopped actively monitoring [dirscanner]

Post 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)
HarryBalls
Newbie
Newbie
Posts: 6
Joined: April 14th, 2021, 1:24 pm

Re: Watch Folder stopped actively monitoring [dirscanner]

Post 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.
HarryBalls
Newbie
Newbie
Posts: 6
Joined: April 14th, 2021, 1:24 pm

Re: Watch Folder stopped actively monitoring [dirscanner]

Post 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.
HarryBalls
Newbie
Newbie
Posts: 6
Joined: April 14th, 2021, 1:24 pm

Re: Watch Folder stopped actively monitoring [dirscanner]

Post 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,
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Watch Folder stopped actively monitoring [dirscanner]

Post by sander »

Restarting crashed dirscanner? That is bad. In your sabnzbd.log, are there any Traceback 's?

Please post them.
Post Reply