[HOW TO] Install and configure sonarr, radarr, and sabnzbd (11.1-U5)

Daniyal

Dabbler
Joined
Mar 4, 2019
Messages
18
Thank you for this guide.. it was extremely helpful in setting up and resolving issues I was having with Sonarr. After finally getting it up and running, it recognizes the folders in which my shows are located and prompts qBittorrent to download new episodes. The issue I am now having it qBittorrent downloads everything to its native folder '/root/downloads/tv-sonarr'; while sonarr shows the episodes as downloaded, they will not show up in plex nor are they imported and relocated by sonarr. Wondering if I need to setup mount points or add permissions so sonarr can move downloaded files to their respective folders. Attaching some screenshots of the media management window.. thank you!
 

Attachments

  • 1.png
    1.png
    104.1 KB · Views: 2,366
  • 2.png
    2.png
    92.1 KB · Views: 2,011
  • 3.png
    3.png
    89.4 KB · Views: 1,946

Nitro626

Dabbler
Joined
Mar 4, 2019
Messages
29
Hi,

I can not get this to work either getting this:-

Starting sonarr.
login class 'daemon' non-existent, using default
su: pam_start: system error
/usr/local/etc/rc.d/sonarr: WARNING: failed to start sonarr

Also i had Plex and Transmission installed with separate jails, they have stop running also !
 
Last edited:

milnet

Cadet
Joined
Apr 1, 2019
Messages
1
Thanks for the guide. Followed it and it all worked fine. I have my series on separate drives and are shared via SMB and can be picked up by my Windows machines on my network. How do I link those SMB shares to the jail so that I can point to them from within SONARR?

Thanks again.
 
Joined
Oct 19, 2016
Messages
5
Hi

I have the exact same issue as Nitro626:

Starting sonarr.
login class 'daemon' non-existent, using default
su: pam_start: system error
/usr/local/etc/rc.d/sonarr: WARNING: failed to start sonarr

This goes for radarr also.

Is it a permission issue? I have not changed anything from the guide.

Thank you in advance :)
 
Last edited:

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
I've tried this approach and a different approach to adding sonarr. Both have failed. I can't seem to get the web GUI's to load.

I'm running 11.2.

I had to create the user first, then the group in order to make the same ID. Then, of course, I added the user to the group.

I was able to create the directories under the jail, but now looking via Filezilla, they are no longer there. Not sure why they disappeared.

I didn't get any errors along the way.

Mount points:
Code:
/mnt/SuperPool/SuperMedia
/mnt/SuperPool/iocage/jails/media/root/mnt/media


Storage setup:
Code:
Pool>SuperMedia (newmedia:newmedia)
Pool>iocage>jails>media
 
Last edited:

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Ok, think I've discovered my issue. Since I'm on 11.2U7, the paths are a bit different.

For example, I was using pw useradd -n newmedia -u 1003 -d /nonexistent -s /usr/sbin/nologin, when it's actually /usr/bin.
 

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
Fun while it lasted. Sab giving me this error now. Perhaps due to the fact I failed to mkdir .../incomplete? I did it after I loaded the gui.

Code:
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.

raceback (most recent call last):
  File "/usr/local/share/sabnzbdplus/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/usr/local/share/sabnzbdplus/cherrypy/lib/encoding.py", line 220, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/local/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 60, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/local/lib/python2.7/site-packages/sabnzbd/interface.py", line 468, in tapi
    return api_handler(kwargs)
  File "/usr/local/lib/python2.7/site-packages/sabnzbd/api.py", line 109, in api_handler
    response = _api_table.get(mode, (_api_undefined, 2))[0](name, output, kwargs)
  File "/usr/local/lib/python2.7/site-packages/sabnzbd/api.py", line 475, in _api_fullstatus
    status = build_status(skip_dashboard=kwargs.get('skip_dashboard', 1), output=output)
  File "/usr/local/lib/python2.7/site-packages/sabnzbd/api.py", line 1195, in build_status
    info['folders'] = [xml_name(item) for item in NzbQueue.do.scan_jobs(all=False, action=False)]
  File "/usr/local/lib/python2.7/site-packages/sabnzbd/decorators.py", line 48, in call_func
    return func(*params, **kparams)
  File "/usr/local/lib/python2.7/site-packages/sabnzbd/nzbqueue.py", line 172, in scan_jobs
    for folder in globber_full(cfg.download_dir.get_path()):
  File "/usr/local/lib/python2.7/site-packages/sabnzbd/misc.py", line 141, in globber_full
    return [os.path.join(path, f) for f in os.listdir(path) if safe_fnmatch(f, pattern)]
OSError: [Errno 13] Permission denied: '/mnt/media/downloads/sabnzbd/incomplete' 


Edit: Think I fixed it by changing permissions on that folder.
 
Last edited:

thepixelgeek

Patron
Joined
Jan 21, 2016
Messages
271
The more I read, the better it seems to split out jails anyway. I may just start over, again.
 

alamoudi.moh

Dabbler
Joined
May 9, 2020
Messages
12
thanks for the guide, questions:

1. is this still the guide for 11.3
2. how do i do the source and destination for PLEX, meaning does this impact the setting i have done for PLEX source and destination?
 
Joined
Jul 10, 2018
Messages
25
thanks for the guide, questions:

1. is this still the guide for 11.3
2. how do i do the source and destination for PLEX, meaning does this impact the setting i have done for PLEX source and destination?
This guide still works for 11.3. The only difference is to enter the jails the command is no longer "jexec #" but "iocage console". I have been meaning to update it, but just haven't gotten around to it yet.

This shouldn't impact any of the settings you have in PLEX. These programs do work with each other, but are relatively self-contained. Just your existing source location in the new programs and you should be good to go.
 

alamoudi.moh

Dabbler
Joined
May 9, 2020
Messages
12
This guide still works for 11.3. The only difference is to enter the jails the command is no longer "jexec #" but "iocage console". I have been meaning to update it, but just haven't gotten around to it yet.

This shouldn't impact any of the settings you have in PLEX. These programs do work with each other, but are relatively self-contained. Just your existing source location in the new programs and you should be good to go.
thanks for that, it would be highly appreciated in youe can update it, i am new to FreeNAS :|
 
Joined
Jul 10, 2018
Messages
25
I have updated the guide for 11.3 and it can be found here. The link is at the top of the thread as well. I will be posting a video for it soon.
 
Top