_ADMIN_ folder not removing after post-processing

Get help with all aspects of 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
seanvree81
Newbie
Newbie
Posts: 49
Joined: February 25th, 2016, 9:55 pm

_ADMIN_ folder not removing after post-processing

Post 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?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: _ADMIN_ folder not removing after post-processing

Post 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?
seanvree81
Newbie
Newbie
Posts: 49
Joined: February 25th, 2016, 9:55 pm

Re: _ADMIN_ folder not removing after post-processing

Post by seanvree81 »

That's the Root dir of the temp download folder
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: _ADMIN_ folder not removing after post-processing

Post 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?
seanvree81
Newbie
Newbie
Posts: 49
Joined: February 25th, 2016, 9:55 pm

Re: _ADMIN_ folder not removing after post-processing

Post 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".
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: _ADMIN_ folder not removing after post-processing

Post 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.
seanvree81
Newbie
Newbie
Posts: 49
Joined: February 25th, 2016, 9:55 pm

Re: _ADMIN_ folder not removing after post-processing

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: _ADMIN_ folder not removing after post-processing

Post 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.)
seanvree81
Newbie
Newbie
Posts: 49
Joined: February 25th, 2016, 9:55 pm

Re: _ADMIN_ folder not removing after post-processing

Post 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.
Post Reply