• Sabnzb against your Nextcloud

    Here's a guide for openSUSE on how you can install sabnzb against the cloud.
    You can, for example, add and remove downloads via browser and manage / move / delete your downloads via your Nextcloud instance.

    Install python and other dep's:

    sudo zypper in -y phyton-pip
    sudo pip install cheetah
    sudo pip install cryptography
    sudo pip install sabyenc
    sudo zypper in par2cmdline
    sudo zypper in unrar unzip
    Download sabnzb to your server
    Go to opt typ via your terminal: cd /opt
    Typ now : sudo wget https://github.com/sabnzbd/sabnzbd/r...3.4-src.tar.gz
    Sabnzbd has now been downloaded.
    Now Sabnzb to unpack: sudo tar xfvz SABnzbd-2.3.4-src.tar.gz
    Now we can also delete the tar file that we no longer need: sudo rm -r SABnzbd-2.3.4-src.tar.gz
    open the sabnzbd folder : cd SABnzbd-2.3.4

    We have to start sabnzbd manually once typ: ./SABnzbd.py
    you see a console of sabnzb here we do not have to do anything close it off by typing: q

    Now that we are more ready here, we will create a folder nzb within the home folder.

    cd /home
    sudo mkdir sabnzb

    Now copy all sabnzb files from your own home folder to the home of sabnzb

    cd ~
    sudo cp -R .sabnzbd/ /home/sabnzbd/

    Just put the last rights right

    cd /home
    sudo chown -R wwwrun:www sabnzb

    Now we have to adjust something in the config of sabnzbd so that you can access it from another computer

    typ: ip addr

    Find your IP address there if you've wired the computer, you'll see about this:

    2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 
       link/ether 74:d4:35:88:14:7f brd ff:ff:ff:ff:ff:ff 
       inet brd scope global eth0 
          valid_lft forever preferred_lft forever

    In this case, our local / internal IP note this address just for yourself or remember it.

    Go to: cd /home/sabnzb/.sabnzbd
    typ now: sudo vi sabnzbd.ini
    Now find the line that starts with host =
    Fill in your local ip in this case so:
    host =

    Now press ESC and then: wq and then enter to save and exit the file

    Now we have to make a systemd file so that sabnzbd can starts automatically

    Go to: cd /usr/lib/systemd/system
    Typ now vi sabnzbd.service
    And paste the text / code below:
    Description=SABnzbd binary newsreader 
    ExecStart=/opt/SABnzbd-2.3.4/SABnzbd.py -f /home/sabnzb/.sabnzbd/sabnzbd.ini –logging 1 –browser 0 
    now press ESC and then: wq and then enter to save and close the file.
    Now everything is well set only just start and turn on.
    Run the following commands:
    sudo systemctl enable sabnzbd.service
    sudo systemctl start sabnzbd.service
    sudo systemctl status sabnzbd.service
    This last command looks at the status of the sabnzbd when you see the text running then you have followed all the steps correctly
    Now you must be able to reach sabnzbd by going to your local ip address with port 8080 behind it eg
    And then you come to your sabnzbd installation.
    Walk through all settings like your download location and enter your news server.

    Much fun with your Sabnzbd where you can manage the downloads in nextcloud!

    I make the manuals for the hobby and to help others.
    You do not have to follow my manuals and are therefore at your own risk and I am not responsible for what you do on your machine!


    This article was originally published in forum thread: Sabnzb against your Nextcloud started by ComputerSmurf View original post