Configuring NZB services generation one

Introduction

Procedure

  1. Run:
    apt-get -y install sabnzbdplus
  2. Edit /etc/default/sabnzbdplus and set:
    USER=sabnzbdplus
  3. Create that user by running:
    groupadd --system sabnzbdplus
    useradd --system --gid sabnzbdplus \
            --home-dir /var/lib/sabnzbdplus \
            --create-home sabnzbdplus
  4. Start sabnzbdplus as follows:
    su - sabnzbdplus
    sabnzbdplus
  5. Just leave the text browser asking its first question.
  6. From the host where your (normal) browser runs run (possibly as root if required):
    ssh -gfNL 8080:localhost:8080 <host-where-sabnzbdplus-is-running>
  7. Visit http://localhost:8080/ and make the following settings:
    • language: <preferred-language>
    • server: skip
    • General->SABnzbd Host: 0.0.0.0
    • General->Launch Browser on Startup: no
    • Servers->Add Server->… (use SSL if possible)
    • Notifications->Email Notification On Job Completion: always
    • Notifications->Disk Full Notifications: yes
    • Notifications->SMTP Server: …
    • Notifications->Email Recipient: …
    • Notifications->Email Sender: …
    • Scheduling->Add Schedule->Resume: …
    • Scheduling->Add Schedule->Pause: …
    • Special->Host Whitelist: <unqualified-name-of-the-host-itself>,<fully-qualified-name-of-the-host-itself>
  8. In ~sabnzbplus, replace the Downloads directory with a symlink pointing to suitably named directory on a larger filesystem.
  9. Finalise sabnzbdplus by stopping sabnzbdplus and then running:
    systemctl enable sabnzbdplus
    reboot

    (I could not get the service to start until I had done a reboot.)

  10. Proxying connections to the monitoring site:
    1. Note the port number specified in that sabnzbdplus listens on (probably 8080).
    2. SeeĀ Configuring web services (revision 2).

See also