Direct unpack fails [Qnap NAS]

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
kallek
Newbie
Newbie
Posts: 19
Joined: January 8th, 2011, 5:22 pm

Direct unpack fails [Qnap NAS]

Post by kallek »

I installed Sabnzbd on a Qnap NAS via the sherpa script (https://forum.qnap.com/viewtopic.php?f=320&t=132373) but I can't get direct unpack to work. I enabled debug logging and the first download I tested stopped direct unpack after four rar-files were downloaded with the error:

Code: Select all

Unexpected end of archive
After download was complete sabnzbd says quickcheck is OK and it unpacks without needing to repair. ( Also tested the fourth rar-file during download and it was OK.)

The second download i get this message:

Code: Select all

2022-07-30 16:01:34,126::INFO::[nzbstuff:262] Article [email protected] unavailable on all servers, discarding
2022-07-30 16:01:34,126::INFO::[nzbstuff:1513] Prospectively added 1 repair blocks to ...
Sabnzbd says that there is 1 articles missing but Quickcheck is OK and it unrars after download without need for repair.

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

Re: Direct unpack fails

Post by safihre »

Seems maybe a timing issue. Try a different download maybe? For example the test download in the Status window.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate

kallek
Newbie
Newbie
Posts: 19
Joined: January 8th, 2011, 5:22 pm

Re: Direct unpack fails

Post by kallek »

safihre wrote: August 3rd, 2022, 3:57 pm Seems maybe a timing issue. Try a different download maybe? For example the test download in the Status window.
So I tried a test download and this is what I get:

Code: Select all

2022-08-04 19:50:28,573::INFO::[directunpacker:444] DirectUnpacked volume 1 for sometestfile-1GB
2022-08-04 19:50:29,022::INFO::[directunpacker:220] Error in DirectUnpack of sometestfile-1GB: Unexpected end of archive
2022-08-04 19:50:29,023::INFO::[directunpacker:450] Aborting DirectUnpack for sometestfile-1GB
2022-08-04 19:50:29,424::DEBUG::[filesystem:937] Removing dir recursively /share/Multimedia/Movies/_UNPACK_test_download_1000MB.1
2022-08-04 19:50:29,431::DEBUG::[directunpacker:334] DirectUnpack Unrar output 
UNRAR 6.10 beta 3 freeware      Copyright (c) 1993-2021 Alexander Roshal

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

Re: Direct unpack fails

Post by safihre »

There's not more lines?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate

kallek
Newbie
Newbie
Posts: 19
Joined: January 8th, 2011, 5:22 pm

Re: Direct unpack fails

Post by kallek »

safihre wrote: August 6th, 2022, 3:37 am There's not more lines?
There are alot of lines in the logfile, but those are the ones I thought relevant. Is there anything else in particular that I should look for, or should I paste the whole file?

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

Re: Direct unpack fails

Post by safihre »

The unrar output of course, you clipped it after the first line but that's the one that will tell us what's wrong.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate

kallek
Newbie
Newbie
Posts: 19
Joined: January 8th, 2011, 5:22 pm

Re: Direct unpack fails

Post by kallek »

safihre wrote: August 6th, 2022, 10:41 am The unrar output of course, you clipped it after the first line but that's the one that will tell us what's wrong.
Here are the following lines:

Code: Select all

2022-08-04 19:50:28,573::INFO::[directunpacker:444] DirectUnpacked volume 1 for sometestfile-1GB
2022-08-04 19:50:29,022::INFO::[directunpacker:220] Error in DirectUnpack of sometestfile-1GB: Unexpected end of archive
2022-08-04 19:50:29,023::INFO::[directunpacker:450] Aborting DirectUnpack for sometestfile-1GB
2022-08-04 19:50:29,424::DEBUG::[filesystem:937] Removing dir recursively /share/Multimedia/Movies/_UNPACK_test_download_1000MB.1
2022-08-04 19:50:29,431::DEBUG::[directunpacker:334] DirectUnpack Unrar output 
UNRAR 6.10 beta 3 freeware      Copyright (c) 1993-2021 Alexander Roshal


Extracting from /share/Download/incomplete/test_download_1000MB/sometestfile-1GB.part01.rar

Extracting  /share/Multimedia/Movies/_UNPACK_test_download_1000MB.1/1GB-explanation.txt  OK
Extracting  /share/Multimedia/Movies/_UNPACK_test_download_1000MB.1/1GB.bin

Extracting from /share/Download/incomplete/test_download_1000MB/sometestfile-1GB.part02.rar

Unexpected end of archive
2022-08-04 19:50:29,750::DEBUG::[interface:133] Request GET /api from 192.168.1.133 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36] {'mode': 'queue', 'search': '', 'start': '0', 'limit': '20', 'output': 'json', 'apikey':<APIKEY>', '_': '1659634853886'}
2022-08-04 19:50:29,755::DEBUG::[interface:133] Request GET /api from 192.168.1.133 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36] {'mode': 'history', 'search': '', 'failed_only': '0', 'start': '0', 'limit': '10', 'last_history_update': '21', 'output': 'json', 'apikey':<APIKEY>', '_': '1659634853887'}
2022-08-04 19:50:29,894::DEBUG::[assembler:85] Decoding part of /share/Download/incomplete/test_download_1000MB/sometestfile-1GB.part02.rar

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

Re: Direct unpack fails

Post by safihre »

Aaah, now I see. The problem is your unrar version, you should update to 6.10 stable. So not the beta.
They fixed a problem in there where it would continue unpacking even though we didn't tell it to, so it's unpacking archives that sabnzbd hasn't finished yet.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate

User avatar
OneCD
Sr. Member
Sr. Member
Posts: 488
Joined: March 4th, 2017, 3:47 pm

Re: Direct unpack fails

Post by OneCD »

safihre wrote: August 6th, 2022, 12:53 pm Aaah, now I see. The problem is your unrar version, you should update to 6.10 stable. So not the beta.
At the moment, 6.10 beta 3 is the latest version available via Entware, so we're stuck with it for now. :(

@kallek, maybe try asking @zyxmon if he can update the 'unrar' package to a later version? Create a new issue for it: https://github.com/Entware/Entware/issues
Stuff I like: Apache BASH CRON DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Java Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE

User avatar
sander
Release Testers
Release Testers
Posts: 8076
Joined: January 22nd, 2008, 2:22 pm

Re: Direct unpack fails

Post by sander »

Or, in the meantime, just use an earlier version of unrar?

User avatar
OneCD
Sr. Member
Sr. Member
Posts: 488
Joined: March 4th, 2017, 3:47 pm

Re: Direct unpack fails

Post by OneCD »

Bah, I should have said that 6.10 beta 3 is the ONLY version available via Entware. ;D

AFAIK, we can't go back a version in Entware.

An alternative is to install @QNAP_Stephane's Unrar QPKG. I think he's on 6.0.6 at the moment. I'd like to confirm this but the Qnapclub site is down (again).
Stuff I like: Apache BASH CRON DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Java Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE

kallek
Newbie
Newbie
Posts: 19
Joined: January 8th, 2011, 5:22 pm

Re: Direct unpack fails

Post by kallek »

OneCD wrote: August 6th, 2022, 1:59 pm
safihre wrote: August 6th, 2022, 12:53 pm Aaah, now I see. The problem is your unrar version, you should update to 6.10 stable. So not the beta.
At the moment, 6.10 beta 3 is the latest version available via Entware, so we're stuck with it for now. :(

@kallek, maybe try asking @zyxmon if he can update the 'unrar' package to a later version? Create a new issue for it: https://github.com/Entware/Entware/issues
I created an issue on github, but they said I should take it up with the OpenWrt guys.

https://github.com/Entware/Entware/issues/828

User avatar
OneCD
Sr. Member
Sr. Member
Posts: 488
Joined: March 4th, 2017, 3:47 pm

Re: Direct unpack fails

Post by OneCD »

Yep, I saw that. Image
Stuff I like: Apache BASH CRON DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Java Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE

User avatar
sander
Release Testers
Release Testers
Posts: 8076
Joined: January 22nd, 2008, 2:22 pm

Re: Direct unpack fails

Post by sander »

So until that time: turn off Direct Unpack?

kallek
Newbie
Newbie
Posts: 19
Joined: January 8th, 2011, 5:22 pm

Re: Direct unpack fails

Post by kallek »

I got an answer back in the OpenWRT forum that I don't understand. Can someone please explain what I can do next?

https://github.com/openwrt/openwrt/issues/10417

Post Reply