March 9, 201511 yr Hi all, FIXED. Misunderstood exactly how the directories worked in conjunction with the "apps". working now. This is probably a basic issue and something wrong that I am doing, but I seem to be having a disconnect between my containers and my user shares/data. Sickbeard, for example. I want to add my /TV directory so it can scan my current show library. I see a bunch of folder options, but nothing with TV. I checked mnt figuring it would take me to user and then to TV and movies, but mnt is empty. pics attached to best understand. . Also, when trying to create SAB and Plex, i get the following error: invalid value "/mnt/user/movies/:movies:rw" for flag -v: movies:rw is not an absolute path.
March 9, 201511 yr I don't use this docker, but I don't think you want your /downloads mapped to /mnt/cache. That would mean anything in the docker that goes to /downloads will go to the root of your cache drive. This would mean that any files the docker puts in /downloads, like /downloads/somefile.ext would be put in /mnt/cache/somefile.ext and so on for any other files. You could end up with a lot of files in the root of your cache drive. Files at the root of the cache drive are ignored by mover, so these would never be moved by mover. Perhaps more importantly, any folder (with its included files) the docker puts in /downloads, like /downloads/somefolder would be put in /mnt/cache/somefolder. So, somefolder would be a folder at the root of your cache drive. Any folder at the root of cache or an array drive is automatically a user share, with default configuration if you don't configure it. Do you really want any downloaded folders to be a user share?
March 9, 201511 yr it works like this say your folder on unraid is /mnt/user/tv and the container volume is /tv that means that in the container /tv is the same as going to /mnt/user/tv on the bare metal unraid, so say for example you had a folder in your tv share called house, in the container it would in /tv/house. what this means in terms of sickbeard is that in the webui for it you select /tv as the base point for your tvshows etc and dependant on your layout select the correct folder within tv.
March 9, 201511 yr Hi all, This is probably a basic issue and something wrong that I am doing, but I seem to be having a disconnect between my containers and my user shares/data. Sickbeard, for example. I want to add my /TV directory so it can scan my current show library. I see a bunch of folder options, but nothing with TV. I checked mnt figuring it would take me to user and then to TV and movies, but mnt is empty. pics attached to best understand. . Also, when trying to create SAB and Plex, i get the following error: invalid value "/mnt/user/movies/:movies:rw" for flag -v: movies:rw is not an absolute path. scroll down in that folder list.
March 9, 201511 yr Author thanks, I scrolled down and selected TV (after I changed my downloads directory, not sure if it was there in the first place bc the folder wasnt on the cache drive), but Im pretty sure that its reading the user share on the cache, which is empty, as all of the already existing data is on disk1-5. I want SB to read that data and import the already existing TV shows into its database. Everything in /cache/tv is available in /tv, but nothing in /tv shows up in cache/tv. Or is there another way to do this?
March 9, 201511 yr i'm unsure what you're asking, in normal circumstances having a tv folder in cache and in /mnt/user means you have files that haven't been moved by the mover.
March 9, 201511 yr Author right, the TV folder has been added since ive messed with it today and the mover hasnt run yet. In the past I wasnt using the mover as Sickbeard would move the files after they downloaded. I liked this better than the mover bc incompletes were ignored. So.. what I am trying to do now and having problems with: Plain and simple. I want Sickbeard to scan my TV Share so it can scan all 100 of my previously downloaded shows to its database. So, I need it to access the TV share so it can see what I already have. Cache/TV is empty (as it should be), so while it can move things there, its not the right directory to accomplish whats listed above. i figured it out. needed to link a second time from /TV to mnt/user/TV. I didnt fully understand the link between volume and host path, but i understand it better now
March 10, 201511 yr You never need to link twice in the same docker. If you're trying to point the sickbeard download processing to the TV share then you're doing it wrong and can end up losing data. /downloads - link to a location where uprocessed and unsorted shows are downloaded. tv - link to your processed and sorted TV share. The cache can hold a download directory. The cache can also hold a TV share directory. Those are 2 different things.
March 10, 201511 yr Author You never need to link twice in the same docker. If you're trying to point the sickbeard download processing to the TV share then you're doing it wrong and can end up losing data. /downloads - link to a location where uprocessed and unsorted shows are downloaded. tv - link to your processed and sorted TV share. The cache can hold a download directory. The cache can also hold a TV share directory. Those are 2 different things. I need 3 links to different data sources and all should work well without issue. /downloads - where SAB drops off finished files - SB will grab files from here and rename /cache/TV - Where Sickbeard's mover can drop off renamed files once processed (share on the cache drive) /user/TV - will only be linked as 'existing shows' so SB can monitor what I have downloaded and whats complete The issue i was having is that I didnt understand really how the "Container Volume" works. I thought the name was mostly just for my reference (and now I understand why I had errors in Plex and SAB when I didnt have the "/" before the name). But after looking at it and playing around with it, I get that the Container Volume is the name of the folder that the app will use, BUT it will point to the host path. Makes sense now. Sickbeard, SAB, Plex, Transmission all up and running. Couchpotato was up, but then I restarted it as i forgot to link a directory and starts but I cant get it through the webgui. ah well, ill figure that one out today.
March 10, 201511 yr No, you don't need 3 links. You set the TV share to use the cache and then set Sickbeard up with the TV and download shares. When the file is processed to the TV share, the file will be moved to the cache since the share is set to use the cache. The mover then moves it to the array. If you insist on using /cache/TV and /mnt/user/TV then you should really use /mnt/user0/TV (which is the array data only) so you don't accidentally duplicate anything on the cache and array. I don't know why anyone would bother though when unRAID manages the use of the cache disk itself.
March 11, 201511 yr I was also all confused with all the different Docker apps and various Container Volumes and Host Paths. Setup a common docker Container Volume for all Docker apps. Add a Container Volume of /mnt and Host Path of /mnt/ to every docker app. This enables all my dockers to use the full path and get access to all my shares,cache drive,flash drive or SNAP drive. It makes getting to any specific folders so much easier to work with. eg. to get to my Movies share, a Docker would use the path /mnt/user/Movies. to get to my SAB incomplete downloads, use /mnt/cache/downloads/incomplete. I can't remember who suggested this, many thanks to the member who suggested it in the forums. Hope this advice helps others as much as it helped me.
March 11, 201511 yr I was also all confused with all the different Docker apps and various Container Volumes and Host Paths. Setup a common docker Container Volume for all Docker apps. Add a Container Volume of /mnt and Host Path of /mnt/ to every docker app. This enables all my dockers to use the full path and get access to all my shares,cache drive,flash drive or SNAP drive. It makes getting to any specific folders so much easier to work with. eg. to get to my Movies share, a Docker would use the path /mnt/user/Movies. to get to my SAB incomplete downloads, use /mnt/cache/downloads/incomplete. I can't remember who suggested this, many thanks to the member who suggested it in the forums. Hope this advice helps others as much as it helped me. While that would work, it's not "best practice" for docker. One of the big advantages in Docker is that in the unlikely event of a container going haywire, it would only have access to the host paths that you specify. By using /mnt, the container would have access to your entire array.
March 11, 201511 yr That only works with some basic file access in the Dockers too. I'm running an Apache docker with some of the config file directories mapped to directories on my cache and it has to be exact directory to exact directory to work. In other words, you still need volumes mapped directly for config type stuff.
Archived
This topic is now archived and is closed to further replies.