Page 1 of 2

SAB fails to repair when temp folder over network

Posted: January 15th, 2016, 1:44 am
by summer10
Hi,

Context:
- Raspberry Pi Model B - 512MB RAM, Jessie Lite distro up to date
- connected to Samba share via 100Mbps Ethernet. On the Samba server side the drive in formatted with NTFS.
- Git version of SAB from yesterday
- '-N' extra par2 parameter, par2 version 0.6.14 installed

Problem:
- download of NZB fails.
- but the same download succeeds when my temp folder in on a USB key (formatted with ext4) locally connected to my Raspberry Pi.

Excerpt of log file when download fails:

Code: Select all

2016-01-14 14:26:39,299::INFO::[__init__:924] /media/freeboxusb/IncompleteDownloads/50389c8b66cec608eb8081a7/__ADMIN__/SABnzbd_nzo_dmP8zf removed
2016-01-14 14:26:39,304::INFO::[nzbqueue:250] Saving queue
2016-01-14 14:26:39,308::INFO::[__init__:934] Saving data for queue10.sab in /home/pi/.sabnzbd/admin/queue10.sab
2016-01-14 14:26:39,316::INFO::[postproc:83] Saving postproc queue
2016-01-14 14:26:39,323::INFO::[__init__:934] Saving data for postproc2.sab in /home/pi/.sabnzbd/admin/postproc2.sab
2016-01-14 14:26:39,437::INFO::[postproc:280] Starting PostProcessing on 50389c8b66cec608eb8081a7 => Repair:True, Unpack:True, Delete:True, Script:None, Cat:*
2016-01-14 14:26:39,453::INFO::[postproc:578] Par2 check starting on 50389c8b66cec608eb8081a7
2016-01-14 14:26:40,978::DEBUG::[__init__:894] Loading data for __verified__ from /media/freeboxusb/IncompleteDownloads/50389c8b66cec608eb8081a7/__ADMIN__/__verified__
2016-01-14 14:26:40,990::INFO::[postproc:599] Running repair on set Avengers (2012) HDrip BBer.mkv
2016-01-14 14:26:41,174::INFO::[newsunpack:1658] Cannot Quick-check missing file Avengers (2012) HDrip BBer.mkv!
2016-01-14 14:26:41,193::INFO::[newsunpack:1049] Scanning "/media/freeboxusb/IncompleteDownloads/50389c8b66cec608eb8081a7/Avengers (2012) HDrip BBer.mkv.par2"
2016-01-14 14:26:41,335::DEBUG::[newsunpack:1623] build_filelists(): joinables: [u'/media/freeboxusb/IncompleteDownloads/50389c8b66cec608eb8081a7/Avengers (2012) HDrip BBer.mkv.001', ...]
2016-01-14 20:31:29,599::DEBUG::[newsunpack:1624] build_filelists(): zips: []
2016-01-14 20:31:29,606::DEBUG::[newsunpack:1625] build_filelists(): rars: [u'/media/usbdrive/50389c8b66cec608eb8081a7/Avengers (2012) HDrip BBer.mkv.081', ...]
2016-01-14 14:26:41,373::DEBUG::[newsunpack:1626] build_filelists(): 7zips: []
2016-01-14 14:26:41,382::DEBUG::[newsunpack:1627] build_filelists(): ts: []
2016-01-14 14:26:41,387::DEBUG::[newsunpack:1180] Par2-classic = True
2016-01-14 14:26:41,495::DEBUG::[newsunpack:1199] Starting par2: ['/usr/local/bin/par2', 'r', '-N', '/media/freeboxusb/IncompleteDownloads/50389c8b66cec608eb8081a7/Avengers (2012) HDrip BBer.mkv.par2', '/media/freeboxusb/IncompleteDownloads/50389c8b66cec608eb8081a7/Avengers (2012) HDrip BBer.mkv.001', ...]
2016-01-14 14:34:31,434::INFO::[newsunpack:1272] Verified in 7 mins 50 seconds, repair is required
2016-01-14 15:59:29,247::DEBUG::[newsunpack:1490] PAR2 output was
Loading "Avengers (2012) HDrip BBer.mkv.par2".
Loading: 0.3%
...
Loaded 26 new packets including 26 recovery blocks
There are 1 recoverable files and 0 other files.
The block size used was 768000 bytes.
There are a total of 2485 data blocks.
The total size of the data files is 1907745394 bytes.
Verifying source files:
Target: "Avengers (2012) HDrip BBer.mkv" - missing.
...
Scanning: "Avengers (2012) HDrip BBer.mkv.nzb": 99.9%
File: "Avengers (2012) HDrip BBer.mkv.nzb" - no data found.
Repair is required.
1 file(s) are missing.
You have 2397 out of 2485 data blocks available.
You have 95 recovery blocks available.
Repair is possible.
You have an excess of 7 recovery blocks.
88 recovery blocks will be used to repair.
Computing Reed Solomon matrix.
...
Solving: done.
Writing recovered data
Wrote 473603026 bytes to disk
Writing recovered data
Wrote 473569632 bytes to disk
Writing recovered data
Wrote 473569632 bytes to disk
Writing recovered data
Wrote 473569632 bytes to disk
Writing recovered data
Wrote 13433472 bytes to disk
Verifying repaired files:
...
Scanning: "Avengers (2012) HDrip BBer.mkv": 99.9%
Target: "Avengers (2012) HDrip BBer.mkv" - damaged. Found 2472 of 2485 data blocks.
Repair Failed.
when it succeeds:

Code: Select all

2016-01-14 20:31:27,425::INFO::[__init__:924] /media/usbdrive/50389c8b66cec608eb8081a7/__ADMIN__/SABnzbd_nzo_VgspSu removed
2016-01-14 20:31:27,430::INFO::[nzbqueue:250] Saving queue
2016-01-14 20:31:27,434::INFO::[__init__:934] Saving data for queue10.sab in /home/pi/.sabnzbd/admin/queue10.sab
2016-01-14 20:31:27,444::INFO::[postproc:83] Saving postproc queue
2016-01-14 20:31:27,459::INFO::[__init__:934] Saving data for postproc2.sab in /home/pi/.sabnzbd/admin/postproc2.sab
2016-01-14 20:31:27,495::INFO::[postproc:280] Starting PostProcessing on 50389c8b66cec608eb8081a7 => Repair:True, Unpack:True, Delete:True, Script:None, Cat:*
2016-01-14 20:31:27,508::INFO::[postproc:578] Par2 check starting on 50389c8b66cec608eb8081a7
2016-01-14 20:31:29,435::DEBUG::[__init__:894] Loading data for __verified__ from /media/usbdrive/50389c8b66cec608eb8081a7/__ADMIN__/__verified__
2016-01-14 20:31:29,442::INFO::[postproc:599] Running repair on set Avengers (2012) HDrip BBer.mkv
2016-01-14 20:31:29,508::INFO::[newsunpack:1658] Cannot Quick-check missing file Avengers (2012) HDrip BBer.mkv!
2016-01-14 20:31:29,514::INFO::[newsunpack:1049] Scanning "/media/usbdrive/50389c8b66cec608eb8081a7/Avengers (2012) HDrip BBer.mkv.par2"
2016-01-14 20:31:29,586::DEBUG::[newsunpack:1623] build_filelists(): joinables: [u'/media/usbdrive/50389c8b66cec608eb8081a7/Avengers (2012) HDrip BBer.mkv.081', ...]
2016-01-14 20:31:29,599::DEBUG::[newsunpack:1624] build_filelists(): zips: []
2016-01-14 20:31:29,606::DEBUG::[newsunpack:1625] build_filelists(): rars: [u'/media/usbdrive/50389c8b66cec608eb8081a7/Avengers (2012) HDrip BBer.mkv.081', ...]
2016-01-14 20:31:29,620::DEBUG::[newsunpack:1626] build_filelists(): 7zips: []
2016-01-14 20:31:29,628::DEBUG::[newsunpack:1627] build_filelists(): ts: []
2016-01-14 20:31:29,632::DEBUG::[newsunpack:1180] Par2-classic = True
2016-01-14 20:31:29,684::DEBUG::[newsunpack:1199] Starting par2: ['/usr/local/bin/par2', 'r', '-N', '/media/usbdrive/50389c8b66cec608eb8081a7/Avengers (2012) HDrip BBer.mkv.par2', ...]
2016-01-14 20:35:27,707::INFO::[newsunpack:1272] Verified in 3 mins 58 seconds, repair is required
2016-01-14 21:13:13,095::INFO::[newsunpack:1404] Repaired in 37 mins 45 seconds
2016-01-14 21:13:13,123::DEBUG::[newsunpack:1490] PAR2 output was
Loading "Avengers (2012) HDrip BBer.mkv.par2".
Loading: 0.3%
...
Loading: 99.9%
Loaded 20 new packets including 20 recovery blocks
There are 1 recoverable files and 0 other files.
The block size used was 768000 bytes.
There are a total of 2485 data blocks.
The total size of the data files is 1907745394 bytes.
Verifying source files:
Target: "Avengers (2012) HDrip BBer.mkv" - missing.
...
Scanning: "Avengers (2012) HDrip BBer.mkv.080": 96.1%
File: "Avengers (2012) HDrip BBer.mkv.080" - found 26 of 2485 data blocks from "Avengers (2012) HDrip BBer.mkv".
Repair is required.
1 file(s) are missing.
You have 2443 out of 2485 data blocks available.
You have 44 recovery blocks available.
Repair is possible.
You have an excess of 2 recovery blocks.
42 recovery blocks will be used to repair.
Computing Reed Solomon matrix.
...
Solving: 99.9%
Solving: done.
Writing recovered data
Wrote 992282098 bytes to disk
Writing recovered data
Wrote 915463296 bytes to disk
Verifying repaired files:
Scanning: "Avengers (2012) HDrip BBer.mkv": 0.1%
...
Scanning: "Avengers (2012) HDrip BBer.mkv": 99.9%
Target: "Avengers (2012) HDrip BBer.mkv" - found.
Repair complete.
Note:
The total size of the data files is 1907745394 bytes.
in both cases (so, right away, this seems a little bit odd).

Any idea about how I can determine why the download (well, repair) fails when my temp drive is on the network?
SAB has been working with a temp folder over the network for a very long time, and I suddenly started to have problems a few months ago when upgrading my Raspberry.

Cheers!

NB: my 'test' NZB is this one:

http://www.nzbking.com/details:50389c8b ... 8eb8081a7/

Re: SAB fails to repair when temp folder over network

Posted: January 15th, 2016, 4:30 am
by sander
"temp folder over network" is discouraged: it's slow, and - based on your post - it seems it can cause problems.

Having said that: I would try this:

Put the download into SABnzbd, but set to "Download" (not Repair). The result will be the full NZB download in Downloads/complete/...

After downloading, stop SABnzbd. From your raspi, go into the networked Downloads/complete/..., and manually start

Code: Select all

par2 r -N *par2
unrar x *01.rar
If one of those two commands fails on the networked drive, but goes well on the USB drive, you know it is not SABnzbd related... 8)

Here's a smaller NZB ... faster testing: http://www.binsearch.info/?b=Big.Buck.B ... 29&max=250

Re: SAB fails to repair when temp folder over network

Posted: January 15th, 2016, 5:05 am
by shypike
It could be in par2, but that's just a guess.
One thing you can do is to just download the files (without repair) in the two cases
and then byte-compare them.
If they're the same, it's a problem within par2.
If not, than SABnzbd might have an influence.
In both cases it's likely that there's some underlying issue in the network drive,
at least in the fact that you use it over the network.
Especially par2 has "aggressive" access to the files (high frequency and random access).

Re: SAB fails to repair when temp folder over network

Posted: January 15th, 2016, 11:35 am
by summer10
When the download failed, I manually launched

Code: Select all

par2 r -N *.par2
and it did fail too.

I think it can either be, in order of priority, a:

- Samba client or server problem. The server is a Freebox DSL box. The client is a Raspberry Pi.
- SAB problem, incorrectly downloading the data (par2 should not 'blindly' be blamed)
- par2 problem, doing its job.

This is very weird.
Apart from being slow over the network, there shouldn't be any issues.

I will try with a smaller NZB.

Re: SAB fails to repair when temp folder over network

Posted: January 15th, 2016, 11:48 am
by sander
Hmmm. Interesting. Like Shypike said: "byte-compare them."

Or, as a quicky / shortcut: md2sum of the same files on the different media.

So something like:

Code: Select all

$ md5sum *
2b07dd0c9eacbc788afcac5d036a0494  Big.Buck.Bunny.2008.1080p.x264-60fps.nfo
c7ada384a3b8ff180094b0e1da2e1f85  Big.Buck.Bunny.2008.1080p.x264-60fps.nzb
ab887924ac961d02cdc7ba32e7729967  Big.Buck.Bunny.2008.1080p.x264-60fps.par2
54d8677ca9f961e3b68ccb4f15dc6aae  Big.Buck.Bunny.2008.1080p.x264-60fps.part01.rar
27c149d6230b22f35445e63f98e2dda9  Big.Buck.Bunny.2008.1080p.x264-60fps.part02.rar
d7e1b183a504fa386e80752b9a36b926  Big.Buck.Bunny.2008.1080p.x264-60fps.part03.rar
5b60bbed1706b058345fcdb9a9901e4d  Big.Buck.Bunny.2008.1080p.x264-60fps.part04.rar
70298611c30e8e0d94c6929a3f986641  Big.Buck.Bunny.2008.1080p.x264-60fps.part05.rar
f84e1c1ef7e2fc3747889a04471439c0  Big.Buck.Bunny.2008.1080p.x264-60fps.part06.rar
9600bdde6d0bbcc04c885f52ed2a4bef  Big.Buck.Bunny.2008.1080p.x264-60fps.part07.rar
177a10fcbba6c2ac7d64c2e2b51648a7  Big.Buck.Bunny.2008.1080p.x264-60fps.part08.rar
c4ebbf44ec9dea77c535de0e21161163  Big.Buck.Bunny.2008.1080p.x264-60fps.part09.rar
e7b96f8f5312fea7f0e0549f3e967bbd  Big.Buck.Bunny.2008.1080p.x264-60fps.part10.rar
463e93479ed813140bdd0670f7b401b3  Big.Buck.Bunny.2008.1080p.x264-60fps.part11.rar
4f091933caa3fcaf0071e450da8dd6c7  Big.Buck.Bunny.2008.1080p.x264-60fps.part12.rar
3497c925a77caa214759698f17e4765d  Big.Buck.Bunny.2008.1080p.x264-60fps.part13.rar
9f3e244dfb7e4da540a24262d87ce437  Big.Buck.Bunny.2008.1080p.x264-60fps.part14.rar
67f42558cccf92de8b2c609a88846a50  Big.Buck.Bunny.2008.1080p.x264-60fps.part15.rar
cda353d676b24b3bbdc4cf793349feea  Big.Buck.Bunny.2008.1080p.x264-60fps.part16.rar
194453ef1e8d02edd8afaa9f6a1c4b23  Big.Buck.Bunny.2008.1080p.x264-60fps.part17.rar
cad62bd1e458464dd7465a14534b2af9  Big.Buck.Bunny.2008.1080p.x264-60fps.part18.rar
829bd8b40a2bff4726909456dd9f3180  Big.Buck.Bunny.2008.1080p.x264-60fps.part19.rar
ad5eaba3a12328fb7ab579636cbfb2b5  Big.Buck.Bunny.2008.1080p.x264-60fps.part20.rar
260d14cf5edbaf458fdc51ff96d1fc51  Big.Buck.Bunny.2008.1080p.x264-60fps.part21.rar
61d88aa16a823846809d823768c4d5e1  Big.Buck.Bunny.2008.1080p.x264-60fps.part22.rar
2f23054bb94479864cb06498356bdbe9  Big.Buck.Bunny.2008.1080p.x264-60fps.part23.rar
f2c042ff237a861b93ef3d70890083db  Big.Buck.Bunny.2008.1080p.x264-60fps.sfv
ee88cd950277bdbb2963fed0370b329d  Big.Buck.Bunny.2008.1080p.x264-60fps.vol00+01.par2
2102913b4a0ecc844269c2c28ff1400f  Big.Buck.Bunny.2008.1080p.x264-60fps.vol01+02.par2
ff9615de7cceb03fcd7abc129b3a100d  Big.Buck.Bunny.2008.1080p.x264-60fps.vol03+03.par2
df9370e31ea0cf0e2945a08ba2b39fd1  Big.Buck.Bunny.2008.1080p.x264-60fps.vol06+06.par2
968a0fa40fb057822055e0724e9e7e81  Big.Buck.Bunny.2008.1080p.x264-60fps.vol12+12.par2
b783aff118d7d0529c162cc7425f841e  Big.Buck.Bunny.2008.1080p.x264-60fps.vol24+23.par2
04437dcc89790fce5ff1f35a99eb6eed  Big.Buck.Bunny.2008.1080p.x264-60fps.vol47+46.par2
9ba3956cece9542db316b3c4dc10a752  Big.Buck.Bunny.2008.1080p.x264-60fps.vol93+92.par2

And to be sure: do a few downloads of the same NZB on the same medium ... to rule out intermittent things

Re: SAB fails to repair when temp folder over network

Posted: January 15th, 2016, 11:55 am
by sander
Oh, wait: maybe this is easier:

Use the .sfv in the post what the Simple file verification (SFV) of the other files should be.

Code: Select all

sudo apt-get install cksfv
cksfv *
... and compare it:

Code: Select all

time cksfv * > my-own.sfv

$ cat *sfv | grep part17
;     15728640  22:05.28 2015-10-27 Big.Buck.Bunny.2008.1080p.x264-60fps.part17.rar
Big.Buck.Bunny.2008.1080p.x264-60fps.part17.rar 59DA0966
;     15728640  10:22.48 2016-01-15 Big.Buck.Bunny.2008.1080p.x264-60fps.part17.rar
Big.Buck.Bunny.2008.1080p.x264-60fps.part17.rar 59DA0966
... same same, so looks good.

BTW: I don't know which SFV checking is already done by SAB itself.

Re: SAB fails to repair when temp folder over network

Posted: January 15th, 2016, 1:00 pm
by shypike
sander wrote: BTW: I don't know which SFV checking is already done by SAB itself.
SABnzbd only falls back to SFV files when there are no par2 files available (or only invalid ones).

Re: SAB fails to repair when temp folder over network

Posted: January 15th, 2016, 1:14 pm
by summer10
Download failed for Big Buck Bunny. Here are the MD5's:

Code: Select all

2b07dd0c9eacbc788afcac5d036a0494  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.nfo
c7ada384a3b8ff180094b0e1da2e1f85  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.nzb
ab887924ac961d02cdc7ba32e7729967  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.par2
54d8677ca9f961e3b68ccb4f15dc6aae  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part01.rar
2e8b3663456e12074ed1de68eda926aa  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part01.rar.1
27c149d6230b22f35445e63f98e2dda9  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part02.rar
9597c3337e2fbb5ec240b30c7bfd584a  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part02.rar.1
d7e1b183a504fa386e80752b9a36b926  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part03.rar
eb4d3bb0d9be35cfb876790460c30548  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part03.rar.1
5b60bbed1706b058345fcdb9a9901e4d  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part04.rar
74d5b8f6827367ad7dfdbd34c23a5304  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part04.rar.1
70298611c30e8e0d94c6929a3f986641  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part05.rar
4036a2c4484ce71b7d41037250ec632d  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part05.rar.1
f84e1c1ef7e2fc3747889a04471439c0  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part06.rar
3eb69d5cb00893146f5cbd2f521b58cd  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part06.rar.1
9600bdde6d0bbcc04c885f52ed2a4bef  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part07.rar
97c0ccf0cb4fc89f9587afe418e52ddb  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part07.rar.1
177a10fcbba6c2ac7d64c2e2b51648a7  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part08.rar
beec1e1766ee1a316503aa44f054a367  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part08.rar.1
c4ebbf44ec9dea77c535de0e21161163  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part09.rar
fc03d64ab9394383ee33225e73dd1389  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part09.rar.1
e7b96f8f5312fea7f0e0549f3e967bbd  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part10.rar
b2fdbdd2aa7a6a2676efe4db8708a482  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part10.rar.1
463e93479ed813140bdd0670f7b401b3  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part11.rar
11674c907a6f810600d16911336ed64d  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part11.rar.1
4f091933caa3fcaf0071e450da8dd6c7  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part12.rar
512cbcf5eb81fdaffa37d09c5095946e  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part12.rar.1
3497c925a77caa214759698f17e4765d  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part13.rar
ca05761b82400f9f453c6827e797b264  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part13.rar.1
9f3e244dfb7e4da540a24262d87ce437  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part14.rar
ca4fcc8fbb867fd35f1bedd445b859f2  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part14.rar.1
67f42558cccf92de8b2c609a88846a50  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part15.rar
8398007cd6200f9d9cd59e94ac97b962  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part15.rar.1
cda353d676b24b3bbdc4cf793349feea  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part16.rar
e42bfaf63986c83dffae67f2eacbc77e  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part16.rar.1
194453ef1e8d02edd8afaa9f6a1c4b23  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part17.rar
f3df96fb070ca3efad1b6608abd581bf  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part17.rar.1
cad62bd1e458464dd7465a14534b2af9  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part18.rar
e80a7c398b72ea18774588f064260637  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part18.rar.1
829bd8b40a2bff4726909456dd9f3180  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part19.rar
2e74a8e375da2e7c03d0d427a2222433  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part19.rar.1
ad5eaba3a12328fb7ab579636cbfb2b5  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part20.rar
920fafe6129044f3e3235a12481df484  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part20.rar.1
260d14cf5edbaf458fdc51ff96d1fc51  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part21.rar
df7800122bdff6af79073dbb00dfa84c  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part21.rar.1
61d88aa16a823846809d823768c4d5e1  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part22.rar
03ac980e21ffe4668d55a38ee0bafba6  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part22.rar.1
2f23054bb94479864cb06498356bdbe9  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.part23.rar
f2c042ff237a861b93ef3d70890083db  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.sfv
ee88cd950277bdbb2963fed0370b329d  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.vol00+01.par2
2102913b4a0ecc844269c2c28ff1400f  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.vol01+02.par2
ff9615de7cceb03fcd7abc129b3a100d  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.vol03+03.par2
df9370e31ea0cf0e2945a08ba2b39fd1  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.vol06+06.par2
968a0fa40fb057822055e0724e9e7e81  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.vol12+12.par2
b783aff118d7d0529c162cc7425f841e  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.vol24+23.par2
04437dcc89790fce5ff1f35a99eb6eed  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.vol47+46.par2
c059a4dba76a5f122f9a7794b308f7dc  /media/freeboxusb/IncompleteDownloads/Big_Buck_Bunny_2008_1080p_x264-60fps/Big.Buck.Bunny.2008.1080p.x264-60fps.vol93+92.par2
And actually, there is a difference... the last file does not have the same MD5 as your file.
That's interesting!! Something fishy, very fishy.
(I also wonder why I've got those '.rar.1' files, too, and not you?)

Re: SAB fails to repair when temp folder over network

Posted: January 15th, 2016, 1:15 pm
by summer10
The vol93+32 file is 17240636 bytes.
How big is yours?

Re: SAB fails to repair when temp folder over network

Posted: January 15th, 2016, 1:17 pm
by shypike
You should compare files that are only downloaded and not repaired by SABnzbd.
The .1 files are the renamed damaged files, this happens after par2 has repaired a file.

Re: SAB fails to repair when temp folder over network

Posted: January 15th, 2016, 1:55 pm
by summer10
Sure, but how can I prevent SAB from repairing? Shall I pause the repair process once it has started?

Note: the wrong MD5 sum for the last .par2 file seems to be a major issue in my situation, right?

Re: SAB fails to repair when temp folder over network

Posted: January 15th, 2016, 2:04 pm
by summer10
sander's last par2 file:

Code: Select all

9ba3956cece9542db316b3c4dc10a752  Big.Buck.Bunny.2008.1080p.x264-60fps.vol93+92.par2
My par2 file:

Code: Select all

c059a4dba76a5f122f9a7794b308f7dc  Big.Buck.Bunny.2008.1080p.x264-60fps.vol93+92.par2
Different MD5.
Looks like SAB either failed to correctly download that file, or somehow the download was corrupted by a third-party component (eg. Samba)

Re: SAB fails to repair when temp folder over network

Posted: January 15th, 2016, 2:11 pm
by summer10
Would it be possible that SAB does not properly close the file handle associated with the last par2 file?

Re: SAB fails to repair when temp folder over network

Posted: January 15th, 2016, 3:32 pm
by sander
summer10 wrote:Would it be possible that SAB does not properly close the file handle associated with the last par2 file?

"... in case of a Samba share", you mean? Interesting hypothesis. Now the question: how to verify that? I have a suggestion: put more stuff into a .NZB, so behind the last par2. For example by combining two downloads via http://www.binsearch.info/index.php?adv_sort=date

Wait ... you have checked that the last par2 is downloaded as the last file? So: SABnzbd is following the order of the NZB?

EDIT:

Probably easier / better: edit the .NZB and move the Big.Buck.Bunny.2008.1080p.x264-60fps.vol93+92.par2 block to the beginning of the .NZB

EDIT 2:

Even more easy: put the regular .NZB into SAB, in SAB's main interface, right of the download click on the folder icon, and drag-and-drop the par2 files at the bottom a few lines higher.

Re: SAB fails to repair when temp folder over network

Posted: January 16th, 2016, 2:18 am
by summer10
Here is what I see:

Code: Select all

[Big.Buck.Bunny.2008.1080p.x264-60fps] Verified in 1 min 50 seconds, repair is required
Trying SFV verification
Some files failed to verify against "Big.Buck.Bunny.2008.1080p.x264-60fps.sfv"
Big.Buck.Bunny.2008.1080p.x264-60fps.vol93+92.par2
So there clearly is a problem (that SAB did detect) with the downloading of this PAR2 file.

Now trying the following:
sander wrote:EDIT 2:

Even more easy: put the regular .NZB into SAB, in SAB's main interface, right of the download click on the folder icon, and drag-and-drop the par2 files at the bottom a few lines higher.