Page 1 of 2

Unusable RAR error

Posted: January 18th, 2023, 1:39 pm
by stephscloud
I have had the same setup for years. Everything is updated. I use sonarr and sabnzbd and plex. I haven't changed any configs. The only change is the new version 3.7.1 and MacOS Ventura. Files download and even move into the shows folder but then I get this error and it won't rename or sort correctly. The mkv file is there and it works if I play from file. However it does not show on plex and it is not renamed. It shows as: c103c45f743640d18437bbbbdc12a25e.mkv.

I don't care what they are named but I do need them in plex. I don't know what is going on.

Name Mars.S01E07.Pride.and.Peanut.Butter.720p.AMZN.WEBRip.DDP2.0.x264-NTb
Completed a few seconds ago
StatusFailed
Size1.7 GB
Categorytv
Path/Volumes/My Passport/Shows/Mars/Season 1/_FAILED_Mars.S01E07.Pride.and.Peanut.Butter.720p.AMZN.WEBRip.DDP2.0.x264-NTb
SourceMarsS01E07.Pride.and.Peanut.Butter.720p.AMZN.WEBRip.DDP2.0.x264-NTb.nzb
DownloadDownloaded in 3 mins 12 seconds at an average of 9.1 MB/s
Age: 1d
Serversnews.newshosting=1.8 GB
Repair[Mars.S01E07.Pride.and.Peanut.Butter.720p.AMZN.WEBRip.DDP2.0.x264-NTb] Quick Check OK
Unpack[c103c45f743640d18437bbbbdc12a25e] Direct Unpack - Unpacked 1 files/folders in 20 seconds
[._c103c45f743640d18437bbbbdc12a25e] Unusable RAR file

Re: Unusable RAR error

Posted: January 18th, 2023, 1:56 pm
by sander
So: Unusable RAR file

Does that happen to one download, a few, or all?

Re: Unusable RAR error

Posted: January 18th, 2023, 4:32 pm
by stephscloud
sander wrote: January 18th, 2023, 1:56 pm So: Unusable RAR file

Does that happen to one download, a few, or all?
It happens to them all. I even went back and downloaded the exact files that downloaded correctly 3 days ago. They failed as well. It's so weird. I swear there is a gremlin in my configs somewhere. :) but everything is the same. Could it be the new MacOS?

Re: Unusable RAR error

Posted: January 18th, 2023, 5:01 pm
by sander
Weird.

In SABnzbd's upper right corner, click on the wrench symbol ("Status and interface options"), then click on first tab Status, and there click on Test download 1GB.

Do you also get the error?

Re: Unusable RAR error

Posted: January 18th, 2023, 6:04 pm
by stephscloud
It failed the 1GB test

It keeps saying I am no allowed to post links and wont let me send you the logging even though I have removed the .com in the code.

Re: Unusable RAR error

Posted: January 18th, 2023, 10:57 pm
by stephscloud
sander wrote: January 18th, 2023, 5:01 pm Weird.

In SABnzbd's upper right corner, click on the wrench symbol ("Status and interface options"), then click on first tab Status, and there click on Test download 1GB.

Do you also get the error?
It failed the 1GB test

It keeps saying I am no allowed to post links and wont let me send you the logging even though I have removed the .com in the code.

Re: Unusable RAR error

Posted: January 18th, 2023, 11:33 pm
by sander
two next steps:

what if you run a manual unrar on the rar set? Like "unrar x blabla001.rar"?
set you sabnzbd logging to +Debug, run again, and post the logging with unrar here (or on pastebin)

Example from sabnzbd.log with DEBUG on:

Code: Select all

2023-01-19 08:17:02,672::DEBUG::[filesystem:496] build_filelists(): rars: ['/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part08.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part06.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part02.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part03.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part10.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part04.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part01.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part11.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part07.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part09.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part05.rar']
2023-01-19 08:17:02,672::DEBUG::[filesystem:497] build_filelists(): 7zips: []
2023-01-19 08:17:02,672::DEBUG::[filesystem:498] build_filelists(): ts: []
2023-01-19 08:17:02,672::INFO::[newsunpack:293] Unrar starting on /home/sander/Downloads/incomplete/test_download_100MB
2023-01-19 08:17:02,672::DEBUG::[newsunpack:517] Rar_sets: {'sometestfile-100MB': ['/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part08.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part06.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part02.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part03.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part10.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part04.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part01.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part11.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part07.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part09.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part05.rar']}
2023-01-19 08:17:02,672::INFO::[newsunpack:554] Set sometestfile-100MB completed by DirectUnpack
2023-01-19 08:17:02,672::DEBUG::[newsunpack:577] rar_unpack(): Rars: ['/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part01.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part02.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part03.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part04.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part05.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part06.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part07.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part08.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part09.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part10.rar', '/home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part11.rar']
2023-01-19 08:17:02,672::DEBUG::[newsunpack:578] rar_unpack(): Newfiles: ['/home/sander/Downloads/complete/_UNPACK_test_download_100MB.3/100MB-explanation.txt', '/home/sander/Downloads/complete/_UNPACK_test_download_100MB.3/100MB.bin']
2023-01-19 08:17:02,672::DEBUG::[filesystem:902] [sabnzbd.newsunpack.rar_unpack] Deleting file /home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part01.rar
2023-01-19 08:17:02,673::DEBUG::[filesystem:902] [sabnzbd.newsunpack.rar_unpack] Deleting file /home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part02.rar
2023-01-19 08:17:02,674::DEBUG::[filesystem:902] [sabnzbd.newsunpack.rar_unpack] Deleting file /home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part03.rar
2023-01-19 08:17:02,675::DEBUG::[filesystem:902] [sabnzbd.newsunpack.rar_unpack] Deleting file /home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part04.rar
2023-01-19 08:17:02,677::DEBUG::[filesystem:902] [sabnzbd.newsunpack.rar_unpack] Deleting file /home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part05.rar
2023-01-19 08:17:02,678::DEBUG::[filesystem:902] [sabnzbd.newsunpack.rar_unpack] Deleting file /home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part06.rar
2023-01-19 08:17:02,679::DEBUG::[filesystem:902] [sabnzbd.newsunpack.rar_unpack] Deleting file /home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part07.rar
2023-01-19 08:17:02,680::DEBUG::[filesystem:902] [sabnzbd.newsunpack.rar_unpack] Deleting file /home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part08.rar
2023-01-19 08:17:02,681::DEBUG::[filesystem:902] [sabnzbd.newsunpack.rar_unpack] Deleting file /home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part09.rar
2023-01-19 08:17:02,682::DEBUG::[filesystem:902] [sabnzbd.newsunpack.rar_unpack] Deleting file /home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part10.rar
2023-01-19 08:17:02,683::DEBUG::[filesystem:902] [sabnzbd.newsunpack.rar_unpack] Deleting file /home/sander/Downloads/incomplete/test_download_100MB/sometestfile-100MB.part11.rar
2023-01-19 08:17:02,683::INFO::[newsunpack:297] Unrar finished on /home/sander/Downloads/incomplete/test_download_100MB
2023-01-19 08:17:02,683::DEBUG::[filesystem:494] build_filelists(): joinables: []
2023-01-19 08:17:02,683::DEBUG::[filesystem:495] build_filelists(): zips: []
2023-01-19 08:17:02,683::DEBUG::[filesystem:496] build_filelists(): rars: []
2023-01-19 08:17:02,683::DEBUG::[filesystem:497] build_filelists(): 7zips: []
2023-01-19 08:17:02,683::DEBUG::[filesystem:498] build_filelists(): ts: []
2023-01-19 08:17:02,683::DEBUG::[filesystem:494] build_filelists(): joinables: []
2023-01-19 08:17:02,683::DEBUG::[filesystem:495] build_filelists(): zips: []
2023-01-19 08:17:02,683::DEBUG::[filesystem:496] build_filelists(): rars: []
2023-01-19 08:17:02,684::DEBUG::[filesystem:497] build_filelists(): 7zips: []
2023-01-19 08:17:02,684::DEBUG::[filesystem:498] build_filelists(): ts: []
2023-01-19 08:17:02,684::INFO::[postproc:430] Unpacked files ['/home/sander/Downloads/complete/_UNPACK_test_download_100MB.3/100MB-explanation.txt', '/home/sander/Downloads/complete/_UNPACK_test_download_100MB.3/100MB.bin']
2023-01-19 08:17:02,684::INFO::[filesystem:319] Checking if any resulting filenames need to be sanitized


Re: Unusable RAR error

Posted: January 19th, 2023, 9:43 am
by sander
PS:

The error is coming from this SABnzbd code:

Code: Select all

        elif "is not RAR archive" in line:
            # Unrecognizable RAR file
            msg = T("Unusable RAR file")
So it's triggered if unrar says "is not RAR archive".

Easily reproducable with a non-rar file:

Code: Select all

sander@zwart2204:~$ fallocate -l10m nonsense.bin
sander@zwart2204:~$ unrar x nonsense.bin

UNRAR 6.12 freeware      Copyright (c) 1993-2022 Alexander Roshal

nonsense.bin is not RAR archive
No files to extract

Re: Unusable RAR error

Posted: January 19th, 2023, 11:31 am
by stephscloud
sander wrote: January 18th, 2023, 11:33 pm two next steps:

what if you run a manual unrar on the rar set? Like "unrar x blabla001.rar"?
set you sabnzbd logging to +Debug, run again, and post the logging with unrar here (or on pastebin)


[/code]
I woke up to this. These have been my pathways for years. I will run what you suggested once I figure out how. I'm been running this way since 2015 so I haven't had much need to mess with anything in years.

a minute ago Cannot create directory /Volumes/My Passport/complete
ERROR a minute ago Failed making (/Volumes/My Passport/complete)
Traceback (most recent call last):
File "sabnzbd/filesystem.py", line 717, in create_all_dirs
PermissionError: [Errno 13] Permission denied: '/Volumes/My Passport/complete'
ERROR a minute ago Cannot create directory /Volumes/My Passport/incomplete
ERROR a minute ago Failed making (/Volumes/My Passport/incomplete)
Traceback (most recent call last):
File "sabnzbd/filesystem.py", line 717, in create_all_dirs
PermissionError: [Errno 13] Permission denied: '/Volumes/My Passport/incomplete'
ERROR a minute ago Cannot create directory /Volumes/My Passport/complete
ERROR a minute ago Failed making (/Volumes/My Passport/complete)
Traceback (most recent call last):
File "sabnzbd/filesystem.py", line 717, in create_all_dirs
PermissionError: [Errno 13] Permission denied: '/Volumes/My Passport'
ERROR a minute ago Cannot create directory /Volumes/My Passport/incomplete
ERROR a minute ago Failed making (/Volumes/My Passport/incomplete)
Traceback (most recent call last):
File "sabnzbd/filesystem.py", line 717, in create_all_dirs
PermissionError: [Errno 13] Permission denied: '/Volumes/My Passport'
ERROR a minute ago Cannot create directory /Volumes/My Passport/complete
ERROR a minute ago Failed making (/Volumes/My Passport/complete)
Traceback (most recent call last):
File "sabnzbd/filesystem.py", line 717, in create_all_dirs
PermissionError: [Errno 13] Permission denied: '/Volumes/My Passport'
ERROR a minute ago Cannot create directory /Volumes/My Passport/incomplete
ERROR a minute ago Failed making (/Volumes/My Passport/incomplete)
Traceback (most recent call last):
File "sabnzbd/filesystem.py", line 717, in create_all_dirs
PermissionError: [Errno 13] Permission denied: '/Volumes/My Passport'
ERROR a minute ago Cannot create directory /Volumes/My Passport/complete
ERROR a minute ago Failed making (/Volumes/My Passport/complete)
Traceback (most recent call last):
File "sabnzbd/filesystem.py", line 717, in create_all_dirs
PermissionError: [Errno 13] Permission denied: '/Volumes/My Passport'
ERROR a minute ago Cannot create directory /Volumes/My Passport/incomplete
ERROR a minute ago Failed making (/Volumes/My Passport/incomplete)
Traceback (most recent call last):
File "sabnzbd/filesystem.py", line 717, in create_all_dirs
PermissionError: [Errno 13] Permission denied: '/Volumes/My Passport'
ERROR a minute ago Cannot create directory /Volumes/My Passport/complete
ERROR a minute ago Failed making (/Volumes/My Passport/complete)
Traceback (most recent call last):
File "sabnzbd/filesystem.py", line 717, in create_all_dirs
PermissionError: [Errno 13] Permission denied: '/Volumes/My Passport'
ERROR a minute ago Cannot create directory /Volumes/My Passport/incomplete
ERROR a minute ago Failed making (/Volumes/My Passport/incomplete)
Traceback (most recent call last):
File "sabnzbd/filesystem.py", line 717, in create_all_dirs
PermissionError: [Errno 13] Permission denied: '/Volumes/My Passport'
INFO There are orphaned jobs in the download folder.
You can choose to delete them (including files) or send them back to the queue.
History

Re: Unusable RAR error

Posted: January 20th, 2023, 5:26 pm
by stephscloud
sander wrote: January 19th, 2023, 9:43 am PS:

The error is coming from this SABnzbd code:

Code: Select all

        elif "is not RAR archive" in line:
            # Unrecognizable RAR file
            msg = T("Unusable RAR file")
So it's triggered if unrar says "is not RAR archive".

Easily reproducable with a non-rar file:

Code: Select all

sander@zwart2204:~$ fallocate -l10m nonsense.bin
sander@zwart2204:~$ unrar x nonsense.bin

UNRAR 6.12 freeware      Copyright (c) 1993-2022 Alexander Roshal

nonsense.bin is not RAR archive
No files to extract
Nametest_download_1000MB
Completeda few seconds ago
StatusFailed
Size1.0 GB
CategoryDefault
Path/Volumes/My Passport/complete/_FAILED_test_download_1000MB.3
Sourcehttps://sabnzbd.org/tests/test_download_1000MB.nzb
DownloadDownloaded in 1 min 34 seconds at an average of 11.2 MB/s
Age: 180d
Serversnews.newshosting.com=1.0 GB
Repair[sometestfile-1GB] Quick Check OK
Unpack[sometestfile-1GB] Direct Unpack - Unpacked 2 files/folders in 19 seconds
[._sometestfile-1GB] Unusable RAR file

Re: Unusable RAR error

Posted: January 21st, 2023, 3:02 am
by sander
Did you do
what if you run a manual unrar on the rar set? Like "unrar x blabla001.rar"?
Run it in the directory of the 10GB doeanlod, on the first rar file (...001.rar)

Post output here

Re: Unusable RAR error

Posted: January 21st, 2023, 4:04 pm
by stephscloud
sander wrote: January 21st, 2023, 3:02 am Did you do
what if you run a manual unrar on the rar set? Like "unrar x blabla001.rar"?
Run it in the directory of the 10GB doeanlod, on the first rar file (...001.rar)

Post output here
I have not figured it out yet. I have not touched this stuff since 2015.

Re: Unusable RAR error

Posted: January 22nd, 2023, 3:18 pm
by stephscloud
sander wrote: January 21st, 2023, 3:02 am Did you do
what if you run a manual unrar on the rar set? Like "unrar x blabla001.rar"?
Run it in the directory of the 10GB doeanlod, on the first rar file (...001.rar)

Post output here
Can you please direct me to instructions? I have googled my heart out and can't figure this out.

Re: Unusable RAR error

Posted: January 22nd, 2023, 3:33 pm
by sander
Go to /Volumes/My Passport/complete/_FAILED_test_download_1000MB.3 ... do you rar files there? If not, browse around /Volumes/My Passport/ in incomplete and complete

If found, proceed: find unrar. Maybe just type "unrar" on the commandline, and it works. If not, it's in a SABnzbd application subdirectory ... maybe somewhere in ~/Library/Application Support/SABnzbd

Can you find that?

Re: Unusable RAR error

Posted: January 23rd, 2023, 8:20 pm
by stephscloud
stephscloud wrote: January 22nd, 2023, 3:18 pm
sander wrote: January 21st, 2023, 3:02 am Did you do
what if you run a manual unrar on the rar set? Like "unrar x blabla001.rar"?
Run it in the directory of the 10GB doeanlod, on the first rar file (...001.rar)

Post output here
Can you please direct me to instructions? I have googled my heart out and can't figure this out.
Get this. Sabnzbd is not in my library/application support files anymore. Also the failed files are gone. So I tried another download to get a failed file back to the complete or incomplete folder. Because they were all there. Nothing appeared there. Then I uninstalled and reinstalled Sab just to see if it would reappear in the library/application folder and it didn't. I am beyond confused. It's in my application folder but no where other than there. I check my network protections again to make sure nothing was blocked due to the ventura 13.1 update. Sometimes after an update my isp sees vulnerabilities where there are none, but that hasn't happened either. Reached out to another friend with the same setup and they are having the same issue. They just moved to a different newsgroup downloader, but I love sab and would rather fix it.