SOLVED SABNZBD 4.0

hmvh1

Dabbler
Joined
Aug 26, 2021
Messages
15
Hello the sabnzbd port recently moved to news/sabnzbd. How do I change the port origin for my jail from sabnzbdplus to sabnzbd?

Currently my jail shows this info:
root@SAB:~ # pkg info sabnzbdplus
sabnzbdplus-3.7.2,1
Name : sabnzbdplus
Version : 3.7.2,1
Installed on : Mon Feb 27 22:28:51 2023 EST
Origin : news/sabnzbdplus
Architecture : FreeBSD:13:*
Prefix : /usr/local
Categories : news
Licenses : PSFL and MIT and ISCL and GPLv2+ and BSD3CLAUSE and BSD2CLAUSE
Maintainer : james@french.id.au
WWW : https://sabnzbd.org/
Comment : Web-interface based binary newsgrabber in python, with nzb support
Options :
7ZIP : on
DBUS : off
DOCS : on
NOTIFY2 : off
PYGOBJECT : off
SSL : on
Annotations :
repo_type : binary
repository : FreeBSD
Flat size : 6.45MiB
Description :
SABnzbd is a cross-platform binary newsreader. It makes downloading
from Usenet easy by automating the whole thing. You give it an NZB
file or an RSS feed, it does the rest. Has a web-browser based UI
and an API for 3rd-party apps. Ideal for servers too.

Will either these commands work?

pkg set --change-origin news/sabnzbdplus:news/sabnzbd

pkg set -o news/sabnzbdplus:news/sabnzbd

Thank you.
 
Last edited:

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
What worked for me:

pkg remove sabnzbdplus

pkg install sabnzbd

All config and permissions were retained.
 

PnoT

Dabbler
Joined
Apr 12, 2017
Messages
41
I ran into this issue the other day because the tools were updated but Sab is still on v4.0.0 in the repository.

1687352885807.png


The solution was to manually remove v7.1.0 of the sabctools and install an older, v7.0.2, from my pkg cache folder.
pkg delete -f py39-sabctools-7.1.0
pkg add /var/cache/pkg/py39-sabctools-7.0.2.pkg
 
Last edited:

bsc78

Cadet
Joined
Jun 22, 2023
Messages
1
Hi PnoT,
same problem here. But I can't find py39-sabctools-7.0.2.pkg
Where did you get that file?

Thx
 

Xor

Cadet
Joined
Feb 11, 2020
Messages
5
I ran into this issue the other day because the tools were updated but Sab is still on v4.0.0 in the repository.

View attachment 67602

The solution was to manually remove v7.1.0 of the sabctools and install an older, v7.0.2, from my pkg cache folder.
pkg delete -f py39-sabctools-7.1.0
pkg add /var/cache/pkg/py39-sabctools-7.0.2.pkg
Care to share py39-sabctools-7.0.2.pkg please? I rebuilt my entire TrueNAS box and, obviously, I no longer have this file in the cache.
 

Chade

Cadet
Joined
Jan 7, 2022
Messages
3
Is this related to why I can't install the sabnzbd plugin at the moment? I'm receiving this error:

Error: sabnzbd had a failure Exception: RuntimeError Message: pkg error: - sabnzbdplus : Refusing to fetch artifact and run post_install.sh! Partial plugin destroyed
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Is this related to why I can't install the sabnzbd plugin at the moment? I'm receiving this error:
pkg error: - sabnzbdplus certainly suggests it might be that the plugin still refers to the outdated pkg (although I think it's still there, so shouldn't be a complete showstopper).
 

itsryan

Dabbler
Joined
Jan 11, 2017
Messages
20
Hi PnoT,
same problem here. But I can't find py39-sabctools-7.0.2.pkg
Where did you get that file?

Thx
Care to share py39-sabctools-7.0.2.pkg please? I rebuilt my entire TrueNAS box and, obviously, I no longer have this file in the cache.
I had this same problem. I will try and explain what I did to fix this.
removed the package py39-sabctools-7.1.0.pkg
installed pip
installed wget for the tar file
downloaded version 7.0.1 from github
used pip to install 7.0.1
restarted
/var/cashe/pkg still shows version 7.1.0 installed but sabnzbd says version 7.0.1 is installed
no more errors and tested and working correctly.

pkg remove py39-sabctools-7.1.0.pkg
pkg install py39-pip
pkg install wget
wget https://github.com/sabnzbd/sabctools/releases/download/v7.0.1/sabctools-7.0.1.tar.gz
pip install sabctools-7.0.1.tar.gz
I have a feeling I'm missing something as it took me about 3 hours to figure this out but this should send you down the same google rabbit hole I traveled down.
 

Xor

Cadet
Joined
Feb 11, 2020
Messages
5
I had this same problem. I will try and explain what I did to fix this.
removed the package py39-sabctools-7.1.0.pkg
installed pip
installed wget for the tar file
downloaded version 7.0.1 from github
used pip to install 7.0.1
restarted
/var/cashe/pkg still shows version 7.1.0 installed but sabnzbd says version 7.0.1 is installed
no more errors and tested and working correctly.


I have a feeling I'm missing something as it took me about 3 hours to figure this out but this should send you down the same google rabbit hole I traveled down.
Thank you! It worked.

For reference, here's the code:

pkg install py39-pip
pkg install wget
pkg delete -y py-sabctools
wget https://github.com/sabnzbd/sabctools/releases/download/v7.0.1/sabctools-7.0.1.tar.gz
pip install sabctools-7.0.1.tar.gz
 

JJT211

Patron
Joined
Jul 4, 2014
Messages
323
Strange, so I already had "py39-sabctools-7.0.1.pkg" installed but still couldnt update from 4.0.0

So from above, I just installed this

Code:
pkg install py39-pip
pkg install wget


And then finally I was able to update.
 

Scharbag

Guru
Joined
Feb 1, 2012
Messages
620
Rock on community - rock on!!
 
Top