Linux: Error renaming and then the file disappear

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
cyriltra
Newbie
Newbie
Posts: 1
Joined: January 27th, 2018, 3:00 am

Linux: Error renaming and then the file disappear

Post by cyriltra »

Hello,

I'm using Sabnzbd in a docker and it runs smoothly except for 1 content, after the download and the unpack, I got the following error:
Error renaming "/downloads/_UNPACK_XXX" to "/downloads/XXX"
and then the folder is empty and the file is gone.
I downloaded it again and the same issue occurred.

So I download the file another time, but this time I wont do any post processing.

Any particular reason I encounter this error ?

Thank you
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Linux: Error renaming and then the file disappear

Post by shypike »

I have limited experience with Docker, but I know it can be tricky.
Is the "Download" location within the docker scope?
UB028097
Newbie
Newbie
Posts: 2
Joined: March 10th, 2019, 8:05 pm

Re: Linux: Error renaming and then the file disappear

Post by UB028097 »

I am having a similar issue and i'm not running SAB inside of a Docker container on a NAS.

The files will be processed and waiting until the final file is processed and then then entire folder is deleted while i'm accessing the file and I have no idea why or how to stop it. This gets exceedingly annoying when files are in the GB range and multiple downloads get wiped away multiple times.
User avatar
safihre
Administrator
Administrator
Posts: 5510
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Linux: Error renaming and then the file disappear

Post by safihre »

Do you maybe use Sonarr or Radarr or other processing tools?
They could be having this behavior.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
UB028097
Newbie
Newbie
Posts: 2
Joined: March 10th, 2019, 8:05 pm

Re: Linux: Error renaming and then the file disappear

Post by UB028097 »

Yes, I am using Sonarr as well. I wasn't and still am not sure why either would delete a file after it has been downloaded.
User avatar
safihre
Administrator
Administrator
Posts: 5510
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Linux: Error renaming and then the file disappear

Post by safihre »

Seems the permissions are going wrong or Radarr/Sonarr is moving it.
Check the logs also of Sonarr and maybe try setting Config > Folders > Permissions to 777.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply