TYz
Cadet
- Joined
- Dec 15, 2020
- Messages
- 9
My smooth brain wasn't able to find a guide idiot proof enough for me to work out, so here is what I have been able to put together to get radarr to run in jails using .net.
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Radarr
1. Create a jail using the Truenas GUI. Once the jail is created, click edit, head down to jail properties and tick:
allow_raw_sockets
allow_mlock
2. Open up the jail shell and enter these commands.
Make sure to change the USER / GROUP / UID to your preferred preference. e.g. radarr / radarr / 901
portsnap fetch
portsnap extract
cd /usr/ports/net-p2p/radarr/ && make install clean
pkg upgrade && pkg update
pw useradd -n USER -u UID -d /nonexistent -s /usr/sbin/nologin
chown -R USER:GROUP /usr/ports/net-p2p/radarr/
sysrc 'radarr_user=USER'
sysrc "radarr_enable=YES"
3. To get sonarr to update through the webui you will need to do the following:
NOTE: The built-in updater is disabled. If you like to use the updater, remove the file /usr/local/share/radarr/package_info, chown the directory /usr/local/share/radarr/bin to radarr and restart radarr The built-in updater can now be configured in the Settings tab of radarr NOTE: While the built-in updater will update radarr it has side-effects: it breaks the ability of pkg to check for corruption in radarr files it breaks the ability of pkg to determine if it has removed files correctly during "pkg remove radarr" and also it breaks the fundamental understanding that updates should be handled only by the system that put the files there in the first place.
rm /usr/local/share/radarr/package_info
cd /usr/local/share/radarr
chown -R USER:GROUP /usr/local/share/radarr
service radarr start
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Credit to:
www.freshports.org
www.truenas.com
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Radarr
1. Create a jail using the Truenas GUI. Once the jail is created, click edit, head down to jail properties and tick:
allow_raw_sockets
allow_mlock
2. Open up the jail shell and enter these commands.
Make sure to change the USER / GROUP / UID to your preferred preference. e.g. radarr / radarr / 901
portsnap fetch
portsnap extract
cd /usr/ports/net-p2p/radarr/ && make install clean
pkg upgrade && pkg update
pw useradd -n USER -u UID -d /nonexistent -s /usr/sbin/nologin
chown -R USER:GROUP /usr/ports/net-p2p/radarr/
sysrc 'radarr_user=USER'
sysrc "radarr_enable=YES"
3. To get sonarr to update through the webui you will need to do the following:
NOTE: The built-in updater is disabled. If you like to use the updater, remove the file /usr/local/share/radarr/package_info, chown the directory /usr/local/share/radarr/bin to radarr and restart radarr The built-in updater can now be configured in the Settings tab of radarr NOTE: While the built-in updater will update radarr it has side-effects: it breaks the ability of pkg to check for corruption in radarr files it breaks the ability of pkg to determine if it has removed files correctly during "pkg remove radarr" and also it breaks the fundamental understanding that updates should be handled only by the system that put the files there in the first place.
rm /usr/local/share/radarr/package_info
cd /usr/local/share/radarr
chown -R USER:GROUP /usr/local/share/radarr
service radarr start
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Credit to:
FreshPorts -- net-p2p/radarr: Movie Library Manager for Usenet and BitTorrent users
Radarr is a movie collection manager for Usenet and BitTorrent users.
[How-To] Giving Plugins Write Permissions to Your Data
In order for your plugin to be able to write to your data datasets/folders it must have.. access to your data dataset/folders permissions to write to your data folders. 1) MAKING DATA ACCESSIBLE TO YOUR PLUGIN'S JAIL It is preferred that your data reside on a dataset(s) outside of your jail...

Last edited: