Resource icon

FN11.3 iocage jails - Plex, Tautulli, Sonarr, Radarr, Lidarr, Jackett, Transmission, Organizr

xvzacrw

Dabbler
Joined
Jan 3, 2018
Messages
11
I followed this guide for nzbget, I also tried a lot of other things.

No matter what I do, 2 seconds after adding an NZB the service crashes. I've made sure permissions are all correct. I have tried to manually make the tmp folder, but that didn't help.

Any ideas?
 

afmiller

Contributor
Joined
Dec 11, 2013
Messages
106
This Resource is now available in the Resources section - use the tabs to navigate to it.

Please discuss it in this thread.


Tried following your plexpass tutorial, but running into issues with it.

I follow these steps but get the error below. I am unable to outside ips inside the jail and unable to ping to the .150 from other PCs

echo '{"pkgs":["plexmediaserver-plexpass","ca_root_nss"]}' > /tmp/pkg.json
iocage create -n "plex" -p /tmp/pkg.json -r 11.1-RELEASE ip4_addr="vnet0|<192.168.1.150/24" defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1" boot="on"

Error

root@freenas:~ # iocage create -n "plex" -p /tmp/pkg.json -r 11.1-RELEASE ip4_addr="vnet0|192.168.1.150/24" defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1" boot="on"
plex successfully created!
Testing SRV response to FreeBSD
Error: error sending query: Error creating socket

Command run: drill _http._tcp.pkg.freebsd.org SRV
root@freenas:~ #



Thanks for the Help
 

mrMuppet

Contributor
Joined
Mar 14, 2014
Messages
192
Tried following your plexpass tutorial, but running into issues with it.

I follow these steps but get the error below. I am unable to outside ips inside the jail and unable to ping to the .150 from other PCs

echo '{"pkgs":["plexmediaserver-plexpass","ca_root_nss"]}' > /tmp/pkg.json
iocage create -n "plex" -p /tmp/pkg.json -r 11.1-RELEASE ip4_addr="vnet0|<192.168.1.150/24" defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1" boot="on"

Error

root@freenas:~ # iocage create -n "plex" -p /tmp/pkg.json -r 11.1-RELEASE ip4_addr="vnet0|192.168.1.150/24" defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1" boot="on"
plex successfully created!
Testing SRV response to FreeBSD
Error: error sending query: Error creating socket

Command run: drill _http._tcp.pkg.freebsd.org SRV
root@freenas:~ #



Thanks for the Help
Did you try these tunables: https://forums.freenas.org/index.php?threads/iocage-vnet0-and-bridge0.59964/

?

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
 

afmiller

Contributor
Joined
Dec 11, 2013
Messages
106
Did you try these tunables: https://forums.freenas.org/index.php?threads/iocage-vnet0-and-bridge0.59964/

?

Gesendet von meinem ONEPLUS A3003 mit Tapatalk


Assuming I add the below tunables into the jail rc.conf? Still really new to the iocage jails. My interface in FreeNAS is igb0

Variable : cloned_interfaces ; Value : bridge0
Variable : ifconfig_bridge0 ; Value : addm igb0 up

- I see at post #8, you set them up in the web GUI under the old interface, not in the rc.conf
 
Last edited:

mrMuppet

Contributor
Joined
Mar 14, 2014
Messages
192
Assuming I add the below tunables into the jail rc.conf? Still really new to the iocage jails. My interface in FreeNAS is igb0

Variable : cloned_interfaces ; Value : bridge0
Variable : ifconfig_bridge0 ; Value : addm igb0 up

- I see at post #8, you set them up in the web GUI under the old interface, not in the rc.conf
Yes. Do it in the old gui. Then I created the vnet jail as in the tutorials and they work!

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
 

jmcguire525

Explorer
Joined
Oct 10, 2017
Messages
94
Ok here is my confusion about permissions and I think why I am having issues:

on a directory on the main freenas directory which has an owner and a certain set of permissions... I use fstab to add the directory to one of my iocage jails
I then chown within the jail to a new owner and set of permission levels- does this alter ownership and permissions outside of the jail? - on the main freenas system and in other jails where I previously did a similar fstab and chown?

My new iocage sabnzbd jail is installed and is running great but the instructions state to chown the download directory, but then that breaks my sonarr access to that file and folder

Did you ever get things figured out? I'm trying to use option #2 from the permissions guide but haven't had any luck so far.

If anyone has some iocage permissions for dummies advice I'm all ears. I created my own user:group for my "media" dataset.
 

mrMuppet

Contributor
Joined
Mar 14, 2014
Messages
192
Did you ever get things figured out? I'm trying to use option #2 from the permissions guide but haven't had any luck so far.

If anyone has some iocage permissions for dummies advice I'm all ears. I created my own user:group for my "media" dataset.

You have to tell the jail which user to use by the command
iocage exec couchpotato sysrc couchpotato_user="media"
or something similar. You can find out what to use by looking into the couchpotato -file under /usr/local/etc/rc.d
 

jmcguire525

Explorer
Joined
Oct 10, 2017
Messages
94
You have to tell the jail which user to use by the command
iocage exec couchpotato sysrc couchpotato_user="media"
or something similar. You can find out what to use by looking into the couchpotato -file under /usr/local/etc/rc.d

Thanks but I'm still lost... I read through the freenas documentation and created a "sonarr" user in the webui with 351 uid and added that user to my "admin" group, then proceeded with your instructions without any luck.

Obviously there is more than one way to make this work and I'm probably missing something simple but idk what it is.

I've followed the guide, only making changes to match my dataset names. I'm using Sonarr to test permissions since I can easly test if they work by specifying the destination directory without attempting to actually write data. My "storage" dataset has windows permissions and is setup with a created user:group, I'll refer it as "user:admin". By following the guide sonarr should be operating under sonarr:sonarr with a uid=351. From what I understant freenas and the sonarr app don't share information about user names but by creating the same user in the freenas ui with the proper uid # it should give that user within the jail permission, correct?

If anyone could help I appreciate it, its always the little things like this that trip me up.
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
Having trouble getting transmission to work. Getting the following after starting the service.
Code:
403: Forbidden
Unauthorized IP Address.

Either disable the IP address whitelist or add your address to it.

If you're editing settings.json, see the 'rpc-whitelist' and 'rpc-whitelist-enabled' entries.

If you're still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details.

in the settings.json I have "rpc-whitelist": "myjailipfortransmission", and "rpc-whitelist-enable": true,
Code:
  "rpc-whitelist": "127.0.0.1,192.168.5.*",
   "rpc-whitelist-enabled": true,

Works now.
 
Joined
Jan 13, 2017
Messages
17
I seem to be having issues installing Radarr and I have no idea why. It creates the iocage jail but gives me errors which causes issues with further commands. Has anyone had these issues?

The resulting output:

radarr successfully created!
Traceback (most recent call last):
File "/usr/local/bin/iocage", line 10, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/iocage/cli/create.py", line 143, in cli
basejail=basejail, empty=empty)
File "/usr/local/lib/python3.6/site-packages/iocage/lib/iocage.py", line 643, in create
exit_on_error=self.exit_on_error).create_jail()
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_create.py", line 86, in create_jail
return self._create_jail(jail_uuid, location)
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_create.py", line 406, in _create_jail
self.create_install_packages(jail_uuid, location, config)
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_create.py", line 449, in create_install_packages
silent=True)
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_start.py", line 63, in __init__
self.__start_jail__()
File "/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_start.py", line 330, in __start_jail__
original_path = os.getcwd()
NotADirectoryError: [Errno 20] Not a directory


Does this mean it's not finding python3.6? If so, how do I resolve it?
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
Need some help with the tranmission instructions.
1) what is the <IP of VPN Entrance Node>? Is it the IP address of tun0 (172.20.80.45) when doing ifconfig?
Code:
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1500
	options=80000<LINKSTATE>
	inet 172.20.80.45 --> 172.20.80.1  netmask 0xfffffe00 
	nd6 options=1<PERFORMNUD>
	groups: tun 


If the ipfw is working correctly I should be able to ping www.google.com with the openvpn status on and not when it's off?

2) where are the error logs kept. When I try to download a torrent file it opens but no bytes are downloaded
 

my95z34

Explorer
Joined
Oct 25, 2014
Messages
51
So, this is my first venture into iocage, and I'm totally lost, lol. I followed the instructions for jackett, but when attempting to start the service I get:
root@goliath:~ # iocage exec jackett service jackett restart
/usr/local/etc/rc.d/jackett: D$: not found
jackett not running?
Starting jackett.

root@goliath:~ # iocage exec jackett service jackett status
/usr/local/etc/rc.d/jackett: D$: not found
jackett is not running.
True


No idea what that error means... but any idea what I did wrong here? TIA!
 

Tony Self

Contributor
Joined
Jan 30, 2017
Messages
130
I have just done a brand new install of 11.1-U1. No issues there that I am aware of.
I have now started going through your FN 11.1 jail installs starting with Plex.
When I get to the line
Code:
iocage exec plex chown -R plex:plex /config
I get the error "chown: plex: illegal group name"

I have created a user and group in the main UI called plex with id 972

What else have I missed?

Help please

Tony Self
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I have created a user and group in the main UI called plex with id 972
Have you created a group called plex in the jail? Magic 8-ball say, "signs point to no."
 

Tony Self

Contributor
Joined
Jan 30, 2017
Messages
130
Have you created a group called plex in the jail? Magic 8-ball say, "signs point to no."
and you will be correct there.
The instructions don't tell me to create a group and as this is my first attempt at an iocage jail, I have no idea how i go about doing that.
 

mrMuppet

Contributor
Joined
Mar 14, 2014
Messages
192
and you will be correct there.
The instructions don't tell me to create a group and as this is my first attempt at an iocage jail, I have no idea how i go about doing that.
You have to create the User inside the jail: adduser then you can give it name plex and Group plex etc...

Gesendet von meinem ONEPLUS A3003 mit Tapatalk
 

ere109

Contributor
Joined
Aug 22, 2017
Messages
190
I successfully installed and got Plex running about two pages ago. Then I had a system shutdown while Plex was running, and haven't been able to recover since. I've deleted the Plex jail, cleaned -all jails, and reinstalled using the same instructions that worked before. Suggestions on where to start?
Edit: I CAN ping from within the jail. I wonder if the config files were corrupted, and I'm still reading from the old config...
 
Last edited:

der_Chris

Cadet
Joined
Feb 21, 2018
Messages
5
and you will be correct there.
The instructions don't tell me to create a group and as this is my first attempt at an iocage jail, I have no idea how i go about doing that.

The "pkg install plexmediaserver" command does add the "Plex" User and Group
 

jmcguire525

Explorer
Joined
Oct 10, 2017
Messages
94
"iocage had to change back to calling them epair0 in the jail as it turned out Plex (and probably others) ignored network interfaces starting with v! That was a fun issue to find out, but the nomenclature at the cli was kept the same so existing tutorials and such would work. You can supply anything you want instead of vnet0 and that's what the interface should be named in the jail. But if you keep vnet0, it will be epair0 in the jail :)"

If I understand this correct we can still use "vnet0|<IP>/<MASK>" during setup but it would be best to define it in another way?
 

Pistolwhip

Dabbler
Joined
Feb 24, 2016
Messages
18
I think I actually just ran into this. Updated to U2 and suddenly plex can't bind on start and fails:

Code:
Feb 21, 2018 14:20:17.594 [0x80a218000] ERROR - HttpServer: Error binding acceptor: Can't assign requested address
Feb 21, 2018 14:20:17.594 [0x80a218000] ERROR - Error: Unable to set up server: listen: Can't assign requested address (N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE)


Interface in the jail is epair0 now. Debating how to proceed to get it back up and running, as even though it was requested over 5 years ago plex still can't bind to a specific interface.
 
Top