Page 1 of 1

Download disappeared on reboot

Posted: April 16th, 2010, 3:03 pm
by dazeruk
I'm running Sabnzbd on a Synology DS210j.

I had to reboot my server. Logging back into Sabnzbd there are now no downloads showing.

I was half way through a 31GB download. I don't really want to have to start this from stratch again.

My Incomplete folder still contains those parts already downloaded. Is there a way to restart the download but get it to pick up those pieces already downloaded?

Sorry if there is an obvious solution to this but this is all very new to me.

Re: Download disappeared on reboot

Posted: April 17th, 2010, 4:06 am
by shypike
Alas not yet, we're planning that for a future release.

The best way now is to download the missing parts separately
and afterwards join the two folders manually.
(Reload the NZB, click on the name in the Queue,
you'll get a file listing where you can remove files you already have).

After that, you can use par2 to check/repair and unrar to unpack.

Code: Select all

cd /your/folder
/path/to/par2 r name-of-a-par2-file
cd /dest/folder
/path/to/unrar x /your/folder/name-of-first-rar-file

Re: Download disappeared on reboot

Posted: April 17th, 2010, 5:44 am
by dazeruk
shypike wrote: Alas not yet, we're planning that for a future release.

The best way now is to download the missing parts separately
and afterwards join the two folders manually.
(Reload the NZB, click on the name in the Queue,
you'll get a file listing where you can remove files you already have).

After that, you can use par2 to check/repair and unrar to unpack.

Code: Select all

cd /your/folder
/path/to/par2 r name-of-a-par2-file
cd /dest/folder
/path/to/unrar x /your/folder/name-of-first-rar-file
Thanks for the information.

I managed to solve this myself after a bit of Googling.

I compared what had downloaded with the individual components of the NZB.
I downloaded those that were missing.
I merged these into the original directory.
I then used QuickPar to check this data-set.
Some of the components downloaded originally had missing blocks and not enough repair blocks so I downloaded those again. QuickPar informed me of these.
(QuickPar said I was 49 repair blocks short. I actually redownload all components with missing blocks. Could I have downloaded just enough to make up this 49, ie if one component was missing 20 and another 29?)
Merged these.
Checked again with QuickPar and had a complete data-set.

Is this the best method?

Is there any way to automate the first check which I did by eye, ie check components of NZB against what has currently been downloaded?

Re: Download disappeared on reboot

Posted: April 17th, 2010, 12:42 pm
by shypike
If it works it's OK. Hopefully you don't need it often.

There will be a better method integrated into SABnzbd later.

Re: Download disappeared on reboot

Posted: April 17th, 2010, 8:13 pm
by young-einstein
dazeruk wrote:
Could I have downloaded just enough to make up this 49, ie if one component was missing 20 and another 29?)
Yes ... you can download any combination of PAR files, as long as the total adds up to [or exceeds] the number of blocks you need.

Understanding the naming convention for the PAR files can be useful too.  IE - volxxx+yy.par2

The first number [xxx] represents the total number of blocks in that set [prior to that  file], and the second number represents the number of blocks in that particular file.

IE - a typical example would be something like:

.vol000+01.par2
.vol001+02.par2
.vol003+04.par2
.vol007+08.par2
.vol015+16.par2
.vol031+32.par2
...etc

In your example [of needing 49 block] you just need to download the +32, +16 & +1 files, which would have given you enough blocks to repair it.