Direct Unpack Cancellation Deletes All Data

Report & discuss bugs found in SABnzbd
Post Reply
starkline
Newbie
Newbie
Posts: 2
Joined: July 31st, 2017, 8:43 pm

Direct Unpack Cancellation Deletes All Data

Post by starkline » July 31st, 2017, 8:50 pm

I do not know if this is related to direct unpack, but I have only ever observed this behavior once (after the feature was added).

Here's what happened:
I started a download the normal way. All was well until I decided to cancel the download by clicking the trash icon. After doing that, something terrible happened. The ENTIRE folder where all my downloads unpack to was deleted. That was 2TB of data gone. 48 hours of file carving on an ext4 drive later and most of my data was salvaged. Maybe this was an odd bug that doesn't hit anyone else in the gut.

Version: 2.2.0RC1 [4246bc2]
OS: Linux Mint

User avatar
safihre
Administrator
Administrator
Posts: 1669
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Direct Unpack Cancellation Deletes All Data

Post by safihre » August 1st, 2017, 1:32 am

Thus is strange and bad indeed. Are you sure this happend on RC1? Because we made specific checks to avoid this.
In the Beta this was indeed a bug like this, but I thought we fixed it in RC1.
What are you category settings? Do you use sorting?

Could you send the log to [email protected]? Maybe there's something in there or at least it has an anomized copy of your settings so I can try to reproduce.

starkline
Newbie
Newbie
Posts: 2
Joined: July 31st, 2017, 8:43 pm

Re: Direct Unpack Cancellation Deletes All Data

Post by starkline » August 2nd, 2017, 12:23 am

I'm pretty sure the version I listed was the correct one, but it's possible SAB updated with Mint when I rebooted the system. I have 4 categories with different priorities, but processing is set to default on all of them. They each extract to different folders. None use scripts. I do not use sorting.

Not sure a log will help. I can't remember the exact time and what file I was downloading. I was a bit preoccupied with other things. :)
Do you want my sabnzbd.ini file?

User avatar
safihre
Administrator
Administrator
Posts: 1669
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Direct Unpack Cancellation Deletes All Data

Post by safihre » August 2nd, 2017, 12:45 am

If you use the Show Logging button it will create a log that includes an anonymized version of your settings :)
That would be great!

Post Reply