Adding sabnzb to yams

Having any issues installing YAMS? This is the place to ask!
Post Reply
kees200
Posts: 3
Joined: Sat Jul 06, 2024 10:53 am
Netherlands

Adding sabnzb to yams

Post by kees200 »

Hello everyone,

I am trying to add sabnzb instead of qBittorent to the yams installation.
I created the normal directories:

Code: Select all

/opt/yams
/srv/media/tv
/srv/media/movies
/srv/media/downloads
/srv/media/blackhole

I edited the docker-compose so that it is as following:

Code: Select all

version: "3"

services:
  # jellyfin is used to serve your media to the client devices
  jellyfin:
    image: lscr.io/linuxserver/jellyfin
    container_name: jellyfin
    #network_mode: host # plex
    environment:
      - PUID=1000
      - PGID=1000
      - VERSION=docker
    volumes:
      - /srv/media/movies:/data/movies
      - /srv/media/tvshows:/data/tvshows
      - /opt/yams/config/jellyfin:/config
    ports:
      - 8096:8096
    restart: unless-stopped

  # sabnzbd is a usenet download client
  sabnzbd:
    image: lscr.io/linuxserver/sabnzbd
    container_name: sabnzbd
    environment:
      - PUID=1000
      - PUID=1000
    volumes:
      - /srv/media/downloads:/downloads
      - /opt/yams/config/sabnzbd:/config
    ports:
      - 8181:8080
    restart: unless-stopped

  # Sonarr is used to query, add downloads to the download queue and index TV shows
  # https://sonarr.tv/
  sonarr:
    image: lscr.io/linuxserver/sonarr
    container_name: sonarr
    environment:
      - PUID=1000
      - PGID=100-
    volumes:
      - /srv/media/tvshows:/tv
      - /srv/media/downloads:/downloads
      - /opt/yams/config/sonarr:/config
    ports:
      - 8989:8989
    restart: unless-stopped

  # Radarr is used to query, add downloads to the download queue and index Movies
  # https://radarr.video/
  radarr:
    image: lscr.io/linuxserver/radarr
    container_name: radarr
    environment:
      - PUID=1000
      - PGID=1000
    volumes:
      - /srv/media/movies:/movies
      - /srv/media/downloads:/downloads
      - /opt/yams/config/radarr:/config
    ports:
      - 7878:7878
    restart: unless-stopped

  # Lidarr is used to query, add downloads to the download queue and index Music
  # https://lidarr.audio/
  lidarr:
    image: lscr.io/linuxserver/lidarr
    container_name: lidarr
    environment:
      - PUID=1000
      - PGID=1000
    volumes:
      - /srv/media/music:/music
      - /srv/media/downloads:/downloads
      - /opt/yams/config/lidarr:/config
    ports:
      - 8686:8686
    restart: unless-stopped

  # Readarr is used to query, add downloads to the download queue and index Audio and Ebooks
  # https://readarr.com/
  readarr:
    image: lscr.io/linuxserver/readarr:develop
    container_name: readarr
    environment:
      - PUID=1000
      - PGID=1000
    volumes:
      - /srv/media/books:/books
      - /srv/media/downloads:/downloads
      - /opt/yams/config/readarr:/config
    ports:
      - 8787:8787
    restart: unless-stopped

  # Bazarr is used to download and categorize subtitles
  # https://www.bazarr.media/
  bazarr:
    image: lscr.io/linuxserver/bazarr
    container_name: bazarr
    environment:
      - PUID=1000
      - PGID=1000
    volumes:
      - /srv/media/movies:/movies
      - /srv/media/tvshows:/tv
      - /opt/yams/config/bazarr:/config
    ports:
      - 6767:6767
    restart: unless-stopped

  # Prowlarr is our torrent indexer/searcher. Sonarr/Radarr use Prowlarr as a source
  # https://prowlarr.com/
  prowlarr:
    image: lscr.io/linuxserver/prowlarr
    container_name: prowlarr
    environment:
      - PUID=1000
      - PGID=1000
    volumes:
      - /opt/yams/config/prowlarr:/config
    ports:
      - 9696:9696
    restart: unless-stopped

  # Portainer helps debugging and monitors the containers
  portainer:
    image: portainer/portainer-ce
    container_name: portainer
    ports:
      - 9000:9000
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - /opt/yams/config/portainer:/data
    restart: unless-stopped

  # Watchtower is going to keep our instances updated
  watchtower:
    image: containrrr/watchtower
    container_name: watchtower
    environment:
      - WATCHTOWER_CLEANUP=true
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    restart: unless-stopped

However can somebody help me with the settings in sabnzb? I am not sure what to add there.
Thanks!

Image

User avatar
rogs
Site Admin
Posts: 145
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Adding sabnzb to yams

Post by rogs »

Hey @kees200!

First of all, if you are going to add your own containers to YAMS, I recommend you go with the oficial documentation here: https://yams.media/advanced/add-your-own-containers/

Second, in your SabNZBD settings the directories should be /downloads/complete and /downloads/incomplete.

Cheers!

Roger.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
kees200
Posts: 3
Joined: Sat Jul 06, 2024 10:53 am
Netherlands

Re: Adding sabnzb to yams

Post by kees200 »

Hi Roger!
Thank you for the fast reply!
Great, I did not know about adding the container, I will definitely do it like that then.
Is it possible to remove the qBittorent and gluetun from the docker compose file, as I will not be using those and trying to save resources?
And I think I will have to add sabnzb to Radarr and Sonarr to make sure the nzb will be send to sabnzb (and not add a watch folder?).
Thank you,
Jarod

User avatar
rogs
Site Admin
Posts: 145
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Adding sabnzb to yams

Post by rogs »

Is it possible to remove the qBittorent and gluetun from the docker compose file, as I will not be using those and trying to save resources?

Yes, you can do it safely!

I think I will have to add sabnzb to Radarr and Sonarr to make sure the nzb will be send to sabnzb (and not add a watch folder?).

Yes, you have to do that. It should be easy to do, you can always use TRaSH guides or any other tutorial online :D

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
kees200
Posts: 3
Joined: Sat Jul 06, 2024 10:53 am
Netherlands

Re: Adding sabnzb to yams

Post by kees200 »

I installed yams and used the docker-compose.custom.yaml, but it is not working yet and it is due sabnzb downloading the files in a different folder I think.

This is what I used in the yaml file:

Code: Select all

  
  # sabnzbd is a usenet download client
  sabnzbd:
    image: lscr.io/linuxserver/sabnzbd
    container_name: sabnzbd
    environment:
      - PUID=1000
      - PUID=1000
    volumes:
      - /srv/media/downloads:/downloads
      - /opt/yams/config/sabnzbd:/config
    ports:
      - 8181:8080
    restart: unless-stopped

I setup everything and have sabnzb, radarr, sonarr etc all functioning.
In sabnzb I left the folders at Downloads/incomplete and Downloads/complete.

However, Sonarr has a problem importing the downloads. The download is correctly send to sabnzb, and also downloaded, however it is not imported by Sonarr.

In Sonarr I see this error: No files found are eligible for import in /config/Downloads/complete/
When logging in the system, I can see the files via sabnzb are downloaded to /opt/yams/config/sabnzbd/Downloads/complete/ (so probably sonarr is looking in opt/yams/config/Downloads/complete?).

However, in sabnzb I cannot navigate to /opt/yams/config/Downloads/complete/.
Is there a solution how to fix this, I checked the TRaSH guides but unfortunately I cannot find the solution.
Should I make a remote path mapping in Sonarr? Or did I make a mistake in the yaml?

User avatar
rogs
Site Admin
Posts: 145
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Adding sabnzb to yams

Post by rogs »

You aren't saving the files in the correct place. According to your docker-compose file it should be /downloads/complete and /downloads/incomplete, since the mountpoint is /downloads. Fix that first

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
Post Reply