Page 1 of 1

4.2.3 Update led to unrar no longer working (LSIO via docker on Synology)

Posted: March 12th, 2024, 7:01 am
by tinkywinky
Have a weird problem that has occurred in a Sab instance running on docker that has run fine for years. All of a sudden unrar isn't working with every download showing Unpacked 0 files/folders in 0 seconds. I have another instance with exactly the same configuration (compared every setting in sabnzbd.ini) and no issues unpacking.

I have looked through all the logs and can't find anything. Unrar seems to trigger just fine but doesn't actually unrar anything. Have rebuilt the docker image with a fresh image download. Makes no sense why it started failing now. I checked all the permissions and they seem fine.

Edit: Updated the package to 4.2.3 latest LSIO release and no change

Log below.

Re: 4.2.2 Update led to unrar no longer working (LSIO via docker on Synology)

Posted: March 12th, 2024, 7:03 am
by tinkywinky

Code: Select all

2024-03-12 22:56:11,426::DEBUG::[downloader:941] Thread 4@news: Forcing disconnect
2024-03-12 22:56:11,435::DEBUG::[filesystem:541] build_filelists(): joinables: []
2024-03-12 22:56:11,435::DEBUG::[filesystem:542] build_filelists(): rars: ['/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part03.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part10.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part05.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part07.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part02.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part08.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part09.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part11.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part04.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part01.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part06.rar']
2024-03-12 22:56:11,439::DEBUG::[filesystem:543] build_filelists(): 7zips: []
2024-03-12 22:56:11,440::DEBUG::[filesystem:544] build_filelists(): ts: []
2024-03-12 22:56:11,442::INFO::[newsunpack:310] Unrar starting on /volume1/Downloads/Incomplete/test_download_100MB
2024-03-12 22:56:11,444::DEBUG::[newsunpack:522] Rar_sets: {'sometestfile-100MB': ['/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part03.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part10.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part05.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part07.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part02.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part08.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part09.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part11.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part04.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part01.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part06.rar']}
2024-03-12 22:56:11,445::DEBUG::[downloader:941] Thread 17@news: Forcing disconnect
2024-03-12 22:56:11,446::INFO::[newsunpack:564] Extracting rarfile /volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part01.rar (belonging to sometestfile-100MB) to /volume1/Downloads/Completed/_UNPACK_test_download_100MB.10
2024-03-12 22:56:11,448::DEBUG::[newsunpack:659] rar_extract(): Extractionpath: /volume1/Downloads/Completed/_UNPACK_test_download_100MB.10
2024-03-12 22:56:11,449::DEBUG::[newsunpack:726] Analyzing rar file ... RAR5 found
2024-03-12 22:56:11,450::INFO::[misc:1230] [sabnzbd.newsunpack.rar_extract_core] Running external command: ['/usr/bin/unrar', 'x', '-idp', '-scf', '-o-', '-or', '-ai', '-p-', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part01.rar', '/volume1/Downloads/Completed/_UNPACK_test_download_100MB.10/']
2024-03-12 22:56:11,451::DEBUG::[misc:1231] Popen arguments: {'stdout': -1, 'stderr': -2, 'bufsize': 0, 'startupinfo': None, 'creationflags': 0, 'text': True, 'encoding': 'utf8', 'errors': 'replace'}
2024-03-12 22:56:11,459::DEBUG::[downloader:941] Thread 11@news: Forcing disconnect
2024-03-12 22:56:11,473::DEBUG::[downloader:941] Thread 5@news: Forcing disconnect
2024-03-12 22:56:11,486::DEBUG::[downloader:941] Thread 18@news: Forcing disconnect
2024-03-12 22:56:11,492::DEBUG::[newsunpack:860] UNRAR output: 
UNRAR 7.00 freeware      Copyright (c) 1993-2024 Alexander Roshal
2024-03-12 22:56:11,493::INFO::[newsunpack:863] Unpacked 0 files/folders in 0 seconds
2024-03-12 22:56:11,494::DEBUG::[newsunpack:582] rar_unpack(): Rars: ['/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part01.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part02.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part03.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part04.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part05.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part06.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part07.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part08.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part09.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part10.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part11.rar']
2024-03-12 22:56:11,495::DEBUG::[newsunpack:583] rar_unpack(): Newfiles: []
2024-03-12 22:56:11,496::INFO::[newsunpack:314] Unrar finished on /volume1/Downloads/Incomplete/test_download_100MB
2024-03-12 22:56:11,498::DEBUG::[downloader:941] Thread 12@news: Forcing disconnect
2024-03-12 22:56:11,500::DEBUG::[filesystem:541] build_filelists(): joinables: []
2024-03-12 22:56:11,501::DEBUG::[filesystem:542] build_filelists(): rars: ['/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part03.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part10.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part05.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part07.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part02.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part08.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part09.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part11.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part04.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part01.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part06.rar']
2024-03-12 22:56:11,501::DEBUG::[filesystem:543] build_filelists(): 7zips: []
2024-03-12 22:56:11,502::DEBUG::[filesystem:544] build_filelists(): ts: []
2024-03-12 22:56:11,504::DEBUG::[filesystem:541] build_filelists(): joinables: []
2024-03-12 22:56:11,505::DEBUG::[filesystem:542] build_filelists(): rars: ['/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part03.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part10.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part05.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part07.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part02.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part08.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part09.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part11.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part04.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part01.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part06.rar']
2024-03-12 22:56:11,506::DEBUG::[filesystem:543] build_filelists(): 7zips: []
2024-03-12 22:56:11,506::DEBUG::[filesystem:544] build_filelists(): ts: []
2024-03-12 22:56:11,507::INFO::[newsunpack:310] Unrar starting on /volume1/Downloads/Incomplete/test_download_100MB
2024-03-12 22:56:11,508::DEBUG::[newsunpack:522] Rar_sets: {'sometestfile-100MB': ['/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part03.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part10.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part05.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part07.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part02.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part08.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part09.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part11.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part04.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part01.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part06.rar']}
2024-03-12 22:56:11,509::INFO::[newsunpack:564] Extracting rarfile /volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part01.rar (belonging to sometestfile-100MB) to /volume1/Downloads/Completed/_UNPACK_test_download_100MB.10
2024-03-12 22:56:11,510::DEBUG::[newsunpack:659] rar_extract(): Extractionpath: /volume1/Downloads/Completed/_UNPACK_test_download_100MB.10
2024-03-12 22:56:11,511::DEBUG::[newsunpack:726] Analyzing rar file ... RAR5 found
2024-03-12 22:56:11,512::DEBUG::[downloader:941] Thread 6@news: Forcing disconnect
2024-03-12 22:56:11,512::INFO::[misc:1230] [sabnzbd.newsunpack.rar_extract_core] Running external command: ['/usr/bin/unrar', 'x', '-idp', '-scf', '-o-', '-or', '-ai', '-p-', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part01.rar', '/volume1/Downloads/Completed/_UNPACK_test_download_100MB.10/']
2024-03-12 22:56:11,514::DEBUG::[misc:1231] Popen arguments: {'stdout': -1, 'stderr': -2, 'bufsize': 0, 'startupinfo': None, 'creationflags': 0, 'text': True, 'encoding': 'utf8', 'errors': 'replace'}
2024-03-12 22:56:11,525::DEBUG::[downloader:941] Thread 19@news: Forcing disconnect
2024-03-12 22:56:11,538::DEBUG::[downloader:941] Thread 13@news Forcing disconnect
2024-03-12 22:56:11,552::DEBUG::[downloader:941] Thread 7@news: Forcing disconnect
2024-03-12 22:56:11,555::DEBUG::[newsunpack:860] UNRAR output: 
UNRAR 7.00 freeware      Copyright (c) 1993-2024 Alexander Roshal
2024-03-12 22:56:11,556::INFO::[newsunpack:863] Unpacked 0 files/folders in 0 seconds
2024-03-12 22:56:11,557::DEBUG::[newsunpack:582] rar_unpack(): Rars: ['/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part01.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part02.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part03.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part04.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part05.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part06.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part07.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part08.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part09.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part10.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part11.rar']
2024-03-12 22:56:11,558::DEBUG::[newsunpack:583] rar_unpack(): Newfiles: []
2024-03-12 22:56:11,560::INFO::[newsunpack:314] Unrar finished on /volume1/Downloads/Incomplete/test_download_100MB
2024-03-12 22:56:11,563::DEBUG::[filesystem:541] build_filelists(): joinables: []
2024-03-12 22:56:11,564::DEBUG::[filesystem:542] build_filelists(): rars: ['/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part03.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part10.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part05.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part07.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part02.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part08.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part09.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part11.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part04.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part01.rar', '/volume1/Downloads/Incomplete/test_download_100MB/sometestfile-100MB.part06.rar']
2024-03-12 22:56:11,565::DEBUG::[downloader:941] Thread 20@news: Forcing disconnect
2024-03-12 22:56:11,565::DEBUG::[filesystem:543] build_filelists(): 7zips: []
2024-03-12 22:56:11,567::DEBUG::[filesystem:544] build_filelists(): ts: []
2024-03-12 22:56:11,568::INFO::[postproc:475] Unpacked files []
2024-03-12 22:56:11,569::INFO::[filesystem:340] Checking if any resulting filenames need to be sanitized
2024-03-12 22:56:11,569::INFO::[postproc:479] Finished unpack_magic on test_download_100MB

Re: 4.2.3 Update led to unrar no longer working (LSIO via docker on Synology)

Posted: March 12th, 2024, 7:53 am
by sander

Code: Select all

2024-03-12 22:56:11,492::DEBUG::[newsunpack:860] UNRAR output: 
UNRAR 7.00 freeware      Copyright (c) 1993-2024 Alexander Roshal
2024-03-12 22:56:11,493::INFO::[newsunpack:863] Unpacked 0 files/folders in 0 seconds
Weird. A thing with unrar 7.00 (or the options you use)? Or your filesystem?

What if you go to an earlier, older version of LSIO SAB with unrar 6.x ?

Re: 4.2.3 Update led to unrar no longer working (LSIO via docker on Synology)

Posted: March 13th, 2024, 2:34 pm
by sander
Seems a bug in unrar itself ... on old hardware ... ?

So which CPU are you using?

https://github.com/linuxserver/docker-s ... issues/219

Re: 4.2.3 Update led to unrar no longer working (LSIO via docker on Synology)

Posted: March 14th, 2024, 5:47 pm
by tinkywinky
It's an old synology DS1813+ - so will be an atom D2700

Re: 4.2.3 Update led to unrar no longer working (LSIO via docker on Synology)

Posted: March 14th, 2024, 5:51 pm
by tinkywinky
Thanks, I have applied the following environment variable within synology Docker as a workaround to use unrar6 and it is working again

Code: Select all

DOCKER_MODS=lscr.io/linuxserver/mods:universal-unrar6

Re: 4.2.3 Update led to unrar no longer working (LSIO via docker on Synology)

Posted: March 15th, 2024, 3:26 pm
by rhendric
Having the exact same problem using unraid docker! unrars stopped working about 4 days ago. Can someone please describe how to apply the above workaround code?

Re: 4.2.3 Update led to unrar no longer working (LSIO via docker on Synology)

Posted: March 17th, 2024, 8:37 am
by erik_g
I'm having the same problem on a OMV6 install. Using an AMD A8-3870 APU and 16gb ram.

Workaround is doing the job for me as well, but it would be nice if there would be a fix so i can start using rar 7 as well.

@rhendric: Create a new enviroment variable DOCKER_MODS either in Portainer or in your docker compose file and as value the linuxserver part.(i'm not allowed to post links ;) )

Re: 4.2.3 Update led to unrar no longer working (LSIO via docker on Synology)

Posted: March 17th, 2024, 1:20 pm
by sander
erik_g wrote: March 17th, 2024, 8:37 am I'm having the same problem on a OMV6 install. Using an AMD A8-3870 APU and 16gb ram.

The AMD A8-3870 is a CPU from 2011, so old x86-microarchicture. And rar7 dumps core on that. Not in the hands of the SABnzbd team.
erik_g wrote: March 17th, 2024, 8:37 am
Workaround is doing the job for me as well, but it would be nice if there would be a fix so i can start using rar 7 as well.
If the rarlab people don't solve it ... it's simple to compile rar7 for the old x86 microarchitecture ... I could do that for you. BUT ... as you use docker, can you put it in the docker yourself ... ?

Background: https://en.wikipedia.org/wiki/X86-64#Mi ... ure_levels

Re: 4.2.3 Update led to unrar no longer working (LSIO via docker on Synology)

Posted: March 18th, 2024, 3:46 am
by tinkywinky
Does LSIO maintain the docker package? The CPU is older but it isn't that old in the scheme of these devices.

Wouldn't the permanent solution for LSIO to package the more compatible compilation?

Re: 4.2.3 Update led to unrar no longer working (LSIO via docker on Synology)

Posted: March 18th, 2024, 3:57 am
by safihre
Indeed LSIO does our Docker, since they are much more of an expert.
The newer version is much faster in unpacking, due to the new features. And it has the latest security patches, the older one does not.
However, I think we should complain to Rarlabs..