Page 1 of 1
_ADMIN_ folder not removing after post-processing
Posted: May 30th, 2016, 10:05 pm
by seanvree81
Running SABNZB as a windows service.
Everything works fine except after the post-processing is complete, SABNZB leaves a directory called \_ADMIN_ in the download folder and I have to go in and delete it manually.
Why is this?
Re: _ADMIN_ folder not removing after post-processing
Posted: May 31st, 2016, 1:23 am
by shypike
Is that in the root of the temporary download folder
or is there a folder named after the job in which an __admin__ subfolder exists?
Re: _ADMIN_ folder not removing after post-processing
Posted: May 31st, 2016, 4:17 am
by seanvree81
That's the Root dir of the temp download folder
Re: _ADMIN_ folder not removing after post-processing
Posted: May 31st, 2016, 5:12 am
by shypike
If you remove that, does it keep coming back?
Do you use any Sorting functions, and if so which one and with which Sort expression?
Re: _ADMIN_ folder not removing after post-processing
Posted: May 31st, 2016, 1:51 pm
by seanvree81
NO, it doesn't come back. It's simply a leftover sub dir of a downloaded movie.
I'm not using any sorting. Only "labels".
Re: _ADMIN_ folder not removing after post-processing
Posted: June 1st, 2016, 2:01 am
by shypike
I meant: does it get created every time a job completes?
Apart from that, we have never ever seen this behaviour and nobody complained about it before.
In combination with the Sort functions, I can imagine some peculiar scenarios that have this result.
But not with Sort off.
Bottom-line: I believe it happens on your system, but we will have a hard time doing anything about it.
If it happens frequently it would be useful to set logging to "Debug"
and send us the log file after it happens again.
Re: _ADMIN_ folder not removing after post-processing
Posted: June 1st, 2016, 7:52 pm
by seanvree81
it seems that the sub folder "_ADMIN_" is the leftover folder of the parent directory that gets moved to the finished folder.
Here is the log:
2016-06-01 17:47:33,273::INFO::[misc:1283] Cannot remove folder \\?\c:\nfs\torrents\incomplete\Inside.Man.S03E08.Ranger.Spurlock.720p\__ADMIN__
2016-06-01 17:47:33,276::INFO::[misc:1283] Cannot remove folder \\?\c:\nfs\torrents\incomplete\Inside.Man.S03E08.Ranger.Spurlock.720p
2016-06-01 17:47:33,539::INFO::[misc:1283] Cannot remove folder \\?\c:\nfs\torrents\incomplete\Inside.Man.S03E06.United.States.of.Tras\__ADMIN__
2016-06-01 17:47:33,540::INFO::[misc:1283] Cannot remove folder \\?\c:\nfs\torrents\incomplete\Inside.Man.S03E06.United.States.of.Tras
2016-06-01 17:47:33,575::INFO::[misc:1283] Cannot remove folder \\?\c:\nfs\torrents\incomplete\Inside.Man.S03E05.Morgan.Makes.Cents.Ou\__ADMIN__
2016-06-01 17:47:33,576::INFO::[misc:1283] Cannot remove folder \\?\c:\nfs\torrents\incomplete\Inside.Man.S03E05.Morgan.Makes.Cents.Ou
2016-06-01 17:47:33,611::INFO::[misc:1283] Cannot remove folder \\?\c:\nfs\torrents\incomplete\Inside.Man.S03E03.Morgan.See.Morgan.Do\__ADMIN__
2016-06-01 17:47:33,612::INFO::[misc:1283] Cannot remove folder \\?\c:\nfs\torrents\incomplete\Inside.Man.S03E03.Morgan.See.Morgan.Do
2016-06-01 17:47:33,721::INFO::[misc:1283] Cannot remove folder \\?\c:\nfs\torrents\incomplete\Inside.Man.S03E07.Honey.Bee.Ware.720p.H\__ADMIN__
2016-06-01 17:47:33,723::INFO::[misc:1283] Cannot remove folder \\?\c:\nfs\torrents\incomplete\Inside.Man.S03E07.Honey.Bee.Ware.720p.H
2016-06-01 17:47:33,757::INFO::[misc:1283] Cannot remove folder \\?\c:\nfs\torrents\incomplete\Inside.Man.S03E04.Morgan.the.Matchmaker\__ADMIN__
2016-06-01 17:47:33,759::INFO::[misc:1283] Cannot remove folder \\?\c:\nfs\torrents\incomplete\Inside.Man.S03E04.Morgan.the.Matchmaker
2016-06-01 17:48:54,822::INFO::[dirscanner:420] Scheduled or manual watched folder scan
Re: _ADMIN_ folder not removing after post-processing
Posted: June 2nd, 2016, 1:48 am
by shypike
OK, so there's an admin folder inside the job folder, not in the root of "incomplete".
On Windows, you cannot remove folders that are accessed by other programs running on the system.
Anti-virus programs are a good example of this.
Can you try to exclude the "incomplete" folder from the anti-virus scan?
(Or any other software that scans the disk.)
Re: _ADMIN_ folder not removing after post-processing
Posted: June 2nd, 2016, 2:15 pm
by seanvree81
shypike wrote:OK, so there's an admin folder inside the job folder, not in the root of "incomplete".
On Windows, you cannot remove folders that are accessed by other programs running on the system.
Anti-virus programs are a good example of this.
Can you try to exclude the "incomplete" folder from the anti-virus scan?
(Or any other software that scans the disk.)
Yeah, this is running on a windows server where all the data is on a LINUX NFS NAS, so the file permissions and "in use" rules don't apply.
I've already uninstalled all anti virus on the machine, and disabled all built-in firewall features.