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.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.in both cases (so, right away, this seems a little bit odd).The total size of the data files is 1907745394 bytes.
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/

