Sonarr version (exact version): 3.0.6.1265 OS: Ubuntu Description of issue: Trying to figure out the appropriate mapping because Sonarr is not importing
I realize there have been some similar issues, but using those answers I’ve not managed to solve for my problem.
Currently, Sonarr does not import files once completed and seeded in Transmission. I have a Ubuntu server running multiple Docker containers (Sonarr, Prowlarr, Transmission-OpenVPN etc.). But I am brand new to this world! I figure it has something to do with Sonarr and Transmission running in two separate containers and needing paths mapped appropriately—here are my docker-compose.yml snippets
I appreciate the link, but I’ve reviewed this. My Sonarr set up is correct—what I’m looking for, as mentioned in original post, is help to map the paths between Transmission and Sonarr containers.
you may have reviewed that guide, but you appear to have skimmed it and did not take any actions based on it. Your sonarr setup and transmission setups are incorrect and suboptimal as well. even if you fix those as is or add a remote path map you will kill your harddrives early with everything being a copy delete and use double space for every single torrent.
that is the solution to your issue. Having consistent and well-planned paths.
Shit to fix in general (needless to say, stop all containers first, make a backup, I’m not responsible, blah blah):
make a /home/acd37/docker path
make a subfolder underneath for each of the containers, see below
move the config files of each container to their respective subfolder
make a /home/acd37/media/tvseries folder
move your sorted series folders to this folder (for the record, currently found in /home/acd37/media/sonarr/tvseries)
make a /home/acd37/media/torrents folder
Thing to pay attention to: we’re giving the entire /media path to sonarr as a mount! NOT individual subfolders!
Shit to fix in sonarr once it’s started:
add /media/tvseries as a root path (in settings)
use the Mass Editor to update all your series to use the /media/tvseries root path
delete the old root path once done
I have no experience with this one. I changed it to a more sane approach of splitting config and data (torrents). However you have to configure it in the application, tell it to use the new /media/torrents path to download files to.
Just a small update here to keep all docker config files nicely contained in the /home/acd37/docker folder (see general steps above). Nothing to be done in the application to the best of my knowledge.
General cleanup: get rid of unused paths.
That should do it unless I missed something, you can now laugh and cry and join me in mocking linuxservers’ fucking retarded suggested paths which keep wrecking people’s understanding of docker mounts, which I really really really wish they would update in their documentation after all these years.
LSIO did indicate their paths are optional but that requires users to not follow the many not great videos and guides that exist and/or actually read instructions
Thanks @Thirrian I have implemented your changes (and I think these have given me a clearer idea of exactly what these volume paths should be and why… though god it would be good to sit down with someone at a meetup and try and understand this better).
@Thirrian download completed, but is still sitting in the queue. Seeding is complete. I’m not sure what to provide you to start debugging this. But here is what I’m seeing:
Alright! Debug logs it is. I just re-downloaded after changing the Transmission path, and can confirm the files successfully downloaded and landed in /media/torrents. They then appeared to fail on imports.
From what I can tell with my limited knowledge from the logs, it’s something to do with a write permissions issue?
Deviation from the problem at hand first… a slight misconfiguration, which is my fault in hindsight. Amended my earlier post in case someone stumbles upon it:
Debug|EpisodeFileMovingService|Moving episode file: /media/torrents/Breaking.Bad.SEASON.01.S01.COMPLETE.1080p.10bit.BluRay.6CH.x265.HEVC-PSA/Breaking.Bad.S01E07.A.No-Rough-Stuff-Type.Deal.1080p.10bit.BluRay.6CH.x265.HEVC-PSA.mkv to /media/Breaking Bad/Season 1/Breaking.Bad.S01E07.A.No-Rough-Stuff-Type.Deal.1080p.10bit.BluRay.6CH.x265.HEVC-PSA.mkv
You set /media as the root path in sonarr, which I incorrectly told you to. You should really set it to /media/tvseries, so this episode ends up in /media/tvservies/Breaking Bad.
Sorry, some more moving of files, deleting root path in Sonarr, adding root path, using Mass Editor…
Actual issue (not moving files) is permissions: System.UnauthorizedAccessException: Access to the path is denied.
Sonarr doesn’t have access to either source or destination. At a minimum, sonarr needs access to /media/torrents and /media/tvseries (see above to correct this path). If being lazy/less secure, access to the entire /media mount.
I take it back. Once I did the move, the imported successfully, it went green, the Season 1 said 7/7, and then they all disappeared and it went to 0/7 and red again
So I just cleared everything out… and re-downloaded Season 01 of Breaking Bad (just what I’ve been using for testing)… it downloaded fine… and then just disappeared.