Page 1 of 1

Unpacking failed, see logfile -- 7zip

Posted: April 7th, 2026, 7:54 pm
by hoju3508
Hi,

Recently I've been seeing this error message and don't understand why 7zip is in play and there are no 7zip files. NZB file is created using NZBKing.com (ruling out NZBKing.com since 2/3 nzbs from there failed from same site) and I'm using v4.5.5.

Code: Select all

Repair
[Zw4...] Quick Check OK

Unpack
[Zw4...] Trying unrar with password "lxw4..."
[Zw4...] Unpacked 733 files/folders in 4 mins 48 seconds
---  everything seems fine at this point, and then 7zip ... ---

[00002] Trying 7zip with password "lxw4..."
[00004] Trying 7zip with password "lxw4..."
[00003] Trying 7zip with password "lxw4..."
[00001] Trying 7zip with password "lxw4..."


/Hoju

Re: Unpacking failed, see logfile -- 7zip

Posted: April 8th, 2026, 12:49 am
by sander
Can you share such a .NZB file, for example via https://www.file.io/ ... and then share the link, which will be something like https://limewire.com/d/QkFblabla

Re: Unpacking failed, see logfile -- 7zip

Posted: April 8th, 2026, 8:15 am
by hoju3508
Thanks to +Debug option, there are some zip files for this UHD folder.

Code: Select all

2026-04-08 12:39:05,052::INFO::[newsunpack:297] Unrar finished on /storage/sabnzbd+/incomplete/5adcf1aca3e5f9882181d709
2026-04-08 12:39:05,052::DEBUG::[filesystem:505] build_filelists(): joinables: []
2026-04-08 12:39:05,052::DEBUG::[filesystem:506] build_filelists(): zips: []
2026-04-08 12:39:05,052::DEBUG::[filesystem:507] build_filelists(): rars: []
2026-04-08 12:39:05,052::DEBUG::[filesystem:508] build_filelists(): 7zips: []
2026-04-08 12:39:05,052::DEBUG::[filesystem:509] build_filelists(): ts: []
2026-04-08 12:39:06,096::DEBUG::[interface:143] Request GET /api from ::ffff:172.16.42.7 (X-Forwarded-For: 185.81.126.158) [Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36 Edg/146.0.0.0] {'mode': 'history', 'failed_only': '0', 'start': '0', 'limit': '10', 'last_history_update': '5713', 'output': 'json', 'apikey':<APIKEY>', '_': '1775650510615'}
2026-04-08 12:39:06,098::DEBUG::[interface:143] Request GET /api from ::ffff:172.16.42.7 (X-Forwarded-For: 185.81.126.158) [Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36 Edg/146.0.0.0] {'mode': 'queue', 'start': '0', 'limit': '20', 'output': 'json', 'apikey':<APIKEY>', '_': '1775650510614'}
2026-04-08 12:39:08,100::DEBUG::[interface:143] Request GET /api from ::ffff:172.16.42.7 (X-Forwarded-For: 185.81.126.158) [Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36 Edg/146.0.0.0] {'mode': 'queue', 'start': '0', 'limit': '20', 'output': 'json', 'apikey':<APIKEY>', '_': '1775650510616'}
2026-04-08 12:39:08,101::DEBUG::[interface:143] Request GET /api from ::ffff:172.16.42.7 (X-Forwarded-For: 185.81.126.158) [Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36 Edg/146.0.0.0] {'mode': 'history', 'failed_only': '0', 'start': '0', 'limit': '10', 'last_history_update': '5714', 'output': 'json', 'apikey':<APIKEY>', '_': '1775650510617'}
2026-04-08 12:39:08,675::DEBUG::[filesystem:505] build_filelists(): joinables: []

2026-04-08 12:39:08,676::DEBUG::[filesystem:506] build_filelists(): zips: ['/storage/sabnzbd+/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00001.zip', '/storage/sabnzbd+/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00003.zip', '/storage/sabnzbd+/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00002.zip', '/storage/sabnzbd+/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00004.zip']

2026-04-08 12:39:08,676::DEBUG::[filesystem:507] build_filelists(): rars: []
2026-04-08 12:39:08,676::DEBUG::[filesystem:508] build_filelists(): 7zips: []
2026-04-08 12:39:08,676::DEBUG::[filesystem:509] build_filelists(): ts: []
2026-04-08 12:39:08,676::INFO::[newsunpack:311] Unzip starting on /storage/sabnzbd+/incomplete/5adcf1aca3e5f9882181d709
2026-04-08 12:39:08,676::INFO::[newsunpack:970] Starting extract on 7zip set/file: 00001
2026-04-08 12:39:08,677::INFO::[misc:823] Found a password that was set by the user: <HASH>
2026-04-08 12:39:08,677::DEBUG::[newsunpack:1010] Trying 7zip with password "<HASH>"
2026-04-08 12:39:08,677::INFO::[misc:1175] [sabnzbd.newsunpack.seven_extract_core] Running external command: ['/usr/bin/7z', 'x', '-y', '-aou', '-ssc', '-<HASH>J', '-o/storage/sabnzbd+/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010', '/storage/sabnzbd+/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00001.zip']
2026-04-08 12:39:08,677::DEBUG::[misc:1176] Popen arguments: {'stdout': -1, 'stderr': -2, 'bufsize': 0, 'startupinfo': None, 'creationflags': 0, 'text': True, 'encoding': 'utf8', 'errors': 'replace'}
2026-04-08 12:39:08,718::DEBUG::[newsunpack:1051] 7za output:
7-Zip (z) 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
 64-bit locale=C.UTF-8 Threads:96

Scanning the drive for archives:
1 file, 1048576 bytes (1024 KiB)

Extracting archive: /storage/sabnzbd+/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00001.zip
ERROR: /storage/sabnzbd+/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00001.zip
/storage/sabnzbd+/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00001.zip
Open ERROR: Cannot open the file as [zip] archive


ERRORS:
Is not archive

Can't open as archive: 1
Files: 0
Size:       0
Compressed: 0

2026-04-08 12:39:08,719::INFO::[newsunpack:1074] 7za return code: 2
https://limewire.com/d/YGTIY#nxyHM8gKfi
PW= lxw4D0631d5155e3hmrWTITWJ

This file was posted back in September of 2017,

/Hoju

Re: Unpacking failed, see logfile -- 7zip

Posted: April 8th, 2026, 9:41 am
by sander
TLDR: there are zip files, and SAB tries to unzip (which fails), and I think SAB should not try to unzip those files deep down in a BDMV structure. Hopefully safihre reads this and can say something clever.


Ah, a 60GB BDMV download.


During unpack ... yes, there are zip files.

Code: Select all

sander@DrDr:~/Downloads/complete$ find . | grep -i -e zip$ -e 7z$
./_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00004.zip
./_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00003.zip
./_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00002.zip
./_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00001.zip
I think SAB should not touch that.

While still unpacking: no touching of the zip files, so good:

Code: Select all

$ cat ~/.sabnzbd/logs/sabnzbd.log | grep "2026-04-08" | grep -i -e zip -e 7z
2026-04-08 16:15:57,006::DEBUG::[filesystem:1071] [sabnzbd.nzb.file.__init__] Saving data for SABnzbd_nzf_hbh7zot2 in /home/sander/Downloads/incomplete/5adcf1aca3e5f9882181d709/__ADMIN__
2026-04-08 16:20:30,701::DEBUG::[filesystem:1111] [sabnzbd.nzb.file.finish_import] Loading data for SABnzbd_nzf_hbh7zot2 from /home/sander/Downloads/incomplete/5adcf1aca3e5f9882181d709/__ADMIN__/SABnzbd_nzf_hbh7zot2
2026-04-08 16:20:37,307::DEBUG::[file:246] Removing article database for SABnzbd_nzf_hbh7zot2
2026-04-08 16:20:37,307::DEBUG::[filesystem:938] [sabnzbd.nzb.file.remove_admin] Deleting file /home/sander/Downloads/incomplete/5adcf1aca3e5f9882181d709/__ADMIN__/SABnzbd_nzf_hbh7zot2
2026-04-08 16:25:12,494::DEBUG::[filesystem:529] build_filelists(): 7zips: []
2026-04-08 16:25:12,542::DEBUG::[filesystem:529] build_filelists(): 7zips: []


Unpacking took 8 minutes on my machine. And what happens then ... ?

Code: Select all

2026-04-08 16:33:22,903::DEBUG::[newsunpack:580] rar_unpack(): Newfiles: ['/home/sander/Downloads/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV', '/home/sander/Downloads/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/BACKUP', '/home/sander/Downloads/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/BACKUP/BDJO', '/home/sander/Downloads/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/BACKUP/BDJO/00000.bdjo', '/home/sander/Downloads/complete/_UNPACK_5adcf1aca3e
2026-04-08 16:33:23,023::DEBUG::[filesystem:529] build_filelists(): 7zips: []
2026-04-08 16:33:23,143::DEBUG::[filesystem:529] build_filelists(): 7zips: ['/home/sander/Downloads/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00004.zip', '/home/sander/Downloads/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00003.zip', '/home/sander/Downloads/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00002.zip', '/home/sander/Downloads/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00001.zip']
2026-04-08 16:33:23,143::INFO::[newsunpack:316] 7za starting on /home/sander/Downloads/incomplete/5adcf1aca3e5f9882181d709
2026-04-08 16:33:23,144::INFO::[newsunpack:900] Starting extract on 7zip set/file: 00004
2026-04-08 16:33:23,144::DEBUG::[newsunpack:940] Trying 7zip with password "lxw4D0631d5155e3hmrWTITWJ"
2026-04-08 16:33:23,144::INFO::[misc:1320] [sabnzbd.newsunpack.seven_extract_core] Running external command: ['/usr/bin/7za', 'x', '-y', '-aou', '-ssc', '-plxw4D0631d5155e3hmrWTITWJ', '-o/home/sander/Downloads/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010', '/home/sander/Downloads/complete/_UNPACK_5adcf1aca3e5f9882181d709/BDMV/JAR/01010/00004.zip']
2026-04-08 16:33:23,192::DEBUG::[newsunpack:981] 7za output:
2026-04-08 16:33:23,193::INFO::[newsunpack:1004] 7za return code: 2
...
... so SAB starts working on those zip files (which I think it should not do), with the password, and SAB says "Unpacking failed, see logfile".

Not good.


FWIW:

Manual unzip says

Code: Select all

$ unzip 00001.zip
Archive:  00001.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of 00001.zip or
        00001.zip.zip, and cannot find 00001.zip.ZIP, period.

Re: Unpacking failed, see logfile -- 7zip

Posted: April 8th, 2026, 3:25 pm
by hoju3508
... so SAB starts working on those zip files (which I think it should not do),
I agree with you.

Re: Unpacking failed, see logfile -- 7zip

Posted: April 9th, 2026, 1:24 am
by jcfp
So configure it not to, config -> switches -> (advanced) -> recursive unpacking

Re: Unpacking failed, see logfile -- 7zip

Posted: April 9th, 2026, 8:48 am
by safihre
Yeah exactly, that's what that option is for.

Re: Unpacking failed, see logfile -- 7zip

Posted: April 9th, 2026, 8:49 am
by hoju3508
jcfp wrote: April 9th, 2026, 1:24 am So configure it not to, config -> switches -> (advanced) -> recursive unpacking
Will give that a try. Thanks.

[UPDATE] Confirmed that download was successful by unticking "recursive unpacking"