Page 1 of 1

Linux: Error renaming and then the file disappear

Posted: January 27th, 2018, 3:04 am
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

Re: Linux: Error renaming and then the file disappear

Posted: January 28th, 2018, 11:50 am
by shypike
I have limited experience with Docker, but I know it can be tricky.
Is the "Download" location within the docker scope?

Re: Linux: Error renaming and then the file disappear

Posted: March 10th, 2019, 8:08 pm
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.

Re: Linux: Error renaming and then the file disappear

Posted: March 11th, 2019, 5:14 am
by safihre
Do you maybe use Sonarr or Radarr or other processing tools?
They could be having this behavior.

Re: Linux: Error renaming and then the file disappear

Posted: March 15th, 2019, 4:45 pm
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.

Re: Linux: Error renaming and then the file disappear

Posted: March 18th, 2019, 2:48 am
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.