".1" folder not removed

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
sebrk
Newbie
Newbie
Posts: 9
Joined: August 24th, 2017, 2:12 pm

".1" folder not removed

Post by sebrk »

So I use CouchPotato and Sonarr and this issue only seem to arise in combination with Sonarr. However I have searched Sonarr guide/FAQ for an answer and it/they seem to throw the blame over here so here I go:

After downloading with Sonarr my incomplete folder (downloading folder) always has the folder left. Unwanted files are removed and the wanted file is sent to the correct Complete/XXXYYY folder. However the enclosing folder is left. And is always named with the ending ".1".

Does anyone have a clue? I have a feeling it has to do with that ".1" ending.
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

Re: ".1" folder not removed

Post by safihre »

Can you switch logging to +Debug in the Status Window, wait until you have it again and then download the log.
There you can search why the name is like this.
Usually this happens when there are 2 downloads with the same name.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
sebrk
Newbie
Newbie
Posts: 9
Joined: August 24th, 2017, 2:12 pm

Re: ".1" folder not removed

Post by sebrk »

Thanks I'll try it and get back here. Although I'm certain I don't have multiple downloads with the same name.
sebrk
Newbie
Newbie
Posts: 9
Joined: August 24th, 2017, 2:12 pm

Re: ".1" folder not removed

Post by sebrk »

OK here are my relevant logs I guess. As you can see stuff is downloaded to the /Incomplete folder with correct name then suddenly Sabnzbd creates this .1 folder but I get no indication as to why? I have replaced the name with XXX.YYY

Apparently I can't post my logs here as they are detected as links. And I can't link to a pastebin either. I'm a new user. That is a new one ;D

Anyway the logs doesn't really tell me why. It only states that it is/will create the .1 folder?
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

Re: ".1" folder not removed

Post by safihre »

Usually because the folder without the .1 already exists.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
sebrk
Newbie
Newbie
Posts: 9
Joined: August 24th, 2017, 2:12 pm

Re: ".1" folder not removed

Post by sebrk »

It does. It downloads to that original folder. Should Sabnzbd not delete whatever it creates in that case? Or simply work within that folder? How should I get rid of this? Interestingly Sabnzbd deletes everything within the .1 folder but leaves the folder itself.
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

Re: ".1" folder not removed

Post by safihre »

You should be able to post links no (more than 3 post I think), maybe try and share the log again?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
sebrk
Newbie
Newbie
Posts: 9
Joined: August 24th, 2017, 2:12 pm

Re: ".1" folder not removed

Post by sebrk »

safihre wrote: August 28th, 2017, 3:51 am You should be able to post links no (more than 3 post I think), maybe try and share the log again?
Should I post the complete log or am I risking something? Should I obfuscate filenames?
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

Re: ".1" folder not removed

Post by safihre »

Just do it via pastebin :)
Passwords/usernames/api-keys will be removed from the log if you get it via Show logging.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
sebrk
Newbie
Newbie
Posts: 9
Joined: August 24th, 2017, 2:12 pm

Re: ".1" folder not removed

Post by sebrk »

https://pastebin.com/HqKm8UA2

Interestingly it tries to remove the older three times at lines 1364. Guessing that fails which is sort of weird since it created the folder itself.
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

Re: ".1" folder not removed

Post by safihre »

Ohhhh now I see.

You have set your unpack directory to the Temporary Directory via your Category settings.. Why did you do that? :o
Temporary Download directory should only be used for SABnzbd, you should *not* store stuff in there!
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
sebrk
Newbie
Newbie
Posts: 9
Joined: August 24th, 2017, 2:12 pm

Re: ".1" folder not removed

Post by sebrk »

safihre wrote: August 28th, 2017, 5:00 am Ohhhh now I see.

You have set your unpack directory to the Temporary Directory via your Category settings.. Why did you do that? :o
Temporary Download directory should only be used for SABnzbd, you should *not* store stuff in there!
Isn't "Incomplete" the definition of something temporary?

So should I have a temporary folder within the Incomplete which SAB operates in and and then let Sonarr and Couchpotato look in the Incomplete root folder?
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

Re: ".1" folder not removed

Post by safihre »

No. Sonarr and Couchpotato use the API of SABnzbd to request the location of the download, it doesn't matter where it is.
The 'Temporary' and 'Complete' you should view from SABnznb's perspective, "folder where it downloads raw data to" and "folder where it puts the final result".

So for example you should have:
/Volumes/LaCie/Incomplete
And:
/Volumes/LaCie/Complete

Simple :)
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
sebrk
Newbie
Newbie
Posts: 9
Joined: August 24th, 2017, 2:12 pm

Re: ".1" folder not removed

Post by sebrk »

safihre wrote: August 28th, 2017, 5:58 am No. Sonarr and Couchpotato use the API of SABnzbd to request the location of the download, it doesn't matter where it is.
The 'Temporary' and 'Complete' you should view from SABnznb's perspective, "folder where it downloads raw data to" and "folder where it puts the final result".

So for example you should have:
/Volumes/LaCie/Incomplete
And:
/Volumes/LaCie/Complete

Simple :)
Actually it is a bit unclear still. Are you not talking about 3 folders here?

/Volumes/LaCie/Temp - Used when downloading
/Volumes/LaCie/Incomplete - Used after downloading, post processing etc.
/Volumes/LaCie/Complete - Ready to be consumed video

If not, I cannot see why I cannot download and unpack in the same folder and then let Sonarr/Couchpotato do their postprocessing there before moving the file?
User avatar
safihre
Administrator
Administrator
Posts: 5678
Joined: April 30th, 2015, 7:35 am
Contact:

Re: ".1" folder not removed

Post by safihre »

From SABnzbd point there are only 2 folders:
/Volumes/LaCie/Incomplete - Used when downloading
/Volumes/LaCie/Complete - Used after downloading, post processing, ready to be consumed video
(notice the changes)

What happens after that is not SABnzbd's concern, where Sonarr/Couchpotato place it. There is no need for you to specify different paths in Categories for these apps, they will pick up the download from wherever it is and place it where you specify it in their respective configurations.

The point of the story is, do not in any way (Folder or Category settings) make the Complete and Incomplete folder IN Sabnzbd the same.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply