SABnzbd

SABnzbd is a free and easy binary newsreader. The automated Usenet download tool.

You'll need to execute some commands via SSH to use this software. There is a separate guide on how to connect to your slot via SSH. Commands are kept as simple as possible and in most cases will simply need to be copied and pasted into the terminal window (then executed by pressing the Enter key).

Table of contents

Installation

Install SABnzbd by logging in via SSH, then copying and pasting the following script:

wget -O ~/install.sabnzbd.sh https://www.feralhosting.com/wiki/software/sabnzbd.install.sh && bash ~/install.sabnzbd.sh

This script will output a success message alongside the URL to access SABnzbd. SABnzbd will take about five minutes to start up and then present a "Quick-Start Wizard".

You must complete this wizard immediately to secure SABnzbd.

Starting, stopping and restarting

This section covers the SABnzbd process—starting, stopping and restarting it. It also covers checking if the main process is running, in case that becomes necessary.

start
You cannot start SABnzbd manually. Wait five minutes for it to auto-restart.
check running
pgrep -af SABnzbd
stop
pkill -fe SABnzbd
kill (force stop)
pkill -9 -fe SABnzbd
restart
pkill -fe SABnzbd Then wait five minutes for it to auto-restart.

Updating SABnzbd

The files to run SABnzbd can be found under ~/.config/feral/ns/containers/docs-sabnzbd/app. If this folder is missing the latest version will be downloaded and SABnzbd will be restarted.

You can use an SFTP / FTP client to delete the folder. Or alternatively you can run the SSH command: rm -r ~/.config/feral/ns/containers/docs-sabnzbd/app

Uninstall

The following SSH commands will uninstall SABnzbd from your slot. You do not need to run them if reinstalling.

rm -rf ~/.config/feral/ns/containers/docs-sabnzbd ~/install.sabnzbd.sh ~/.nginx/conf.d/000-default-server.d/sabnzbd.conf
/usr/sbin/nginx -s reload -c ~/.nginx/nginx.conf 2>/dev/null
pkill -9 -fe SABnzbd.py
echo Uninstalled.