SOLVED: Cleanup list Problem. Files not deleted

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
wassy
Newbie
Newbie
Posts: 4
Joined: January 28th, 2012, 7:06 pm

SOLVED: Cleanup list Problem. Files not deleted

Post by wassy »

Hi all,

I hope someone can help me, I have recently installed SABnzb for the first time. All seems to be working fine, except the file cleanup list is not working. Currently it contains ".nfo .sfv .nzb .srr" listed just like that with spaces. Except when I look in the "Complete" folder all those files are still present (along with the actual files I want to keep). Here are my stats:

Version: 0.6.14
OS: CentOS 6
Install-type: RPM isntaller
Firewall Software: iptables
Are you using IPV6? no
Is the issue reproducible? yes

The user is named sabnzb with the shell path :/sbin/nologin, SABnzb is set up in daemon mode as per the wiki instructions. All files in the Completed folder are owned by sabnzb and group is sabnzb's primary group. Running the command "sudo -u sabnzb rm some-download-file.nfo" can succesfully delete any file in the Complete folder or its subfolders, so I'm struggling to find a permission problem.

Any help would be appreciated

Many thanks
Last edited by wassy on February 23rd, 2012, 6:30 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Cleanup list Problem. Files not deleted

Post by shypike »

It's a comma separated list, but you can omit the dots.
So: srr, nfo, sfv
wassy
Newbie
Newbie
Posts: 4
Joined: January 28th, 2012, 7:06 pm

Re: Cleanup list Problem. Files not deleted

Post by wassy »

really. Ha I feel quite silly now. Thanks for letting me know.
wassy
Newbie
Newbie
Posts: 4
Joined: January 28th, 2012, 7:06 pm

Re: Cleanup list Problem. Files not deleted

Post by wassy »

Yep that definitely solved it, I managed to miss the second part of the example below the text field where it shows ".nfo, .sfv"
Thanks for your help.
Andym8674
Newbie
Newbie
Posts: 3
Joined: February 4th, 2015, 3:14 pm

Re: SOLVED: Cleanup list Problem. Files not deleted

Post by Andym8674 »

Hello, there appears to be a limitation on the file cleanup extension list, would anyone know how to increase this limitation, I currently have about 50 listed extensions.

Thank I'm advance.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SOLVED: Cleanup list Problem. Files not deleted

Post by shypike »

I don't know of any limit.
Is it the number of extensions?
Does part of it disappear?
Don't all files get deleted?
Andym8674
Newbie
Newbie
Posts: 3
Joined: February 4th, 2015, 3:14 pm

Re: SOLVED: Cleanup list Problem. Files not deleted

Post by Andym8674 »

Yes I've seen when it's saved and San restarted that extensions disappear, the confit.ini file will only save a limited number on my setup. All extensions listed do get removed but I've found that I will get .10 and .61 etc extensions remains so I wanted to add from .1 to .100
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SOLVED: Cleanup list Problem. Files not deleted

Post by shypike »

Well, I cannot reproduce your problem, but I'll try some more.
Maybe you'd better write a simple script instead.
Andym8674
Newbie
Newbie
Posts: 3
Joined: February 4th, 2015, 3:14 pm

Re: SOLVED: Cleanup list Problem. Files not deleted

Post by Andym8674 »

Thank you for trying, have wrote a script that does work but ideally wanted all confit within Sab, no matter it's a great app and this is the only issue I have found with my setup,

Off topic I kmow, the cache article limit, my system has 48gb ram installed, can this be used to cache all downloaded articles until the need to post process? I have -1 set at the moment but it doesn't appear to be doing it, I have found a thread relating to cache article limit but it's 7 years old.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SOLVED: Cleanup list Problem. Files not deleted

Post by shypike »

We (internally) limit the cache to 1G, due to a memory management problem in the yEnc library we use.
Other than that, each file is assembled as soon as all of its parts are in.
Tools like par2 and unrar cannot work from memory.
I could suggest creating a RAM disk, but that would give its own set of issues.
Post Reply