Is this the place for help with setting up Sonarr/Radarr?

3 years ago by ScoobyDoo27 to c/selfhosted

I was told this community might be able to help me....I’ve spent my entire day setting up sonarr/radarr on my Synology DS423+ NAS within docker. I got most of it figured out on my own but I’m stumped on how sonarr/radarr takes the files from my torrent client downloads folder and moves them to my media folder for plex/jellyfin to view.

I’ve followed this guide for how my folder structure is setup: https://wiki.servarr.com/docker-guide

Could someone point me in the direction of what I need to do so that when a file is finished downloading it automatically moves to my media folder?

Kushan 23 points 3 years ago

Hi,

You need to set up the folder paths within the docker side and the application side in order to do this properly.

Luckily there's a set of guides that describes exactly what you need: https://trash-guides.info/...

Read this guide and the other pages to get a full idea of the setup required.

path: 0 788295, hotness: undefined, score: 23, children: 7
CannedTuna 7 points 3 years ago

TraSH Guides is the best. Can’t recommend it enough

path: 0 788295 788849, hotness: undefined, score: 7, children: 0
surfbum 3 points 3 years ago
path: 0 788295 788866, hotness: undefined, score: 3, children: 0
ScoobyDoo27 3 points 3 years ago

Great, thank you. I will spend some time and go through this.

path: 0 788295 789136, hotness: undefined, score: 3, children: 4
Kushan 3 points 3 years ago

Good luck, don't be afraid to ask questions. It's a lot to take in the first time you go through it all, especially if you're not familiar with Docker and the concepts of containerisation but once you crack it, it's seamless.

path: 0 788295 789136 802432, hotness: undefined, score: 3, children: 3
ScoobyDoo27 2 points 3 years ago

Since I was already set up with docker I didn't want to start from scratch using compose. I went through the guide and set up my folder structure and set my volumes to the exact same variables he did. I've followed some other peoples suggestions too and I have got it to work but now radarr is copying my files instead of hardlinking even though it is set to hardlink in the settings.

path: 0 788295 789136 802432 817320, hotness: undefined, score: 2, children: 2
Kushan 1 point 3 years ago

Does RADAR's logs say anything around the file copy about why it couldn't hardlink?

path: 0 788295 789136 802432 817320 819253, hotness: undefined, score: 1, children: 1
NewDataEngineer 7 points 3 years ago

You have to give sonarr access to your top level media folder. Then you set sonarr up to hardlink the downloaded files to your media folder.

E.g. if you have home/media/tvshows and home/media/movies, give sonarr access to home/media. Your download client should probably have a folder like home/media/downloads in your sonarr app map the downloads folder to a sonarr folder in the downloaded client settings. Then set all imports to hardlink, instead of copy.

Your Plex/Jellyfin server should point to home/media for your library where the hardlinking occurs.

path: 0 787139, hotness: undefined, score: 7, children: 11
ScoobyDoo27 1 point 3 years ago

I half follow. I have given radarr access to the top level folder (/data, not /data/media) so it should see everything. qbittorrent is linked to /data/torrents for my downloads. Where in radarr might I map the folders so it's hard linking instead of copying?

path: 0 787139 788146, hotness: undefined, score: 1, children: 10
jordanwhite1 2 points 3 years ago

I ran into these issues with sonarr. I believe my fix was how the volumes were labelled. My understanding is they communicated the directory but if the other sonarr doesn’t know where to look for it, it won’t be able to find it

Torrent client - data/downloads:/var/data/downloads

Sonarr - data: var/data

This was when the torrent client is passing the location to sonarr is says thesimpsons.mp3 is located in data/download/the Simpson.mp3 and sonarr can then locate it

path: 0 787139 788146 793767, hotness: undefined, score: 2, children: 0
rambos 1 point 3 years ago

So for all docker apps use just /data and for jellyfin you can use /data/media

In Radarr: add root folder /data/media/movies add download client with radarr category

In qbittorrent: Eddit your radarr category and set download path as /data/torrent/movies

In jellyfin: Add movie library with path /data/media/movies

So when you add a movie in radarr, it will start downloading it in '/data/torrent/moviesand once its finished it will be renamed and hard linked todata/media/movies`

Hard linking is by default, but you can check in Settings - Media Management - Importing (make sure to enable "advanced" in radarr)

path: 0 787139 788146 799998, hotness: undefined, score: 1, children: 7
ScoobyDoo27 1 point 3 years ago

So for all docker apps use just /data and for jellyfin you can use /data/media -I am using /data for all my docker apps

In Radarr: add root folder /data/media/movies add download client with radarr category -how do I change the root folder within radarr? I do have a radarr category setup for qbittorrent

In qbittorrent: Eddit your radarr category and set download path as /data/torrent/movies -I have set this up but qbittorrent still saves them in my /data/torrent folder

In jellyfin: Add movie library with path /data/media/movies -I can get jellyfin/plex to work ok

So when you add a movie in radarr, it will start downloading it in '/data/torrent/moviesand once its finished it will be renamed and hard linked todata/media/movies` -qbittorrent is not downloading to /data/torrent/movies even though I set the category to. Radarr is then copying my files to my media folder instead of hardlinking.

Hard linking is by default, but you can check in Settings - Media Management - Importing (make sure to enable “advanced” in radarr) -I do have the setting turned on to hardlink but it's copying

path: 0 787139 788146 799998 817451, hotness: undefined, score: 1, children: 6
rambos 1 point 3 years ago

how do I change the root folder within radar?

Settings->Media management->Scroll down to bottom

I have set this up but qbittorrent still saves them in my /data/torrent folder

That is probably your default qbittorrent download path, but thats fine. There are settings for what happens when you open torrent file or magnet link.

And make sure radarr torrent client saves to same category in qbit.

I can get jellyfin/plex to work ok

Be more specific

Radarr is then copying my files to my media folder instead of hardlinking.

Are you sure about that? Data exists in both folders, but doesnt use double size on disk. If you delete one - the other one remains, if you delete both they are gone. Check your disk usage before/after radar "copy"

path: 0 787139 788146 799998 817451 826267, hotness: undefined, score: 1, children: 5
NewDataEngineer 1 point 3 years ago

In settings --> download clients. Underneath qbittorrent you'll see remote path mappings. Make sure qbittorrent's internal path mapping is mapped to radarr's. So if qbittorrent downloads to /data/torrents, the mapping should be path internally in qbittorrent /data/torrents maps to path internally radarr /data/torrents.

Then in Radarr, whenever you do an import or download a new movie, point it to /data/media/ and choose hardlinking on import, typically bottom left in the import gui.

path: 0 787139 788146 798298, hotness: undefined, score: 1, children: 0
RespectfullyNo 5 points 3 years ago path: 0 792511, hotness: undefined, score: 5, children: 0
surrendertogravity 5 points 3 years ago

This should just be part of configuring Sonarr/Radarr settings correctly. Do you have a red message in the settings that says a download client is missing, or have you filled out the download clients settings section with your torrent client info? If yes, have you checked the “auto import from client” box? and, have you set your root library folder in the media management section?

path: 0 786902, hotness: undefined, score: 5, children: 3
whynotzoidberg 4 points 3 years ago

This. I remember being amazed that it just handled it.

The only catch I remember running into is that Sonarr must be aware of all storage locations. That is, if I didn’t see the path in Sonarr’s system info, the auto copy and rename didn’t work right.

path: 0 786902 787010, hotness: undefined, score: 4, children: 0
ScoobyDoo27 2 points 3 years ago

Yes, I have a message in radarr that states "You are using docker; download client qbittorrent places downloads in /downloads but this directory does not appear to exist inside the container. Review your remote path mappings and container volume settings." I'm confused because I mapped /data to /data in my docker settings so it should be able to see the downloads folder, no?

I do also have the auto import from client box checked and I do have my /data/media/movies folder selected under the media management section.

path: 0 786902 788025, hotness: undefined, score: 2, children: 1
surrendertogravity 1 point 3 years ago

That's helpful; this sounds like a docker issue or qBit issue then. The default qBit location for torrents is /downloads, but you'd need to make sure to point it towards the container volume mapping you're setting up in docker.

my relevant qBittorrent compose volume mapping is as follows:

    volumes:
      - /volume1/shared/torrents:/data/torrents

Personally, I don't separate my torrent downloads by type; I use incoming & completed folders. Here's how I set up my qBittorrent config:

Original Value New Value
Session\DefaultSavePath=/downloads/ Session\DefaultSavePath=/data/torrents/1_completed/
Session\TempPath=/downloads/incomplete/ Session\TempPath=/data/torrents/2_incoming/
Downloads\SavePath=/downloads/ Downloads\SavePath=/data/torrents/1_completed/
Downloads\TempPath=/downloads/incomplete/ Downloads\TempPath=/data/torrents/2_incoming/
path: 0 786902 788025 788483, hotness: undefined, score: 1, children: 0
Cerothen 3 points 3 years ago

Sonarr and Radarr need to have the directories be the same as your torrent client and newsreader.

Sonarr/Radarr read the. Directory that the API reports as the save destination and moves it from there

path: 0 787149, hotness: undefined, score: 3, children: 0
richneptune 3 points 3 years ago

When you add a request you can select the target directory where you want the files to end up (Root Folder). If you follow the Linuxserver.io setup, you should have created a bind volume called /media for where you want your media to end up for the use of Jellyfin which you can use.

path: 0 787034, hotness: undefined, score: 3, children: 0
NewDataEngineer 1 point 3 years ago
path: 0 787112, hotness: undefined, score: 1, children: 0
selfhosted
selfhosted

@lemmy.world

login for more options
62993
6808
5747

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

go to feed...