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

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.
Post Reply
tinkywinky
Newbie
Newbie
Posts: 5
Joined: March 12th, 2024, 6:50 am

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

Post 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.
Last edited by tinkywinky on March 12th, 2024, 7:12 am, edited 3 times in total.
tinkywinky
Newbie
Newbie
Posts: 5
Joined: March 12th, 2024, 6:50 am

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

Post 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
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

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

Post 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 ?
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

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

Post 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
tinkywinky
Newbie
Newbie
Posts: 5
Joined: March 12th, 2024, 6:50 am

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

Post by tinkywinky »

It's an old synology DS1813+ - so will be an atom D2700
tinkywinky
Newbie
Newbie
Posts: 5
Joined: March 12th, 2024, 6:50 am

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

Post 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
rhendric
Newbie
Newbie
Posts: 1
Joined: March 15th, 2024, 3:24 pm

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

Post 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?
erik_g
Newbie
Newbie
Posts: 1
Joined: March 17th, 2024, 8:30 am

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

Post 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 ;) )
User avatar
sander
Release Testers
Release Testers
Posts: 8832
Joined: January 22nd, 2008, 2:22 pm

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

Post 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
tinkywinky
Newbie
Newbie
Posts: 5
Joined: March 12th, 2024, 6:50 am

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

Post 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?
User avatar
safihre
Administrator
Administrator
Posts: 5366
Joined: April 30th, 2015, 7:35 am
Contact:

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

Post 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..
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply