[SOLVED] automatic par2 repair not occurring?
Posted: June 9th, 2017, 3:29 am
Hi all,
I'm not sure if I'm missing something really obvious here, but it seems my SAB does not feel like repairing my downloads.
If a download was OK, it moves through each post-processing step correctly, and unpacks fine.
If a download was in need of repair, it doesn't perform the repair, and instead moves to the unpack stage - which then fails.

If I manually repair on the same device using the same util outside of SAB, the download is repaired, and I can unpack correctly. Here's an extract:
Here's my SAB startup:
Here's the SAB log when it's examining the download:
Some info about my local par2:
Not sure if I've missed anything. Please post if more info is needed.
Thank you.
edit: after reading another post in this forum, I've now enabled "+ Debug" instead of "+ Info" and am currently waiting for the next repairable download to finish.
I'm not sure if I'm missing something really obvious here, but it seems my SAB does not feel like repairing my downloads.
If a download was OK, it moves through each post-processing step correctly, and unpacks fine.
If a download was in need of repair, it doesn't perform the repair, and instead moves to the unpack stage - which then fails.

If I manually repair on the same device using the same util outside of SAB, the download is repaired, and I can unpack correctly. Here's an extract:
Code: Select all
Target: "Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part28.rar" - found.
Target: "Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part29.rar" - damaged. Found 129 of 145 data blocks.
Target: "Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part30.rar" - damaged. Found 99 of 145 data blocks.
Target: "Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part31.rar" - damaged. Found 117 of 145 data blocks.
Target: "Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part32.rar" - found.
Target: "Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part33.rar" - found.
Target: "Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part34.rar" - found.
Target: "Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part35.rar" - found.
Scanning extra files:
Repair is required.
8 file(s) exist but are damaged.
27 file(s) are ok.
You have 4820 out of 5072 data blocks available.
You have 506 recovery blocks available.
Repair is possible.
You have an excess of 254 recovery blocks.
252 recovery blocks will be used to repair.
Computing Reed Solomon matrix.
Constructing: done.
Solving: done.
Wrote 77228160 bytes to disk
Wrote 77228160 bytes to disk
Wrote 77228160 bytes to disk
Wrote 77228160 bytes to diskCode: Select all
2017-06-07 04:05:24,787::INFO::[SABnzbd:1167] --------------------------------
2017-06-07 04:05:24,788::INFO::[SABnzbd:1168] SABnzbd.py-2.0.1 (rev=<HASH>29248ee603e6bf1)
2017-06-07 04:05:24,789::INFO::[SABnzbd:1169] Full executable path = /share/MD0_DATA/.qpkg/SABnzbdplus/SABnzbdplus/SABnzbd.py
2017-06-07 04:05:24,790::INFO::[SABnzbd:1181] Platform = posix
2017-06-07 04:05:24,791::INFO::[SABnzbd:1182] Python-version = 2.7.13 (default, Apr 24 2017, 15:51:42)
[GCC 6.3.0]
2017-06-07 04:05:24,791::INFO::[SABnzbd:1183] Arguments = SABnzbd.py --daemon --config-file /share/MD0_DATA/.qpkg/SABnzbdplus/config/config.ini --browser 0 --pidfile /tmp/SABnzbdplus.pid
2017-06-07 04:05:24,792::INFO::[SABnzbd:1188] Preferred encoding = UTF-8
2017-06-07 04:05:24,793::INFO::[SABnzbd:1229] Read INI file /share/MD0_DATA/.qpkg/SABnzbdplus/config/config.ini
2017-06-07 04:05:24,797::INFO::[__init__:995] Loading data for rss_data.sab from /share/MD0_DATA/.qpkg/SABnzbdplus/config/<USERNAME>/rss_data.sab
2017-06-07 04:05:24,903::INFO::[__init__:995] Loading data for totals10.sab from /share/MD0_DATA/.qpkg/SABnzbdplus/config/<USERNAME>/totals10.sab
2017-06-07 04:05:24,927::INFO::[postproc:95] Loading postproc queue
2017-06-07 04:05:24,928::INFO::[__init__:995] Loading data for postproc2.sab from /share/MD0_DATA/.qpkg/SABnzbdplus/config/<USERNAME>/postproc2.sab
2017-06-07 04:05:24,972::INFO::[__init__:995] Loading data for queue10.sab from /share/MD0_DATA/.qpkg/SABnzbdplus/config/<USERNAME>/queue10.sab
2017-06-07 04:05:54,574::INFO::[__init__:995] Loading data for watched_data2.sab from /share/MD0_DATA/.qpkg/SABnzbdplus/config/<USERNAME>/watched_data2.sab
2017-06-07 04:05:54,593::INFO::[__init__:995] Loading data for Rating.sab from /share/MD0_DATA/.qpkg/SABnzbdplus/config/<USERNAME>/Rating.sab
2017-06-07 04:05:54,594::INFO::[__init__:998] /share/MD0_DATA/.qpkg/SABnzbdplus/config/<USERNAME>/Rating.sab missing
2017-06-07 04:05:54,596::INFO::[scheduler:197] Setting schedule for midnight BPS reset
2017-06-07 04:05:54,597::INFO::[__init__:351] All processes started
2017-06-07 04:05:54,598::INFO::[SABnzbd:283] Web dir is /share/MD0_DATA/.qpkg/SABnzbdplus/SABnzbdplus/interfaces/Glitter
2017-06-07 04:05:54,599::INFO::[SABnzbd:283] Web dir is /share/MD0_DATA/.qpkg/SABnzbdplus/SABnzbdplus/interfaces/Config
2017-06-07 04:05:55,313::INFO::[SABnzbd:407] SABYenc module (v3.0.2)... found!
2017-06-07 04:05:55,314::INFO::[SABnzbd:424] Cryptography module (v1.5.1)... found!
2017-06-07 04:05:55,316::INFO::[SABnzbd:429] par2 binary... found (/usr/bin/par2)
2017-06-07 04:05:55,317::INFO::[SABnzbd:434] par2cmdline binary... found (/usr/bin/par2)
2017-06-07 04:05:55,318::INFO::[SABnzbd:437] UNRAR binary... found (/opt/bin/unrar)
2017-06-07 04:05:55,319::INFO::[SABnzbd:450] unzip binary... found (/opt/bin/unzip)
2017-06-07 04:05:55,320::INFO::[SABnzbd:455] 7za binary... found (/opt/bin/7za)
2017-06-07 04:05:55,321::INFO::[SABnzbd:461] nice binary... found (/opt/bin/nice)
2017-06-07 04:05:55,322::INFO::[SABnzbd:465] ionice binary... found (/opt/bin/ionice)
2017-06-07 04:05:55,323::INFO::[SABnzbd:1274] SSL version OpenSSL 1.0.2k 26 Jan 2017
2017-06-07 04:05:55,324::INFO::[SABnzbd:1275] SSL supported protocols ['TLS v1.2', 'TLS v1.1', 'TLS v1']
2017-06-07 04:05:55,333::INFO::[SABnzbd:1386] Starting web-interface on 0.0.0.0:8800
Code: Select all
2017-06-09 12:20:15,636::INFO::[postproc:315] Starting Post-Processing on Too.Big.To.Fail.2011.Blu-ray.1080p.REMUX.AVC.DTS-HDMA.5.1-BluHD => Repair:True, Unpack:True, Delete:True, Script:notifyMediaPlayer.py, Cat:movies
2017-06-09 12:20:15,637::INFO::[postproc:628] Starting verification and repair of Too.Big.To.Fail.2011.Blu-ray.1080p.REMUX.AVC.DTS-HDMA.5.1-BluHD
2017-06-09 12:20:20,708::INFO::[postproc:649] Running verification and repair on set Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD
2017-06-09 12:20:20,734::INFO::[newsunpack:1820] Quick-check of file Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part29.rar failed!
2017-06-09 12:20:20,735::INFO::[newsunpack:1820] Quick-check of file Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part30.rar failed!
2017-06-09 12:20:20,736::INFO::[newsunpack:1820] Quick-check of file Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part31.rar failed!
2017-06-09 12:20:20,738::INFO::[newsunpack:1820] Quick-check of file Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part10.rar failed!
2017-06-09 12:20:20,740::INFO::[newsunpack:1820] Quick-check of file Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part09.rar failed!
2017-06-09 12:20:20,741::INFO::[newsunpack:1820] Quick-check of file Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part08.rar failed!
2017-06-09 12:20:20,743::INFO::[newsunpack:1820] Quick-check of file Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part07.rar failed!
2017-06-09 12:20:20,744::INFO::[newsunpack:1820] Quick-check of file Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.part06.rar failed!
2017-06-09 12:20:20,746::INFO::[newsunpack:1055] Scanning "/share/Download/sabnzbd/incomplete/Too.Big.To.Fail.2011.Blu-ray.1080p.REMUX.AVC.DTS-HDMA.5.1-BluHD/Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.par2"
2017-06-09 12:20:21,104::INFO::[newsunpack:1215] Detected par2cmdline version that needs basepath, adding -B<path> parameter
2017-06-09 12:20:21,366::INFO::[newsunpack:1073] Par verify failed on /share/Download/sabnzbd/incomplete/Too.Big.To.Fail.2011.Blu-ray.1080p.REMUX.AVC.DTS-HDMA.5.1-BluHD/Too Big to Fail 2011 Blu-ray 1080p Remux AVC DTS-HDMA 5.1-BluHD.par2!
2017-06-09 12:20:21,417::INFO::[postproc:719] Verification and repair finished for Too.Big.To.Fail.2011.Blu-ray.1080p.REMUX.AVC.DTS-HDMA.5.1-BluHD
2017-06-09 12:20:21,429::INFO::[misc:892] Creating directories: /share/movies/(dump)/Too.Big.To.Fail.2011.Blu-ray.1080p.REMUX.AVC.DTS-HDMA.5.1-BluHD
2017-06-09 12:20:21,433::INFO::[postproc:388] Running unpack_magic on Too.Big.To.Fail.2011.Blu-ray.1080p.REMUX.AVC.DTS-HDMA.5.1-BluHDCode: Select all
[~] # type -a par2
par2 is /usr/bin/par2
[~] # par2 -V
par2cmdline-mt version 0.6.14-mt1
Thank you.
edit: after reading another post in this forum, I've now enabled "+ Debug" instead of "+ Info" and am currently waiting for the next repairable download to finish.