7ZIP integration with SABNZBD

Status
Not open for further replies.

Palmy

Dabbler
Joined
Nov 18, 2014
Messages
23
Hi All,

Noticing more and more downloads failing due to no 7ZIP. Log from failed DL in SAB:

[14:29:19] [INFO]::MAIN: Checking database structure...
[14:29:19] [INFO]::MAIN: Checking if git needs an update
[14:29:20] [INFO]::MAIN: There is a newer version available (you're 21 commits behind)
[14:29:20] [INFO]::MAIN: nzbToMedia Version:77da142216ba6dc91bb654635d4bd03f13c881e5 Branch:master (FreeBSD 9.1-RELEASE)
[14:29:20] [WARNING]::MAIN: Failed to locate 7zip. Transcosing of disk images and extraction of .7z files will not be possible!
[14:29:20] [INFO]::MAIN: #########################################################
[14:29:20] [INFO]::MAIN: ## ..::[nzbToMedia.pyc]::.. ##
[14:29:20] [INFO]::MAIN: #########################################################
[14:29:20] [INFO]::MAIN: Script triggered from SABnzbd
[14:29:20] [WARNING]::MAIN: Data from SABnzbd could not be parsed
[14:29:20] [INFO]::MAIN: Auto-detected SECTION:SickBeard
[14:29:20] [ERROR]::MAIN: EXTRACTOR: 7zr not found, disabling support for .7z


I'm running SABnzbd 0.7.20 and have found 0.8 provides support for 7zip files...

Couple of questions:

1. Can I install 7zip (or similar) on my freenas to support .7z extraction?
a. IF so, how?
2. Are there any plans to provide an update SABnzbd to 0.8 via FreeNAS to support 7zip?

Thanks in advance.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
You aren't understanding the situation with usent+7zip and sabnzbd exactly correctly. I didn't either at first but know I do so I'll explain. =P

The download isn't failing because of 7zip not existing. Almost no 7zip archives exist on usenet and even if they did sabnzbd could not process them. Your nzbtomedia script is posting an "error" that you can safely ignore because it's checking for 7zip, for post-processing extraction. This would only come into effect if a usenet archive was rar's (which are the only files sabnzbd <0.8 can process) which inside contained a 7zip file. This is not how archives are usually posted on usenet as the double compression has little benefit.

1) Yes
a) If you want this "error" in the log to go away you can install 7zip to the sabnzbd jail. This will make no difference on downloads failing.
Code:
pkg install p7zip

2) I already added did the necessary work. I'm just waiting on version 0.8.0 to release so I can pull the trigger.
https://github.com/josh4trunks/freenas-plugins/commit/87ec1742ab0a787ba160c9bb14304f6401b8e9f7
 

Palmy

Dabbler
Joined
Nov 18, 2014
Messages
23
Hahahah not understanding the situation is true...:)

I've downloaded and installed 7zip for the sake of completeness anyway - thanks, no error in post processing there now.

I've changed the logging level to 'debug' in SAB to try and find out why I'm getting an increase in failed downloads. Usually it's fairly obviously why they are failing but not so recently...

Thanks for the reply. Any further tips on why downloads are failing would be appreciated but perhaps I'll start with the debug for now anyway.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hahahah not understanding the situation is true...:)

I've downloaded and installed 7zip for the sake of completeness anyway - thanks, no error in post processing there now.

I've changed the logging level to 'debug' in SAB to try and find out why I'm getting an increase in failed downloads. Usually it's fairly obviously why they are failing but not so recently...

Thanks for the reply. Any further tips on why downloads are failing would be appreciated but perhaps I'll start with the debug for now anyway.
Not sure, I usually just blame file takedown requests. Most of the time it can be pretty difficult to fund stuff that's even semi-popular and more than a few hours old =/

I would think having multiple usenet providers (that use different backend providers) could help as they might not all the have the same files removed. Also having an indexer that uses predb might help, but I've even seem some of those files get taken down before.
 
Status
Not open for further replies.
Top