Temp files deleted after failed move

Report & discuss bugs found in 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
Samkook
Newbie
Newbie
Posts: 16
Joined: November 11th, 2008, 2:01 am

Temp files deleted after failed move

Post by Samkook »

Downloaded files from the temporary folder were deleted even though they failed to be moved to their target folder since there was no disk space left.

SABnzbd recognized that there was no space left, but continued to try to move the next files and obviously failed.

Using v0.6.14 on linux.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Temp files deleted after failed move

Post by shypike »

This is more an error of the operating system.
I agree that it's not a good idea to continue trying to move, but at least the first file
will get lost when the OS isn't capable of proper recovery.
BTW: SABnzbd doesn't "recognize" that the disk is full, it just knows something went wrong
and print the error message from the OS. Unfortunately every OS (and even variants of OSses)
has it own way of reporting it.
It's probably better to abort post-processing after the first fatal error message in future releases.
Samkook
Newbie
Newbie
Posts: 16
Joined: November 11th, 2008, 2:01 am

Re: Temp files deleted after failed move

Post by Samkook »

Ah.

Aborting the post-processing would be a good idea in this case. It would have prevented me from having to redownload about 3GB of data.
Post Reply