[Support] Linuxserver.io - Sonarr


Recommended Posts

Hey all,

I just started using Unraid and let me say im so happy i found this software. But Im having an issue. Right now im running both rutorrnt and Deluge. For some reason Sonarr wont connect to Rutorrent. Can someone help me out with the configuration? Both are running in dockers. Here are the ports for rutorrent.

51413/tcp  192.168.1.90:51413

6881/udp  192.168.1.90:6881

80/tcp  192.168.1.90:81

 

See my sig for how to post more info.

 

Rutorrent Info:

RunCommand

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="rutorrent" --net="bridge" -e TZ="America/New_York" -e HOST_OS="unRAID" -e "PUID"="1000" -e "PGID"="100" -p 81:80/tcp -p 51413:51413/tcp -p 6881:6881/udp -v "/mnt/user/downloads/rutorrent/":"/downloads":rw -v "/mnt/user/appdata/rutorrent":"/config":rw linuxserver/rutorrent
ea63766b08d5ad3724cf42967c945b2f294d37d7225a6d6fdf3eb6810c1cee2c

 

Sonarr Info:

Run Command

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="Sonarr" --net="bridge" -e TZ="America/New_York" -e HOST_OS="unRAID" -e "PUID"="1000" -e "PGID"="100" -p 8989:8989/tcp -p 9897:9897/tcp -v "/mnt/cache/appdata/sonar/data":"/data":rw -v "/mnt/user/Media/TVShows/":"/media":rw -v "/mnt/user/downloads/deluge/":"/downloads":rw -v "/mnt/user/appdata/binhex-sonarr":"/config":rw binhex/arch-sonarr

 

Log

2017-01-11 12:45:55.829032 [info] Starting Supervisor...
2017-01-11 12:45:56,862 CRIT Set uid to user 0
2017-01-11 12:45:56,862 INFO Included extra file "/etc/supervisor/conf.d/sonarr.conf" during parsing
2017-01-11 12:45:56,866 INFO supervisord started with pid 12
2017-01-11 12:45:57,869 INFO spawned: 'sonarr' with pid 46
2017-01-11 12:45:58,871 INFO success: sonarr entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

 

Settings used in Sonarr for Rtorrent

host:Localhost

Port:81

URL Path RPC2

SSL:Off

username and password blank as i didnt set one up. Everything else default.

Link to comment

Add rutorrent, host whatever the ip of your unraid server is port 81 .  Leave everything else as default.

 

I don't use rutorrent but worked when I just tested.

 

Also make sure /downloads is the SAME in sonarr, rutorrent and everything else.  Docker FAQ has an explanation in the last post I made there.

 

You can't use localhost with docker containers generally, as the docker gets it's own internal "docker" ip, so localhost isn't the host ip.

Link to comment

So i got sonarr setup with transmission and it adds the files fine but it seems like when torrent is finished it deletes the file. Is this a bug? I want to let the files seed.

 

Settings:

Completed Download Handling:Enable:True Remove: No

Importing:Use Hardlinks Instead of copy:No

 

I cant seem to find any other settings that would matter for this. is it because i have Drone Factory enabled?

Link to comment

Hey y'all.

 

I don't know if this is an issue with Sonarr, Deluge, or PEBKAC...

 

When I test Sonarr's connection with Deluge it connects succesfully, but when I try to add a DL manually in Sonarr (a full season) I get a little red cloud image and the logs say "Request Failed: Unable to connect to Deluge, please check your settings"

 

I've tried shutting down and restearting both Sonarr and Deluge, but it still doesn't work...

 

I've included the text that came with the error message in the log:

NzbDrone.Core.Download.Clients.DownloadClientException: Unable to connect to Deluge, please check your settings ---> System.Net.WebException: Error getting response stream (ReadDone2): ReceiveFailure ---> System.Exception:   at System.Net.WebConnection.HandleError (WebExceptionStatus st, System.Exception e, System.String where) [0x00000] in <filename unknown>:0 
  at System.Net.WebConnection.ReadDone (IAsyncResult result) [0x00000] in <filename unknown>:0 
  at System.Net.Sockets.SocketAsyncResult.<ExecuteWorkItem>m__1 (System.Object state) [0x00000] in <filename unknown>:0 
  at System.Runtime.Remoting.Messaging.AsyncResult.Invoke (System.Runtime.Remoting.Messaging.AsyncResult ) [0x00000] in <filename unknown>:0 
  at System.Runtime.Remoting.Messaging.AsyncResult.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00000] in <filename unknown>:0 
  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <filename unknown>:0 
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <filename unknown>:0 
  at System.Net.WebConnection.HandleError (WebExceptionStatus st, System.Exception e, System.String where) <0x4095ca50 + 0x00183> in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x40650930 + 0x001ab> in <filename unknown>:0 
  at System.Net.HttpWebRequest.GetResponse () <0x4064dba0 + 0x0005a> in <filename unknown>:0 
  at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponse (NzbDrone.Common.Http.HttpRequest request, System.Net.CookieContainer cookies) [0x000fe] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Http\Dispatchers\ManagedHttpDispatcher.cs:61 
  --- End of inner exception stack trace ---
  at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ExecuteRequest[TResult] (NzbDrone.Common.Http.JsonRpcRequestBuilder requestBuilder, System.String method, System.Object[] arguments) [0x0006f] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Deluge\DelugeProxy.cs:234 
  at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.ProcessRequest[TResult] (NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings, System.String method, System.Object[] arguments) [0x00008] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Deluge\DelugeProxy.cs:180 
  at NzbDrone.Core.Download.Clients.Deluge.DelugeProxy.SetLabel (System.String hash, System.String label, NzbDrone.Core.Download.Clients.Deluge.DelugeSettings settings) [0x00000] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Deluge\DelugeProxy.cs:158 
  at NzbDrone.Core.Download.Clients.Deluge.Deluge.AddFromTorrentFile (NzbDrone.Core.Parser.Model.RemoteEpisode remoteEpisode, System.String hash, System.String filename, System.Byte[] fileContent) [0x00027] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\Clients\Deluge\Deluge.cs:62 
  at NzbDrone.Core.Download.TorrentClientBase`1[TSettings].DownloadFromWebUrl (NzbDrone.Core.Parser.Model.RemoteEpisode remoteEpisode, System.String torrentUrl) [0x001aa] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\TorrentClientBase.cs:181 
  at NzbDrone.Core.Download.TorrentClientBase`1[TSettings].Download (NzbDrone.Core.Parser.Model.RemoteEpisode remoteEpisode) [0x00148] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\TorrentClientBase.cs:117 
  at NzbDrone.Core.Download.DownloadService.DownloadReport (NzbDrone.Core.Parser.Model.RemoteEpisode remoteEpisode) [0x00171] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Download\DownloadService.cs:66 
  at NzbDrone.Api.Indexers.ReleaseModule.DownloadRelease (NzbDrone.Api.Indexers.ReleaseResource release) [0x0002c] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Api\Indexers\ReleaseModule.cs:67 
  at NzbDrone.Api.Indexers.ReleaseModule.<.ctor>b__7_0 (System.Object x) [0x00000] in M:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Api\Indexers\ReleaseModule.cs:46 
  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Func`2<object, object>,object)
  at Nancy.Routing.Route+<>c__DisplayClass4.<Wrap>b__3 (System.Object parameters, CancellationToken context) <0x408d0630 + 0x0014f> in <filename unknown>:0 

 

Thanks for any help.

 

Still having an issue, and still don't know whether the issue is Sonarr or Deluge (not PEBKAC, I double checked).

 

If I let it sit for awhile I can manually select one torrent in Sonarr and it is transmited to Deluge, but after that it locks up... I'll hit up the Sonarr reddit and see if anyone has an idea.

Link to comment

So i got sonarr setup with transmission and it adds the files fine but it seems like when torrent is finished it deletes the file. Is this a bug? I want to let the files seed.

 

Settings:

Completed Download Handling:Enable:True Remove: No

Importing:Use Hardlinks Instead of copy:No

 

I cant seem to find any other settings that would matter for this. is it because i have Drone Factory enabled?

 

To my limited knowledge Sonarr respects the seeding settings of the program. My guess is that it considers it "seeded" and removes it, have you watched the logs at it does this?

If you are using a downloader, you don't need to use Drone Factory.

Link to comment

I pulled this from the container logs:

 

Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries

used by your application.

 

Could it be causing the issue?

 

Could be, impossible to say really.

Link to comment

BLAH!!!

It's either Sonarr or the docker container (I'm guessing Sonarr, and I'll have to wait for an update)

 

Radarr is working fine, but Sonarr keeps dropping it's connection to Deluge.

 

I completely deleted Sonarr and reinstalled it, same issue.

 

I'll wait and see, but it seems I'm the only one with this issue...

Link to comment

I know this is purely an internal Sonarr issue, not related to unRAID or its docker. I simply hope someone has a quick answer.

 

For some reason, Sonarr is re-downloading older episodes that already exist on the drive. What is causing this? How do I prevent it?

 

Thanks,

 

H.

 

 

Sent from my iPad using Tapatalk

Link to comment

Thank you Squid. I went into Settings > Profiles... and I selected the HD-720p (which is my default preference). I put these in order: WEBDL-720p, HDTV-720p, Blueray-720p. All others unchecked.

 

I also set the "Cutoff" to be WEBDL-720p... which I guess is the first thing to be released and good enough quality for me. Lets see what happens.

 

Thanks again,

 

H.

Link to comment

Does Hardlinking work with Sonarr and Unraid? I run rtorrent from my appdata share. IIRC, Hardlinks do not work across volumes...so there is no way that it will hardlink from /mnt/appdata/seeding to /mnt/user/TV ?

 

 

Unfortunately, Sonarr does not symlink. I would like to give this a try over Sickrage, but I cannot make the switch if I am forced to copy files and take up so much space on my appdata share.

Link to comment

Does Hardlinking work with Sonarr and Unraid? I run rtorrent from my appdata share. IIRC, Hardlinks do not work across volumes...so there is no way that it will hardlink from /mnt/appdata/seeding to /mnt/user/TV ?

 

Yes it does work but as far as I can see Docker needs access to all the folder but in a higher level version. So for example /mnt/user - /mnt/user

 

Link to comment

Does Hardlinking work with Sonarr and Unraid? I run rtorrent from my appdata share. IIRC, Hardlinks do not work across volumes...so there is no way that it will hardlink from /mnt/appdata/seeding to /mnt/user/TV ?

 

Yes it does work but as far as I can see Docker needs access to all the folder but in a higher level version. So for example /mnt/user - /mnt/user

I would think you would actually have to go to a lower level.  Different top level folders within /mnt/user winds up being effectively different volumes. 

 

You would have to set everything up to access /mnt/cache instead.

Link to comment

Does Hardlinking work with Sonarr and Unraid? I run rtorrent from my appdata share. IIRC, Hardlinks do not work across volumes...so there is no way that it will hardlink from /mnt/appdata/seeding to /mnt/user/TV ?

 

Yes it does work but as far as I can see Docker needs access to all the folder but in a higher level version. So for example /mnt/user - /mnt/user

I would think you would actually have to go to a lower level.  Different top level folders within /mnt/user winds up being effectively different volumes. 

 

You would have to set everything up to access /mnt/cache instead.

 

I understand what you mean, I know this works.

 

/mnt/user/media/transmission

/mnt/user/media/tv

 

Link to comment

Question - can i have 2 dockers of sonarr running simultaneously and have 1 docker container of sabnzbd communicating with both to do the downloading?

 

The reason is - i would like to have all my foreign tv shows permitted to download from foreign language newsgroups on one Container and on the other the english only.  As far as i know docker doesn't allow to classify specific shows to look for foreign and the remainder to be english. 

 

Thanks in advance.

Link to comment

Question - can i have 2 dockers of sonarr running simultaneously and have 1 docker container of sabnzbd communicating with both to do the downloading?

 

The reason is - i would like to have all my foreign tv shows permitted to download from foreign language newsgroups on one Container and on the other the english only.  As far as i know docker doesn't allow to classify specific shows to look for foreign and the remainder to be english. 

 

Thanks in advance.

Set sonarr up with different host ports and different appdata, (and a different name)...
Link to comment

Hi All,

 

First off - thanks for this docker to sparklyballs and anyone else who was part of creating this.

 

I use SAB as the downloader and the episodes are downloaded correctly - but post processing does not happen. It was working well until recently when I was using a plugin (phaze's) but I switched to this docker and it isn't working anymore.

 

The drives are mapped correctly and the Downloads directory ios mapped to the SAB/Completed/TV folder. However the episodes in there are not being moved. The log shows this error:

 

Import failed, path does not exist or is not accessible by Sonarr: /mnt/cache/appdata/sabnzbd/config/Downloads/Complete/TV/The.Man.in.the.High.Castle.S02E01.720p.WEBRip.X264-DEFLATE
for all the episodes in the Complete/TV folder. Not sure why it is inaccessible. All help is welcome.

I left the PUID and GUID as the same - but that does not seem to have solved the problem. I don't understand the ID's very well - could you please help? I only have one user on the server (root).

 

Thanks.

 

Version

2.0.0.4472

Mono Version

4.2.3 (Stable 4.2.3.4/832de4b Wed Mar 16 13:19:08 UTC 2016)

AppData directory

/config

Startup directory

/opt/NzbDrone

Link to comment

Hi All,

 

First off - thanks for this docker to sparklyballs and anyone else who was part of creating this.

 

I use SAB as the downloader and the episodes are downloaded correctly - but post processing does not happen. It was working well until recently when I was using a plugin (phaze's) but I switched to this docker and it isn't working anymore.

 

The drives are mapped correctly and the Downloads directory ios mapped to the SAB/Completed/TV folder. However the episodes in there are not being moved. The log shows this error:

 

Import failed, path does not exist or is not accessible by Sonarr: /mnt/cache/appdata/sabnzbd/config/Downloads/Complete/TV/The.Man.in.the.High.Castle.S02E01.720p.WEBRip.X264-DEFLATE
for all the episodes in the Complete/TV folder. Not sure why it is inaccessible. All help is welcome.

I left the PUID and GUID as the same - but that does not seem to have solved the problem. I don't understand the ID's very well - could you please help? I only have one user on the server (root).

 

Thanks.

 

Version

2.0.0.4472

Mono Version

4.2.3 (Stable 4.2.3.4/832de4b Wed Mar 16 13:19:08 UTC 2016)

AppData directory

/config

Startup directory

/opt/NzbDrone

 

Looks like either your mappings or Sonarr folder settings is wrong.  Please post the docker run command and sonarr folder settings.

Link to comment

Looks like either your mappings or Sonarr folder settings is wrong.  Please post the docker run command and sonarr folder settings.

 

Hope this is what you were asking to see - sorry if I misunderstood.

Docker Settings:

n222e0.jpg

 

Sonarr Folder Settings:

5bxtap.jpg

 

Completed download handling is set to 'Yes' as well in SONARR.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.