SABnzbd plugin not installing

ddehan

Dabbler
Joined
May 27, 2023
Messages
19
Hello everyone,

I installed my TrueNAS server today and i'm very happy with it. But... I'm having issues when installing the SABnzbd plugin.

It begins installing, but it ends in 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

I'm running TrueNAS-13.0-U4.

Does anyone have a clue?

Kind regards,
Dennis
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
If you want something like a plug-in—click a button and it’s installed—you should be using SCALE. Plug-ins on CORE are “all but deprecated” and “a path to sadness”, in the words of the iX CTO.
 

ddehan

Dabbler
Joined
May 27, 2023
Messages
19
Thank You for the answer. I went ahead and upgraded TrueNAS to scale :) That process went smooth and i'm going to test the apps today :)
 

es236937

Cadet
Joined
Dec 23, 2023
Messages
1
I am on TrueNAS core version: TrueNAS-13.0-U6.1
And the following worked for me:
1. Log in to your TrueNAS core web portal
2. Click Shell
3. Paste the following command and press enter:
edit /mnt/tank/iocage/.plugins/github_com_ix-plugin-hub_iocage-plugin-index_git/sabnzbd.json
4. Change line 10 from sabnzbdplus to sabnzbd
5. Press esc then press enter to select leave editor and ENTER again to save changes.

Apparently the Sabnzbd package name was changed.
Now you should be able to install the Sabnzbd plugin like you normally do.
 

fennell

Cadet
Joined
Jan 17, 2024
Messages
3
I am on TrueNAS core version: TrueNAS-13.0-U6.1
And the following worked for me:
1. Log in to your TrueNAS core web portal
2. Click Shell
3. Paste the following command and press enter:
edit /mnt/tank/iocage/.plugins/github_com_ix-plugin-hub_iocage-plugin-index_git/sabnzbd.json
4. Change line 10 from sabnzbdplus to sabnzbd
5. Press esc then press enter to select leave editor and ENTER again to save changes.

Apparently the Sabnzbd package name was changed.
Now you should be able to install the Sabnzbd plugin like you normally do.
This looks like exactly what I need, how exactly do you do step 4 though?
 

victort

Guru
Joined
Dec 31, 2021
Messages
973
You should probably create you own jail, the enter the shell of the jail and do this command.

pkg install sabnzbd
Then the interface should be at http://YOUR_IP:8080

This installs the pkg like the plugin would, but is easier to manage because the plugin requires the maintainer to update it. If you do it in your own manual jail, updating is as simple as
pkg update && pkg upgrade
 

fennell

Cadet
Joined
Jan 17, 2024
Messages
3
You should probably create you own jail, the enter the shell of the jail and do this command.

pkg install sabnzbd
Then the interface should be at http://YOUR_IP:8080

This installs the pkg like the plugin would, but is easier to manage because the plugin requires the maintainer to update it. If you do it in your own manual jail, updating is as simple as
pkg update && pkg upgrade
Ok, makes sense to go this way then. My tech skills have long gone so I'm struggling these days.

Install done, however there's nothing available at SERVERIP:8080
 

victort

Guru
Joined
Dec 31, 2021
Messages
973
Ok, makes sense to go this way then. My tech skills have long gone so I'm struggling these days.

Install done, however there's nothing available at SERVERIP:8080
Is there a sabnzbd file located in /usr/local/etc/rc.d/?

Try service sabnzbd start
If the command says something about the file not being executable, then run
sysrc sabnzbd_enable=yes then try to start the service again.
 

fennell

Cadet
Joined
Jan 17, 2024
Messages
3
Is there a sabnzbd file located in /usr/local/etc/rc.d/?

Try service sabnzbd start
If the command says something about the file not being executable, then run
sysrc sabnzbd_enable=yes then try to start the service again.
Yes, it is there and I can start the service, I have not changed any settings and the sab package setup said 'setup available on localhost:8080/sabnzbd or similar.
Ive either failed with the jail setup, or the package hasnt bound the port?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
setup available on localhost:8080/sabnzbd
So it's listening only on localhost. You'll need to find the config file (it's probably going to be somewhere in /usr/local/etc/) and edit that, probably to listen on 0.0.0.0 rather than localhost.

Edit: OK, just set this up in a jail on a test system. Here are the commands in the jail:
  • pkg install sabnzbd nano
  • sysrc sabnzbd_enable=YES
  • service sabnzbd start
  • service sabnzbd stop
  • nano /usr/local/sabnzbd/sabnzbd.ini
    • Change the line that says host = 127.0.0.1 (it should be line 20) to host = 0.0.0.0
  • Ctrl-X to exit and save
  • service sabnzbd start
 
Last edited:
Top