Sabnzbd using wrong scripts directory, saving dupe files

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
horn34
Newbie
Newbie
Posts: 12
Joined: April 9th, 2012, 6:11 pm

Sabnzbd using wrong scripts directory, saving dupe files

Post by horn34 »

I recently started using Sickbeard and can't figure out why SABnzbd is leaving duplicate files on my C drive.

In the Post-Processing Scripts Folder field, I have it pointed to a scripts folder on my E drive, but it still does all the processing on my C drive (where it's installed).

This normally wouldn't be a big deal, but it has now started leaving full copies of the downloads there. This caused all sorts of failures recently when my C drive ran out of drive space due to all the dupe files SABnzbd is saving in the
C:\Program Files (x86)\SABnzbd\scripts\ directory. The files are getting processed correctly to the right destination, but why is SABnzbd leaving duplicates in the scripts folder?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd using wrong scripts directory, saving dupe files

Post by shypike »

The scripts folder is where your scripts should be.
It has nothing to do with where downloaded and post-processed files are stored.
horn34
Newbie
Newbie
Posts: 12
Joined: April 9th, 2012, 6:11 pm

Re: Sabnzbd using wrong scripts directory, saving dupe files

Post by horn34 »

Why is sabnzbd leaving duplicate files in C:\Program Files (x86)\SABnzbd\scripts\ and how do I stop it? It's filling up my boot drive and causing all sorts of problems. It never did this before I started using Sickbeard and I can't see anywhere in the settings where there is an option to save files in that folder or to prevent it from doing so.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd using wrong scripts directory, saving dupe files

Post by shypike »

Go through Config->Folders and check whether you set that name for other folders.
Besides, are you sure SABnzbd is placing files there? isn't it SickBeard.
What kind of "duplicate" files are those anyway?
horn34
Newbie
Newbie
Posts: 12
Joined: April 9th, 2012, 6:11 pm

Re: Sabnzbd using wrong scripts directory, saving dupe files

Post by horn34 »

Here's the log for a show (I changed the actual show name to Show X so as not to encourage piracy)
Parsed Show X (EVOLVE) [ABD: False]

Checking scene exceptions for a match on Show X

Checking scene exceptions for a match on Show X

Looking up Show X in the DB

Looking up Show X in the DB

Lookup successful, using tvdb id 1615xx

Loading show object for tvdb_id 1615xx

Retrieving episode object for 3x1

The old status had a quality in it, using that: HD TV

SB snatched this episode so I'm marking it as priority

Is ep a priority download: True

There is no existing file so there's no worries about replacing it

This download is marked a priority download so I'm going to replace an existing file if I find one

Found release name Show X

Destination folder for this episode: X:\TV\Show X\S3

Copying file from C:\Program Files (x86)\SABnzbd\scripts\Show X.mkv to X:\TV\Show X)\S3\Show X.mkv

Processing succeeded for C:\Program Files (x86)\SABnzbd\scripts\Show X.mkv
After processing, the show is moved to it's correct destination on the X drive, but the original copy of the the show is left on C. How do I stop that?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd using wrong scripts directory, saving dupe files

Post by shypike »

When the script runs, SABnzbd has already finished all its post-processsing.
Anything happening in the SB script is SickBeard's responsibility.
You might ask the question on their forum.
Post Reply