rmp5s Posted February 3, 2019 Share Posted February 3, 2019 (edited) I'm trying to get Sonarr/NZBGet set up and I'm running into an issue: Everything is set up and connecting, but when I go to add a path for the downloads, there's nothing in the "media" folder. I mapped "mnt/user/Media/TV Shows" but there's nothing in the "media" folder when I go to "/media" and, if I try to go to "/mnt/user", there's nothing in "/mnt" at all. What am I doing wrong here...??? I think I'm missing something when it comes to paths, but I have no idea what. Edited February 8, 2019 by rmp5s Quote Link to comment
itimpi Posted February 3, 2019 Share Posted February 3, 2019 When you say there is nothing in /mnt are you talking about inside the docker container or at the Unraid host level? With the settings you show what you see at the Unraid host level at ‘/mnt/user/Media/TV Shows’ is what you should see inside the container at /media. Check you have the case right in the paths as Linux is case-sensitive. Quote Link to comment
rmp5s Posted February 3, 2019 Author Share Posted February 3, 2019 5 minutes ago, itimpi said: When you say there is nothing in /mnt are you talking about inside the docker container or at the Unraid host level? With the settings you show what you see at the Unraid host level at ‘/mnt/user/Media/TV Shows’ is what you should see inside the container at /media. Check you have the case right in the paths as Linux is case-sensitive. Oh. Shit. So, in the Docker container, "/media" *IS* "/Media/TV Shows" on the server...? 1 Quote Link to comment
itimpi Posted February 3, 2019 Share Posted February 3, 2019 5 minutes ago, rmp5s said: Oh. Shit. So, in the Docker container, "/media" *IS* "/Media/TV Shows" on the server...? Yes! That is how you abstract the container internal configuration from the actual physical configuration on the server. Quote Link to comment
rmp5s Posted February 3, 2019 Author Share Posted February 3, 2019 1 minute ago, itimpi said: Yes! That is how you abstract the container internal configuration from the actual physical configuration on the server. Makes sense. Thanks! I'll give it a shot! Quote Link to comment
rmp5s Posted February 3, 2019 Author Share Posted February 3, 2019 Got that put in and queued up a download and I'm getting no download speed...getting 0KB/s. Some downloads say "download client is unavailable". *sigh*...lol Quote Link to comment
rmp5s Posted February 3, 2019 Author Share Posted February 3, 2019 (edited) Got it downloading! Yay! Still not seeing anything in my Media/TV Shows folder, though. Boo... If I go into NZBGet and click on the completed file, it has a path of "/usr/local/bin/nzbget/downloads/completed/Series/showname". Is it saving IN the Docker container? Edited February 3, 2019 by rmp5s 1 Quote Link to comment
itimpi Posted February 3, 2019 Share Posted February 3, 2019 6 minutes ago, rmp5s said: Got it downloading! Yay! Still not seeing anything in my Media/TV Shows folder, though. Boo... If I go into NZBGet and click on the completed file, it has a path of "/usr/local/bin/nzbget/downloads/completed/Series/showname". Is it saving IN the Docker container? It definitely sounds like that! Only paths you have explicitly mapped are outside the container. I would think that there is a NZBGet setting that controls where the files should be placed and this is not currently pointing to the /media location (which would get files into Media/TV Shows at the Unraid Level). Quote Link to comment
rmp5s Posted February 3, 2019 Author Share Posted February 3, 2019 3 minutes ago, itimpi said: It definitely sounds like that! Only paths you have explicitly mapped are outside the container. I would think that there is a NZBGet setting that controls where the files should be placed and this is not currently pointing to the /media location (which would get files into Media/TV Shows at the Unraid Level). Hmm...yea...looks like these need changed, indeed. Any recommendations? Change the "DestDir" to "/media"? I'm going to check the SpaceInvader One video and see if he sheds any light on it, but he uses a different NZB thing than I do. I'm all ears!! Quote Link to comment
rmp5s Posted February 4, 2019 Author Share Posted February 4, 2019 Yup...it's saving to "/usr/local/bin/nzbget/downloads/completed/Series/" INSIDE the Docker. Can anyone shed some light on how to set up the paths in NZBGet? 1 Quote Link to comment
itimpi Posted February 4, 2019 Share Posted February 4, 2019 I am not a user of NZBGet but I would have thought that a good starting point would be to change the MainDir setting in NZBGet to something simple like /download and then set up a path mapping in the container settings to map /download inside the container to somewhere in Unraid storage (e.g. /mnt/cache/appdata/nzbget/download). Since the other entries are sub/folders of the MainDir setting that would result in all of them being external to the container. Others who actually use NZBGet may chime in with the settings they actually use. I am surprised that the default templates do not already have such a mapping. Quote Link to comment
dmacias Posted February 4, 2019 Share Posted February 4, 2019 It definitely sounds like that! Only paths you have explicitly mapped are outside the container. I would think that there is a NZBGet setting that controls where the files should be placed and this is not currently pointing to the /media location (which would get files into Media/TV Shows at the Unraid Level).I don't have any media shares mapped to nzbget. I only map a downloads directory on my cache drive. In the downloads directory I have the incomplete, complete, tv, movies, music etc. I then map the media and downloads in Sonarr or similar. Quote Link to comment
Squid Posted February 5, 2019 Share Posted February 5, 2019 Set AppDir to be /config Quote Link to comment
rmp5s Posted February 5, 2019 Author Share Posted February 5, 2019 Thanks, everyone. I'll mess with it some and see if I can get it working. Quote Link to comment
rmp5s Posted February 5, 2019 Author Share Posted February 5, 2019 18 minutes ago, Squid said: Set AppDir to be /config Tried this. Didn't work. I can console into the NZBGet Docker and go to "/config/downloads/completed/Series/" and see the files there. How do make "/config/downloads/completed/Series/" == my unRAID share? I'm kind of thinking I have to do that as I install the container, but I don't know. This is the current setup: Quote Link to comment
dmacias Posted February 5, 2019 Share Posted February 5, 2019 Tried this. Didn't work. I can console into the NZBGet Docker and go to "/config/downloads/completed/Series/" and see the files there. How do make "/config/downloads/completed/Series/" == my unRAID share? I'm kind of thinking I have to do that as I install the container, but I don't know. This is the current setup:You need some sort of post processing. I use nzbtomedia scripts which can be found on github, placed in my downloads directory. You can configure Nzbget in its settings to use these scripts to then notify sonarr to post process downloads. Sonar then processes the downloads and moves them to the array. Or actually the cache drive to be moved later. Quote Link to comment
rmp5s Posted February 6, 2019 Author Share Posted February 6, 2019 3 hours ago, dmacias said: You need some sort of post processing. I use nzbtomedia scripts which can be found on github, placed in my downloads directory. You can configure Nzbget in its settings to use these scripts to then notify sonarr to post process downloads. Sonar then processes the downloads and moves them to the array. Or actually the cache drive to be moved later. Oh, really? I can see the MKV files in the output directory, though. I'm sure converting them to another format would be beneficial, but I still really think I have some path issues going on...no? I'll definitely look into that, though. Thanks! Quote Link to comment
rmp5s Posted February 6, 2019 Author Share Posted February 6, 2019 3 hours ago, dmacias said: You need some sort of post processing. I use nzbtomedia scripts which can be found on github, placed in my downloads directory. You can configure Nzbget in its settings to use these scripts to then notify sonarr to post process downloads. Sonar then processes the downloads and moves them to the array. Or actually the cache drive to be moved later. According to this, the scripts aren't necessary."So, in a way, these scripts seem to be unnecessary with Sonarr." Quote Link to comment
dmacias Posted February 7, 2019 Share Posted February 7, 2019 According to this, the scripts aren't necessary."So, in a way, these scripts seem to be unnecessary with Sonarr."I don't convert them or anything. I'll see if I can get it to work without the scripts. Quote Link to comment
rmp5s Posted February 8, 2019 Author Share Posted February 8, 2019 On 2/6/2019 at 6:21 PM, dmacias said: On 2/5/2019 at 7:53 PM, rmp5s said: According to this, the scripts aren't necessary."So, in a way, these scripts seem to be unnecessary with Sonarr." I don't convert them or anything. I'll see if I can get it to work without the scripts. I still really think I just have the mapping all jacked up. I can see the MKV file in the destination folder and all that, but it's the destination folder IN the container. How do I map it OUT of the container? It's a relatively simple concept that baffles me as there are 14 different paths involved in this case...there are paths when you installed, paths in the container, paths all over the place, and I have no idea where I screwed it up. Quote Link to comment
itimpi Posted February 8, 2019 Share Posted February 8, 2019 10 hours ago, rmp5s said: I still really think I just have the mapping all jacked up. I can see the MKV file in the destination folder and all that, but it's the destination folder IN the container. How do I map it OUT of the container? It's a relatively simple concept that baffles me as there are 14 different paths involved in this case...there are paths when you installed, paths in the container, paths all over the place, and I have no idea where I screwed it up. One way of thinking is to consider the container path the location that the app thinks is used for of particular purpose. Whether that is adjustable is up to what configuration options are available with the containers app. Many containers have internal paths that have been set by the container producer and are not amenable to change. The host path is the real location that the data is stored at in Unraid. Setting up such a mapping means a re-direct to this location happens without the container being aware of it. If there is no mapping between a container path and an Unraid host path then the path is only visible within the container and any data store on that path is internal to the container. In the case you mention of getting data out of the container then you need to set up a mapping between where the container thinks it is writing to and where on the Unraid server you want that data to appear. You also need to check that the container has write permissions set in the path mapping. One consequence of this is that if you have multiple containers that need to access the same data then you set up each container path to be shared to point to the same location at the Unraid level. It does not matter if the containers internal paths are different (and this is often the case) as they are transparently re-directed to the Unraid location. Does the above explanation help in any way? Quote Link to comment
rmp5s Posted February 8, 2019 Author Share Posted February 8, 2019 7 hours ago, itimpi said: One way of thinking is to consider the container path the location that the app thinks is used for of particular purpose. Whether that is adjustable is up to what configuration options are available with the containers app. Many containers have internal paths that have been set by the container producer and are not amenable to change. The host path is the real location that the data is stored at in Unraid. Setting up such a mapping means a re-direct to this location happens without the container being aware of it. If there is no mapping between a container path and an Unraid host path then the path is only visible within the container and any data store on that path is internal to the container. In the case you mention of getting data out of the container then you need to set up a mapping between where the container thinks it is writing to and where on the Unraid server you want that data to appear. You also need to check that the container has write permissions set in the path mapping. One consequence of this is that if you have multiple containers that need to access the same data then you set up each container path to be shared to point to the same location at the Unraid level. It does not matter if the containers internal paths are different (and this is often the case) as they are transparently re-directed to the Unraid location. Does the above explanation help in any way? Got it working! I'm not reeeeeeeeeeeeeal sure what I changed that made it start working, but everything is working as it should now. Thank you! Quote Link to comment
donglobal Posted January 16, 2021 Share Posted January 16, 2021 On 2/8/2019 at 11:44 PM, rmp5s said: Got it working! I'm not reeeeeeeeeeeeeal sure what I changed that made it start working, but everything is working as it should now. Thank you! what settings did you use to get it working? I'm in the same boat right now. Quote Link to comment
VIthe3rd Posted March 6, 2023 Share Posted March 6, 2023 On 2/3/2019 at 11:35 AM, rmp5s said: Oh. Shit. So, in the Docker container, "/media" *IS* "/Media/TV Shows" on the server...? Thanks! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.