I've got an issue I'm hoping is just something silly that I'm missing. I have one indexer with which each article I grab from them ends up in the completed folder renamed as _FAILED_ because of an unpacking error. According to logs "7za return code: 2" appears to be part of the issue.
My current set up is a truenas jail for sabnzbd on version 3.7.1 with sonarr on the latest build in a docker container on an ubuntu server vm. Other indexers work as far as I can tell without issue.
I've also tested this same indexer on macos with sabnzbd 3.7.1 and sonarr local and it works but if I send it from my macos sonarr to my truenas jail it will fail again.
Here are the debug logs, I sanitized the article name for brevity sake. The [sab<USERNAME>d] parts are weird as well, when the jail was initially set up I named the user nzb so I think that is a artifact from that, but thats just a guess. Please let me know if any more information is needed. Thanks in advance!
Code: Select all
2023-02-01 22:11:42,337::INFO::[newsunpack:304] 7za starting on /mnt/incomplete/Am
2023-02-01 22:11:42,337::INFO::[newsunpack:979] Starting extract on 7zip set/file: Ry3dM8.7z
2023-02-01 22:11:42,337::INFO::[misc:806] Found a password that was set by the user: 74744567bnbnvbnb
2023-02-01 22:11:42,338::INFO::[misc:817] Read 1 passwords from meta data in NZB: ['74744567bnbnvbnb']
2023-02-01 22:11:42,338::DEBUG::[newsunpack:1019] Trying 7zip with password "74744567bnbnvbnb"
2023-02-01 22:11:42,339::INFO::[misc:1166] [sab<USERNAME>d.newsunpack.seven_extract_core] Running external command: ['/usr/local/bin/7zz', 'x', '-y', '-aou', '-ssc', '-p74744567bnbnvbnb', '-o/mnt/complete/tvshows/_UNPACK_Am', '/mnt/incomplete/Am']
2023-02-01 22:11:45,602::DEBUG::[newsunpack:1060] 7za output:
7-Zip (z) 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
64-bit locale=en_US.UTF-8 Threads:24
Scanning the drive for archives:
1 file, 52428800 bytes (50 MiB)
Extracting archive: /mnt/incomplete/Am
--
Path = /mnt/incomplete/Am
Type = Split
Physical Size = 52428800
Volumes = 14
Total Physical Size = 696753610
----
Path = Ry3dM8.7z
Size = 696753610
--
Path = Ry3dM8.7z
Type = 7z
Physical Size = 696753610
Headers Size = 330
Method = Copy 7zAES
Solid = -
Blocks = 1
ERROR: Cannot set file attribute : errno=1 : Operation not permitted : /mnt/complete/tvshows/_UNPACK_Am
ERROR: Cannot set file attribute : errno=1 : Operation not permitted : /mnt/complete/tvshows/_UNPACK_Am
Sub items Errors: 2
Archives with Errors: 1
Sub items Errors: 2
2023-02-01 22:11:45,603::INFO::[newsunpack:1083] 7za return code: 2
2023-02-01 22:11:45,604::INFO::[misc:1166] [sab<USERNAME>d.newsunpack.seven_extract_core] Running external command: ['/usr/local/bin/7zz', 'x', '-y', '-aou', '-ssc', '-p', '-o/mnt/complete/tvshows/_UNPACK_Am', '/mnt/incomplete/Am']
2023-02-01 22:11:45,605::DEBUG::[misc:1167] Popen arguments: {'stdin': -1, 'stdout': -1, 'stderr': -2, 'startupinfo': None, 'creationflags': 0}
2023-02-01 22:11:45,986::DEBUG::[newsunpack:1060] 7za output:
7-Zip (z) 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15
64-bit locale=en_US.UTF-8 Threads:24
Scanning the drive for archives:
1 file, 52428800 bytes (50 MiB)
Extracting archive: /mnt/incomplete/Am
ERROR: /mnt/incomplete/Am
Cannot open encrypted archive. Wrong password?
Can't open as archive: 1
Files: 0
Size: 0
Compressed: 0
2023-02-01 22:11:45,987::INFO::[newsunpack:1083] 7za return code: 2
2023-02-01 22:11:45,988::INFO::[newsunpack:308] 7za finished on /mnt/incomplete/Am
2023-02-01 22:11:45,988::INFO::[postproc:430] Unpacked files []
2023-02-01 22:11:45,989::INFO::[filesystem:319] Checking if any resulting filenames need to be sanitized
2023-02-01 22:11:45,989::INFO::[postproc:434] Finished unpack_magic on Am
2023-02-01 22:11:45,990::DEBUG::[filesystem:604] Applying permissions 0o100660 (octal) to /mnt/complete/tvshows/_UNPACK_Am
2023-02-01 22:11:45,990::DEBUG::[filesystem:611] Could not change permissions of /mnt/complete/tvshows/_UNPACK_Am
2023-02-01 22:11:45,991::INFO::[postproc:1193] Collapsing /mnt/complete/tvshows/_FAILED_Am
2023-02-01 22:11:45,992::DEBUG::[filesystem:866] Renaming "/mnt/complete/tvshows/_UNPACK_Am" to "/mnt/complete/tvshows/_FAILED_Am"
2023-02-01 22:11:45,993::DEBUG::[filesystem:909] [sab<USERNAME>d.postproc.rename_and_collapse_folder] Removing dir /mnt/complete/tvshows/_UNPACK_Am