SABnzbdplus

From Hack Sphere Labs Wiki
Revision as of 23:40, 29 August 2015 by Webdawg (talk | contribs) (Debian)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Indexing

  • Some people fell butt hurt about indexing files.
    • You many need Newznab

cifs

I really reccomend

 cache=none

as one of your options

Debian Jessie Install

http://forums.sabnzbd.org/viewtopic.php?f=16&t=9844

echo "deb http://ppa.launchpad.net/jcfp/ppa/ubuntu trusty main" | tee -a /etc/apt/sources.list
apt-key adv --keyserver hkp://pool.sks-keyservers.net:11371 --recv-keys 0x98703123E0F52B2BE16D586EF13930B14BB9F05F
apt-get update && apt-get dist-upgrade

Install

apt-get install sabnzbdplus

Configure

nano /etc/default/sabnzbdplus
  • I ended up putting ip and port in

Start it:

systemctl start sabnzbdplus

You are going to need unrar

nano /etc/apt/sources.list

add non-free to

deb http://ftp.us.debian.org/debian/ jessie main

so

deb http://ftp.us.debian.org/debian/ jessie main non-free

then save and exit, then run:

apt-get update
apt-get install unrar

restart sabnzbplus

systemctl restart sabnzbdplus

yEnc check

Make sure you have python-yenc installed so decoding does not suck

You can check though:

You can ask sab via the api. When boolean 'yenc' is true, the _yenc module is in use.[1]

   wget -q -O- 'http://localhost:8080/api?mode=options&apikey=SAB_API_KEY_HERE'

Debian

Since Debian doesn't see updates inbetween releases unless there's some urgent reason for them, the software in the distribution's repositories ages. The sabnzbdplus package is no exception. If you want a newer version in Debian squeeze (6.0) or wheezy (7.0), these are the options:

1) Use the ppa. Although designed for Ubuntu, community members found it works with Debian too ;D. Updates come in automatically, so you'll be the first (along with some 10,000+ Ubuntu users) to enjoin the latest bugs features. The instructions below closely follow those for Ubuntu, see there for context. All commands need root access, use su or sudo as appropriate or execute them from a root shell.

For squeeze, use the following four commands:

   Code: Select all
       echo "deb http://ppa.launchpad.net/jcfp/ppa/ubuntu lucid main" | tee -a /etc/apt/sources.list
       apt-key adv --keyserver hkp://pool.sks-keyservers.net:11371 --recv-keys 0x98703123E0F52B2BE16D586EF13930B14BB9F05F
       apt-get update
       aptitude --with-recommends install sabnzbdplus

For wheezy, substitute lucid with precise in the first command:

   Code: Select all
       echo "deb http://ppa.launchpad.net/jcfp/ppa/ubuntu precise main" | tee -a /etc/apt/sources.list


2) Rebuild the source package from testing on a squeeze system. Needs manual work for every update, may not work (or not without extra work) with future updates entering testing, but it does at the time of writing. Instructions straight from the Debian wiki are here. Nice of you like to dig in. Scary for noobs.

3) Run from source. Download the source release from sourceforge, extract anywhere you like, and just run SABnzbd.py. Dependencies should have been taken care of if you had the (old) sabnzbdplus package installed, otherwise look at that for guidance. Updating is as simple as overwriting the old program files with a newer release and running is simple enough too, but you'll have to take care of things like changes in dependencies and a proper init script yourself.


Some notes:

   No warranty. For anything, in this post or linked from here.
   For major updates, better finish any existing download queue first and backup your settings.
   Whatever you do, don't try using the binary deb files directly from testing or unstable: they will not work without the rebuilding.
   For even older Debian releases (yeah, that's you, lenny addicts), there's an install script by user bluechip in this topic.
Ubuntu users: why are you reading this? Just use the ppa.
  1. http://forums.sabnzbd.org/viewtopic.php?f=2&t=17550&p=94442