Guides · Optional apps

Set up SABnzbd

SABnzbd downloads from Usenet. Sonarr, Radarr and Lidarr hand it what to download, and Yarr Media shows its queue.

About 15 minutes

Before you start

  • A server with Docker: Set up a Debian or Ubuntu server and Install Docker. The Yarr Media installer already installs Docker.
  • The /srv/data folders from the server guide (/srv/data/media/… for your library and /srv/data/usenet/… for downloads).
  • The server's address on your network, for example 192.168.1.50 (run hostname -I on the server). Replace SERVER-IP below with it.

1. Start SABnzbd

sudo mkdir -p /opt/sabnzbd && cd /opt/sabnzbd
sudo tee compose.yaml > /dev/null <<'EOF'
services:
  sabnzbd:
    image: lscr.io/linuxserver/sabnzbd:latest
    container_name: sabnzbd
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/Chicago
    volumes:
      - ./config:/config
      - /srv/data:/data
    ports:
      - 8080:8080
    restart: unless-stopped
EOF
sudo docker compose up -d

Change PUID/PGID to your own numbers (run id; usually 1000) and TZ to your time zone (run timedatectl show -p Timezone --value). The /srv/data:/data line gives the app the same folders as the other apps, so finished downloads are moved into your library instantly instead of copied.

2. Run the quick-start wizard

Open http://SERVER-IP:8080. The wizard asks for your language and the server details from your Usenet provider: host, port (usually 563 with SSL on), username, password and number of connections. Choose Test Server, then finish the wizard.

3. Set the folders

  1. Go to Config (gear icon) → Folders.
  2. Temporary Download Folder: /data/usenet/incomplete.
  3. Completed Download Folder: /data/usenet/complete.
  4. Choose Save Changes.

4. Add categories

Go to Config → Categories and add tv, movies and music (leave the folder empty; SABnzbd uses the category name). Sonarr, Radarr and Lidarr use these to tell their downloads apart.

5. Copy the API key

Go to Config → General → Security and copy the API Key. You need it for Sonarr, Radarr, Lidarr and Yarr Media.

6. Connect SABnzbd to Yarr Media

  1. In Yarr Media, go to Settings → Integrations → SABnzbd.
  2. Enter the address http://SERVER-IP:8080 and paste the API key, then choose Connect SABnzbd.

The SABnzbd page in Yarr Media now shows the queue and history, with pause and resume.

If you see "Access denied"

SABnzbd only accepts the names it knows. Using the IP address always works. To use a name like http://myserver:8080, add it under Config → Special → host_whitelist.

Updating

The image is updated by pulling the new version and recreating the container. Your settings in /opt/sabnzbd/config are kept.

cd /opt/sabnzbd && sudo docker compose pull && sudo docker compose up -d

Good to know

Only download media you have the rights to. Yarr Media plays files from your own folders and does not supply movies, shows or music.