DigitalDivide Posted October 5, 2019 Share Posted October 5, 2019 Ok I fixed that and it workd for 2 episodes. However, one episode gave me the following error Couldn't import episode /data/Completed/Titans.2018.S02E05.Deathstroke.2160p.DCU.WEB-DL.DD5.1.H265-NTb.mkv: Access to the path "/data/Completed/Titans.2018.S02E05.Deathstroke.2160p.DCU.WEB-DL.DD5.1.H265-NTb.mkv" or "/tv/Titans (2018)/Season 2/Titans.2018.S02E05.Deathstroke.2160p.DCU.WEB-DL.DD5.1.H265-NTb.mkv.partial~" is denied. I find it odd as it was able to copy the other tv show episodes. For ex, The Blacklist. it copied the downloaded file to the appropriate season folder. I then ran a test. I deleted the Season 2 folder. Then reran Sonarr to check for downloaded files. It then was able to create a season 2 folder and copy the file over. Is this because I was doing some cleanup and created the Season 2 folder via my windows laptop? It was either me or Emby which created the season 2 folder. Quote Link to comment
jonfive Posted October 8, 2019 Share Posted October 8, 2019 Automatic import issue: Mappings are correct unless i'm missing something stupid or misunderstanding the data folder. Sabnzbd drops the completed Sonarr downloads into /mnt/user/downloads/complete/complete/sonarr/ Sonarr's data folder is mapped to /mnt/user/downloads/complete/complete/sonarr/ I can manually import successfully directly from the Wanted>Manual Import and use the /data/ folder. From using the manual import button on the activity page, it says 'No video files were found in the selected folder.' Am i missing something terribly stupid? Quote Link to comment
Squid Posted October 8, 2019 Share Posted October 8, 2019 4 hours ago, jonfive said: Sonarr's data folder is mapped to And what is the container path for Sabnzbd? Quote Link to comment
Uroth Posted October 8, 2019 Share Posted October 8, 2019 Hello, Is there way to run 2 instances of Sonarr? I want one instance for my TV-Series and one instance for Anime just to keep them separated. When I try and create a new docker and set different webgui ports and config folders it doesnt work. Seems to default back to the standard port and when I change it then it can't find anything. Quote Link to comment
Squid Posted October 8, 2019 Share Posted October 8, 2019 4 minutes ago, Uroth said: Is there way to run 2 instances of Sonarr? https://forums.unraid.net/topic/57181-real-docker-faq/page/2/#comment-584226 Quote Link to comment
Uroth Posted October 8, 2019 Share Posted October 8, 2019 Seems my search-fu is bad. Thank you. Quote Link to comment
jonfive Posted October 8, 2019 Share Posted October 8, 2019 (edited) 10 hours ago, Squid said: And what is the container path for Sabnzbd? /mnt/user/downloads/complete/complete/ with the sonarr category, making the completed files go into /mnt/user/downloads/complete/complete/sonarr/ Files are indeed there. Wanted page manual import: Activity page manual import: I've had to recover some data with appdata restore, it's worked just fine for about a year since i had to redo everything. Possibly something got mixed up in the config since the restore? If need-be, is there a way where i can wipe out the config and 'start fresh' without losing the show database? or reinstall and preserve the db? Edited October 8, 2019 by jonfive Quote Link to comment
Squid Posted October 8, 2019 Share Posted October 8, 2019 Yes, the host paths are the same between the two. But on the template, what is the container path for each of them? Or post the docker run command for each. https://forums.unraid.net/topic/57181-real-docker-faq/#comment-564345 Quote Link to comment
jonfive Posted October 8, 2019 Share Posted October 8, 2019 50 minutes ago, Squid said: Yes, the host paths are the same between the two. But on the template, what is the container path for each of them? Or post the docker run command for each. https://forums.unraid.net/topic/57181-real-docker-faq/#comment-564345 Thanks for taking the time, i really appreciate it. Sonarr root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-sonarr' --net='bridge' --log-opt max-size='10m' --log-opt max-file='1' --privileged=true -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -p '8989:8989/tcp' -p '9897:9897/tcp' -v '/mnt/user/Downloads/Complete/Complete/Sonarr/':'/data':'rw' -v '/mnt/user/Media/':'/media':'rw' -v '/mnt/user/appdata/binhex-sonarr':'/config':'rw' 'binhex/arch-sonarr' 4a9a4e45951b5c7b0c6b82f1211504c6c86a738a7d2d9a2c13ec4a93c8ea3bdf Sabnzbd root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='binhex-sabnzbd' --net='bridge' --log-opt max-size='10m' --log-opt max-file='1' --privileged=true -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'UMASK'='000' -e 'PUID'='99' -e 'PGID'='100' -p '8080:8080/tcp' -p '8090:8090/tcp' -v '/mnt/user/Downloads/Complete/':'/data':'rw' -v '/mnt/user/appdata/binhex-sabnzbd':'/config':'rw' 'binhex/arch-sabnzbd' eacb2791776f258d3ba207c2176d4f525b0a45db625f9b9f8e029dd8fc9ca1c2 Quote Link to comment
Squid Posted October 8, 2019 Share Posted October 8, 2019 1 minute ago, jonfive said: /mnt/user/Downloads/Complete/Complete/Sonarr/':'/data' 1 minute ago, jonfive said: /mnt/user/Downloads/Complete/':'/data' You host mappings on the /data do not match between the apps Quote Link to comment
jonfive Posted October 8, 2019 Share Posted October 8, 2019 1 minute ago, Squid said: You host mappings on the /data do not match between the apps i have sabnzbd using another 'complete' folder from itself working with categories inside that complete folder - hence the complete/complete/sonarr So just make sonarr match the output path of sabnzbd plus the sonarr category folder? sorry, i'm just a little confused - the files do end up in /complete/complete/sonarr when they're finished downloading. Quote Link to comment
Squid Posted October 8, 2019 Share Posted October 8, 2019 You don't need to worry about categories or anything. Sab will pass through to sonarr the full path including the category. So long as the host path matches between the two. Right now, Sab says that a download is sitting at /data/category/TVShow.mkv This works out to a host path of /mnt/user/Downloads/Complete/category/TVShow.mkv Because the mappings don't match between Sab and Sonarr, sonarr is effectively looking for the file at /mnt/user/Downloads/Complete/Complete/Sonarr/category/TVShow.mkv And the file is obviously not there. 1 Quote Link to comment
jonfive Posted October 9, 2019 Share Posted October 9, 2019 1 minute ago, Squid said: You don't need to worry about categories or anything. Sab will pass through to sonarr the full path including the category. So long as the host path matches between the two. Right now, Sab says that a download is sitting at /data/category/TVShow.mkv This works out to a host path of /mnt/user/Downloads/Complete/category/TVShow.mkv Because the mappings don't match between Sab and Sonarr, sonarr is effectively looking for the file at /mnt/user/Downloads/Complete/Complete/Sonarr/category/TVShow.mkv And the file is obviously not there. ahhh gotcha! That's an excellent explanation I think i was just treating it like a 'watch folder' rather than considering the sab/sonarr communication It works now - i just backed them both down to mnt/user/downloads. Thank you very much! You're a real asset to the community Quote Link to comment
DigitalDivide Posted October 11, 2019 Share Posted October 11, 2019 I'm encountering an odd issue When Sonaar creates a season folder, Emby is not able to write into the folder. Normally when I had Emby handling the autoorganize, it would create the folder, copy the video file to the folder and then create an nfo file and a thumbnail. I stopped Emby from doing the copy of the file, which Sonarr now handles. But after Sonaar copies the file, Emby is unable to create the thumbnails. If I create the season folder first via logging in and using MC, Sonarr will copy the video file and Emby will create the thumbnails. So Sonarr must be creating the folders with some permissions but I'm not sure how to change or fix this. Any idea? Quote Link to comment
Squid Posted October 11, 2019 Share Posted October 11, 2019 3 minutes ago, DigitalDivide said: I'm encountering an odd issue When Sonaar creates a season folder, Emby is not able to write into the folder. Normally when I had Emby handling the autoorganize, it would create the folder, copy the video file to the folder and then create an nfo file and a thumbnail. I stopped Emby from doing the copy of the file, which Sonarr now handles. But after Sonaar copies the file, Emby is unable to create the thumbnails. If I create the season folder first via logging in and using MC, Sonarr will copy the video file and Emby will create the thumbnails. So Sonarr must be creating the folders with some permissions but I'm not sure how to change or fix this. Any idea? Settings - Media Management - Advanced Settings Quote Link to comment
DigitalDivide Posted October 11, 2019 Share Posted October 11, 2019 Ok thanks, will make those changes. I'm guessing that won't change any existing folders once I save that. Is that correct? Quote Link to comment
Squid Posted October 11, 2019 Share Posted October 11, 2019 CorrectSent from my NSA monitored device Quote Link to comment
DigitalDivide Posted October 17, 2019 Share Posted October 17, 2019 Still having a small problem. In the Sonarr forum I was asked if I'm running Sonarr as Nobody. When Sonarr is installed, when it runs what user is it running as? When it copies a file to disk, what user owns the file? I've been looking around but other than putting in Nobody in the Permissions, I don't see anything else. Quote Link to comment
evilfrog Posted November 5, 2019 Share Posted November 5, 2019 (edited) after i updated all my dockers today sonarr wont start anymore any idea my bad not as today the log stop at 19-11-1 21:48:31.9 we lost electricity for about 10 hours then server turn back on but i did not notice sonarr did not started and wen i try to start it it say execution error also found this in the server log Quote Nov 1 22:25:48 Tower rc.docker: sonarr: Error response from daemon: driver failed programming external connectivity on endpoint sonarr (a9b8e6197ad6c58bc560eb9850ae257e714fb6ad7f8404c49fc13e9659b91429): Bind for 0.0.0.0:8989 failed: port is already allocated Nov 1 22:25:48 Tower rc.docker: Error: failed to start containers: sonarr ok i dont know whats the probleme whit port 8989 i just changed it to 8990 the docker start but dosent work wen i try to enter the gui its just a endless loading Edited November 5, 2019 by evilfrog Quote Link to comment
spall Posted November 9, 2019 Share Posted November 9, 2019 On 9/12/2019 at 10:18 PM, lordvaderxiii said: Well I might be , been having a similar issue with Jackett and the only thing in common is the socks5 proxy. Found this https://github.com/Jackett/Jackett/issues/2602 Im not sure if its related. Im deciding if I move over to versions that support a vpn or find a way to route docker traffic through a vpn. Seems like a lot more work than I feel like doing right now though. @lordvaderxiii I think you might have been. I switched over to using privoxy that's passing through Binhex's DelugeVPN docker container since I already had that running. 100% CPU problem has been gone for over a week. Quote Link to comment
dbinott Posted November 29, 2019 Share Posted November 29, 2019 I am hoping someone can help me out here. I don't know what I did. This has been smooth for 9+ months. I went to add path/folder to tv category in sab, now sonnar doesn't pick up the completed show to move. There are no errors. I can do a manual import no problem. I put it back to what it was, and still nothing. I messed with a few paths and can't get anything to work. Here are the run commands. /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='sonarr' --net='dabworx' --cpuset-cpus='0,4' --log-opt max-size='50m' --log-opt max-file='1' -e TZ="America/Toronto" -e HOST_OS="Unraid" -e 'PUID'='99' -e 'PGID'='100' -p '8989:8989/tcp' -v '/dev/rtc':'/dev/rtc':'ro' -v '/mnt/user/TV Shows':'/tv':'rw' -v '/mnt/user/downloads':'/downloads':'rw' -v '/mnt/user/appdata/sonarr':'/config':'rw' 'linuxserver/sonarr' /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='sabnzbd' --net='dabworx' --cpuset-cpus='0,4' --log-opt max-size='50m' --log-opt max-file='1' -e TZ="America/Toronto" -e HOST_OS="Unraid" -e 'PUID'='99' -e 'PGID'='100' -p '8080:8080/tcp' -v '/mnt/user/downloads':'/downloads':'rw' -v '/mnt/user/downloads/incomplete':'/incomplete-downloads':'rw' -v '/mnt/user/appdata/sabnzbd':'/config':'rw' 'linuxserver/sabnzbd' Quote Link to comment
Squid Posted November 29, 2019 Share Posted November 29, 2019 May just be that the filenames are obfuscated and sonarr can't figure it out. Happens on occasion. Quote Link to comment
dbinott Posted November 29, 2019 Share Posted November 29, 2019 5 minutes ago, Squid said: May just be that the filenames are obfuscated and sonarr can't figure it out. Happens on occasion. Nah, this is everything. Doesn't matter what. and when I do manual, all the correct options for season and episode are selected. Quote Link to comment
dbinott Posted November 29, 2019 Share Posted November 29, 2019 if this helps... 19-11-29 17:28:06.9|Debug|Sabnzbd|Downloaded nzb for episode 'Lucifer.S03E11.City.of.Angels.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb-4P' finished (449029 bytes from https://api.nzbplanet.net/getnzb/30349e70b4b7afb6f347fb0aa5ac5c36.nzb&i=213375&r=8741ed91510d06ce762b29dd1dc8b6fa) 19-11-29 17:28:06.9|Info|Sabnzbd|Adding report [Lucifer.S03E11.City.of.Angels.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb-4P] to the queue. 19-11-29 17:28:06.9|Debug|SabnzbdProxy|Url: http://192.168.2.35:8080/api?mode=addfile&cat=tv&priority=0&apikey=(removed)&output=json 19-11-29 17:28:07.2|Info|DownloadService|Report sent to Sabnzbd. Lucifer.S03E11.City.of.Angels.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb-4P 19-11-29 17:28:07.2|Debug|Api|[POST] /api/release: 200.OK (1173 ms) 19-11-29 17:28:11.7|Debug|Api|[GET] /api/wanted/missing?page=1&pageSize=15&sortKey=airDateUtc&sortDir=desc&apikey=(removed) 200.OK (16 ms) 19-11-29 17:28:12.3|Debug|SabnzbdProxy|Url: http://192.168.2.35:8080/api?mode=queue&start=0&limit=0&apikey=(removed)&output=json 19-11-29 17:28:12.3|Debug|SabnzbdProxy|Url: http://192.168.2.35:8080/api?mode=history&start=0&limit=30&category=tv&apikey=(removed)&output=json 19-11-29 17:28:12.3|Debug|Parser|Parsing string 'Lucifer S03E11 City of Angels 1080p AMZN WEB-DL DDP5 1 H 264-NTb-4P' 19-11-29 17:28:12.3|Debug|Parser|Episode Parsed. Lucifer - S03E11 19-11-29 17:28:12.3|Debug|Parser|Language parsed: English 19-11-29 17:28:12.3|Debug|QualityParser|Trying to parse quality for Lucifer S03E11 City of Angels 1080p AMZN WEB-DL DDP5 1 H 264-NTb-4P 19-11-29 17:28:12.3|Debug|Parser|Quality parsed: WEBDL-1080p v1 19-11-29 17:28:12.3|Debug|Parser|Release Group parsed: 4P 19-11-29 17:28:12.3|Debug|TrackedDownloadService|Tracking 'Sabnzbd:Lucifer S03E11 City of Angels 1080p AMZN WEB-DL DDP5 1 H 264-NTb-4P': ClientState=Downloading SonarrStage=Downloading Episode='Lucifer - S03E11 WEBDL-1080p v1' OutputPath=. 19-11-29 17:28:12.4|Debug|Api|[GET] /api/queue?sort_by=timeleft&order=asc: 200.OK (3 ms) 19-11-29 17:29:24.9|Debug|SabnzbdProxy|Url: http://192.168.2.35:8080/api?mode=queue&start=0&limit=0&apikey=(removed)&output=json 19-11-29 17:29:24.9|Debug|SabnzbdProxy|Url: http://192.168.2.35:8080/api?mode=history&start=0&limit=30&category=tv&apikey=(removed)&output=json 19-11-29 17:29:25.0|Debug|Api|[GET] /api/queue?sort_by=timeleft&order=asc: 200.OK (1 ms) 19-11-29 17:30:25.1|Debug|SabnzbdProxy|Url: http://192.168.2.35:8080/api?mode=queue&start=0&limit=0&apikey=(removed)&output=json 19-11-29 17:30:25.1|Debug|SabnzbdProxy|Url: http://192.168.2.35:8080/api?mode=history&start=0&limit=30&category=tv&apikey=(removed)&output=json 19-11-29 17:30:25.2|Debug|Api|[GET] /api/queue?sort_by=timeleft&order=asc: 200.OK (1 ms) 19-11-29 17:30:57.7|Debug|Api|[GET] /api/health: 200.OK (1 ms) 19-11-29 17:30:57.7|Debug|Api|[GET] /api/health: 200.OK (0 ms) 19-11-29 17:30:57.7|Debug|Api|[GET] /api/diskspace: 200.OK (81 ms) 19-11-29 17:30:57.9|Debug|Api|[GET] /api/diskspace: 200.OK (73 ms) 19-11-29 17:30:59.2|Debug|Api|[GET] /api/log?page=1&pageSize=50&sortKey=time&sortDir=desc: 200.OK (4 ms) 19-11-29 17:30:59.3|Debug|Api|[GET] /api/log?page=1&pageSize=50&sortKey=time&sortDir=desc: 200.OK (2 ms) 19-11-29 17:31:00.9|Debug|Api|[GET] /api/log/file: 200.OK (1 ms) 19-11-29 17:31:01.0|Debug|Api|[GET] /api/log/file/sonarr.debug.txt: 200.OK (1 ms) Quote Link to comment
Gronsak Posted December 7, 2019 Share Posted December 7, 2019 So I've been using this Docker for about two weeks now and I'm running into the problem of extreme CPU usage during multiple episode files import, happens with both manual import or automatic. It basically blocks the CPU from doing anything else while copying the files stopping me from doing anything else with the server. Anyone had similar problems and know how to fix it? (working on getting proper logs for everything but so far I don't really see anything strange in the Sonarr logs, but I'm not an expert, trying to get some data on what's happening on the CPU side) 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.