Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ultimate FreeNAS 11.3 iocage Setup

TrueNAS

I will be moving from FreeNAS jails to ubuntu with docker, docker compose, and portainer. FreeNAS support and updates are lacking. There are many advantages to making the switch and with ZFS on linux I think FreeNAS may be a thing of the past. Stay tuned for a new guide of my latest setup. Check out my other gists for progress on the switch. https://gist.github.com/mow4cash/626275e095f7f90898944a85d66b3be6

WARNING READ THIS: This page contains incomplete and possibly incorrect info. The page is constantly being edited and worked on. Many of these should work but some may be broken. Read the code carefully to understand what you are doing, stuff may be need to be changed for your own use. This includes but not limited too JAIL AND ROUTER IPs, YOUR FREENAS MAIN VOLUME,THE MOST RECENT RELEASE OF DOWNLOADED FILES Use at your own risk.There may be helpful info in the comments.

Find me in the FreeNAS forums

Thanks to the creator of this guide https://forums.freenas.org/index.php?resources/fn11-1-iocage-jails-plex-tautulli-sonarr-radarr-lidarr-jackett-ombi-transmission-organizr.58/

Setup Structure

myVol > media >  -series
                 -movies
                 -downloads > -radarr
                              -sonarr
                              -complete
                              -incomplete
                              -recycle bin   
                            ```

READ THIS: I have pool named myVol. I created a dataset named "media" and GAVE IT PERMISSIONS of the the default freenas user media:media. The dataset contains the folders series,movies,downloads. Radarr, Sonarr, Transmission will need to run as the user media:media to have access to them, this is very important and should not be overlooked. I also have a dataset named "apps" to hold the config data.

Permissions

READ THIS: For Sonarr, Radarr, Transmission you will have to change the default user to media:media so the jails can work together properly.

Use the name of your plugin instead of PLUGIN

service PLUGIN onestop
chown -R media:media /usr/local/PLUGIN (this location might be different for some of the apps)
sysrc 'PLUGIN_user=media'
sysrc 'PLUGIN_group=media'
service PLUGIN start

My current setup (dates show the last successful test):

Ombi and Unifi have been moved to docker containers in Rancher. See my other guide here https://gist.github.com/mow4cash/a57e893fc640ccf3720e99fc6b3b879a

Configuration:

Plex

# Create the jail
iocage create -n "plex" -r 12.1-RELEASE ip4_addr="vnet0|10.68.69.3/24" defaultrouter="10.68.69.1" vnet="on" allow_raw_sockets="1" boot="on" 

# Update to the latest repo
iocage exec plex "mkdir -p /usr/local/etc/pkg/repos"
iocage exec plex "echo -e 'FreeBSD: { url: \"pkg+http://pkg.FreeBSD.org/\${ABI}/latest\" }' > /usr/local/etc/pkg/repos/FreeBSD.conf"

# Install Plex and dependencies
iocage exec plex pkg install -y plexmediaserver

# Mount storage
iocage exec plex "mkdir -p /config"
iocage exec plex mkdir -p /mnt/media
iocage fstab -a plex /mnt/myVol/apps/plex /config nullfs rw 0 0
iocage fstab -a plex /mnt/myVol/media /mnt/media nullfs ro 0 0

# Set permissions
iocage exec plex chown -R plex:plex /config

# Enable service
iocage exec plex sysrc "plexmediaserver_enable=YES"
iocage exec plex sysrc plexmediaserver_support_path="/config"
iocage exec plex service plexmediaserver start

Transmission

iocage create -n "transmission" -r 12.1-RELEASE ip4_addr="vnet0|10.68.69.6/24" defaultrouter="10.68.69.1" vnet="on" allow_raw_sockets="1" boot="on"

iocage exec transmission pkg install -y transmission

iocage exec transmission mkdir -p /config/transmission-home
iocage exec transmission mkdir -p  /mnt/downloads
iocage fstab -a transmission /mnt/myVol/apps/transmission /config nullfs rw 0 0
iocage fstab -a transmission /mnt/myVol/media/downloads /mnt/downloads nullfs rw 0 0

iocage exec transmission sysrc "transmission_enable=YES"
iocage exec transmission sysrc "transmission_conf_dir=/config/transmission-home"
iocage exec transmission sysrc "transmission_download_dir=/mnt/downloads/complete"

iocage exec transmission "pw user add media -c media -u 8675309 -d /nonexistent -s /usr/bin/nologin"
iocage exec transmission "pw groupadd -n media -g 8675309"
iocage exec transmission "pw groupmod media -m transmission"
iocage exec transmission  chown -R media:media /config/transmission-home
iocage exec transmission  chown -R media:media /mnt/downloads
iocage exec transmission  sysrc 'transmission_user=media'

iocage exec transmission service transmission start
 
# you may need to change the white list in settings.json to 0.0.0.0 or set to your preferred settings

Sonarr V3

iocage create -n "sonarr" -r 11.2-RELEASE ip4_addr="vnet0|10.68.69.25/24" defaultrouter="10.68.69.1" vnet="on" allow_raw_sockets="1" boot="on" 

# update to Latest Repo
iocage exec sonarr "mkdir -p /usr/local/etc/pkg/repos"
iocage exec sonarr "echo -e 'FreeBSD: { url: \"pkg+http://pkg.FreeBSD.org/\${ABI}/latest\" }' > /usr/local/etc/pkg/repos/FreeBSD.conf"
# install pkgs
iocage exec sonarr pkg install -y mono mediainfo sqlite3 curl
# mount storage
iocage exec sonarr mkdir -p /config
iocage exec sonarr mkdir -p  /mnt/downloads
iocage exec sonarr mkdir -p /mnt/series
iocage fstab -a sonarr /mnt/myVol/apps/sonarr /config nullfs rw 0 0
iocage fstab -a sonarr /mnt/myVol/media/downloads /mnt/downloads nullfs rw 0 0
iocage fstab -a sonarr /mnt/myVol/media/series /mnt/series nullfs rw 0 0

# download sonarr
iocage exec sonarr ln -s /usr/local/bin/mono /usr/bin/mono
iocage exec sonarr "fetch 'https://services.sonarr.tv/v1/download/phantom-develop/latest?version=3&os=linux' -o /usr/local/share/sonarr.tar.gz"
iocage exec sonarr "tar -xzvf /usr/local/share/sonarr.tar.gz -C /usr/local/share"
iocage exec sonarr rm /usr/local/share/sonarr.tar.gz
# Media Permissions
iocage exec sonarr "pw user add media -c media -u 8675309 -d /nonexistent -s /usr/bin/nologin"
iocage exec sonarr "pw groupadd -n media -g 8675309"
iocage exec sonarr "pw groupmod media -m sonarr"
iocage exec sonarr chown -R media:media /usr/local/share/Sonarr /config
iocage exec sonarr  sysrc 'sonarr_user=media'

# create rc.d
iocage exec sonarr mkdir /usr/local/etc/rc.d
iocage exec sonarr "ee /mnt/iocage/jails/sonarr/root/usr/local/etc/rc.d/sonarr"
# use rc.d below
CLICK TO SHOW SONARR rc.d

#!/bin/sh

# $FreeBSD$
#
# PROVIDE: sonarr
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# sonarr_enable: Set to YES to enable sonarr
# Default: NO
# sonarr_user: The user account used to run the sonarr daemon.
# This is optional, however do not specifically set this to an
# empty string as this will cause the daemon to run as root.
# Default: media
# sonarr_group: The group account used to run the sonarr daemon.
# This is optional, however do not specifically set this to an
# empty string as this will cause the daemon to run with group wheel.
# Default: media
# sonarr_data_dir: Directory where sonarr configuration
# data is stored.
# Default: /var/db/sonarr

. /etc/rc.subr
name=sonarr
rcvar=${name}_enable
load_rc_config $name

: ${sonarr_enable:="NO"}
: ${sonarr_user:="media"}
: ${sonarr_group:="media"}
: ${sonarr_data_dir:="/config"}

pidfile="${sonarr_data_dir}/nzbdrone.pid"
command="/usr/sbin/daemon"
procname="/usr/local/bin/mono"
command_args="-f ${procname} /usr/local/share/Sonarr/Sonarr.exe --data=${sonarr_data_dir} --nobrowser"

start_precmd=sonarr_precmd
sonarr_precmd() {
if [ ! -d ${sonarr_data_dir} ]; then
install -d -o ${sonarr_user} -g ${sonarr_group} ${sonarr_data_dir}
fi

export XDG_CONFIG_HOME=${sonarr_data_dir}
}

run_rc_command "$1"

iocage exec sonarr chmod u+x /usr/local/etc/rc.d/sonarr
iocage exec sonarr sysrc "sonarr_enable=YES"
iocage exec sonarr service sonarr start

Radarr

iocage create -n "radarr" -r 11.2-RELEASE ip4_addr="vnet0|10.68.69.27/24" defaultrouter="10.68.69.1" vnet="on" allow_raw_sockets="1" boot="on"

# Update to Latest Repo
iocage exec radarr "mkdir -p /usr/local/etc/pkg/repos"
iocage exec radarr "echo -e 'FreeBSD: { url: \"pkg+http://pkg.FreeBSD.org/\${ABI}/latest\" }' > /usr/local/etc/pkg/repos/FreeBSD.conf"

# Install pkgs
iocage exec radarr pkg install -y mono mediainfo sqlite3 curl

iocage exec radarr mkdir -p /config
iocage exec radarr mkdir -p  /mnt/downloads
iocage exec radarr mkdir -p /mnt/movies
iocage fstab -a radarr /mnt/myVol/apps/radarr /config nullfs rw 0 0
iocage fstab -a radarr /mnt/myVol/media/downloads /mnt/downloads nullfs rw 0 0
iocage fstab -a radarr /mnt/myVol/media/movies /mnt/movies nullfs rw 0 0

iocage exec radarr ln -s /usr/local/bin/mono /usr/bin/mono
iocage exec radarr "fetch https://github.com/Radarr/Radarr/releases/download/v0.2.0.1217/Radarr.v0.2.0.1217.linux.tar.gz -o /usr/local/share"
iocage exec radarr "tar -xzvf /usr/local/share/Radarr.v0.2.0.1217.linux.tar.gz -C /usr/local/share"
iocage exec radarr rm /usr/local/share/Radarr.v0.2.0.1217.linux.tar.gz

## Media Permissions
iocage exec radarr "pw user add radarr -c radarr -u 352 -d /nonexistent -s /usr/bin/nologin"

iocage exec radarr "pw user add media -c media -u 8675309 -d /nonexistent -s /usr/bin/nologin"
iocage exec radarr "pw groupadd -n media -g 8675309"
iocage exec radarr "pw groupmod media -m radarr"
iocage exec radarr chown -R media:media /usr/local/share/Radarr /config
iocage exec radarr sysrc 'radarr_user=media'
iocage exec radarr service radarr start
On Windows, you need to change the End of Line (EOL) format in Notepad++ to UNIX:

use ee editor or it won't work at least for me!
Create an rc file for radarr using your favorite editor at /mnt/iocage/jails/radarr/root/usr/local/etc/rc.d/radarr

iocage exec radarr mkdir /usr/local/etc/rc.d
iocage exec radarr "ee /mnt/iocage/jails/radarr/root/usr/local/etc/rc.d/radarr"

#!/bin/sh

# $FreeBSD$
#
# PROVIDE: radarr
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# radarr_enable:    Set to YES to enable radarr
#            Default: NO
# radarr_user:    The user account used to run the radarr daemon.
#            This is optional, however do not specifically set this to an
#            empty string as this will cause the daemon to run as root.
#            Default: media
# radarr_group:    The group account used to run the radarr daemon.
#            This is optional, however do not specifically set this to an
#            empty string as this will cause the daemon to run with group wheel.
#            Default: media
# radarr_data_dir:    Directory where radarr configuration
#            data is stored.
#            Default: /var/db/radarr

. /etc/rc.subr
name=radarr
rcvar=${name}_enable
load_rc_config $name

: ${radarr_enable:="NO"}
: ${radarr_user:="media"}
: ${radarr_group:="media"}
: ${radarr_data_dir:="/config"}

pidfile="${radarr_data_dir}/nzbdrone.pid"
command="/usr/sbin/daemon"
procname="/usr/local/bin/mono"
command_args="-f ${procname} /usr/local/share/Radarr/Radarr.exe --data=${radarr_data_dir} --nobrowser"

start_precmd=radarr_precmd
radarr_precmd() {
    if [ ! -d ${radarr_data_dir} ]; then
    install -d -o ${radarr_user} -g ${radarr_group} ${radarr_data_dir}
    fi

    export XDG_CONFIG_HOME=${radarr_data_dir}
}

run_rc_command "$1"
iocage exec radarr chmod u+x /usr/local/etc/rc.d/radarr
iocage exec radarr sysrc "radarr_enable=YES"
iocage exec radarr service radarr start

Organizr V2

#Note to self: Make sure port forwarding is disabled before removing or rebuilding this jail

iocage create -n "organizr" -r 11.2-RELEASE ip4_addr="vnet0|10.68.69.7/24" defaultrouter="10.68.69.1" vnet="on" allow_raw_sockets="1" boot="on"

iocage exec organizr pkg install -y nginx git wget php72 php72-curl php72-pdo php72-sqlite3 php72-simplexml php72-zip php72-openssl php72-hash php72-json php72-session php72-pdo_sqlite php72-filter

iocage exec organizr mkdir -p /config
iocage fstab -a organizr /mnt/myVol/apps/organizr /config nullfs rw 0 0

iocage console organizr
echo 'listen = /var/run/php-fpm.sock' >> /usr/local/etc/php-fpm.conf
echo 'listen.owner = www' >> /usr/local/etc/php-fpm.conf
echo 'listen.group = www' >> /usr/local/etc/php-fpm.conf
echo 'listen.mode = 0660' >> /usr/local/etc/php-fpm.conf
exit

iocage exec organizr cp /usr/local/etc/php.ini-production /usr/local/etc/php.ini
iocage exec organizr sed -i '' -e 's?;date.timezone =?date.timezone = "Universal"?g' /usr/local/etc/php.ini
iocage exec organizr sed -i '' -e 's?;cgi.fix_pathinfo=1?cgi.fix_pathinfo=0?g' /usr/local/etc/php.ini

iocage exec organizr git clone -b v2-develop https://github.com/causefx/Organizr /usr/local/www/Organizr
iocage exec organizr chown -R www:www /usr/local/www /config
user www;
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name localhost;
root /usr/local/www/Organizr;
location / {
index index.php index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/local/www/nginx-dist;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
}
}
}
iocage exec organizr sysrc nginx_enable=YES
iocage exec organizr sysrc php_fpm_enable=YES
iocage exec organizr service nginx start
iocage exec organizr service php-fpm start

#important step Navigate to http://JailIP and set the follow the setup database location to "/config/Organizr" and Organizr for the database name. If you have an exsisting config file in the database location once you complete the setup restart the jail and login with you exsisting credentials.

# link my exsisting nginx config, you need to upload your own or edit the exsisting
iocage exec organizr service nginx stop
iocage exec organizr rm /usr/local/etc/nginx/nginx.conf
iocage exec organizr ln -s /config/nginx/nginx.conf /usr/local/etc/nginx/nginx.conf
iocage exec organizr service nginx start

#note to self renable port forwarding

I keep folders in /config for nginx,log,letsencrypt,Backups

Jackett

iocage create -n "jackett" -r 11.2-RELEASE ip4_addr="vnet0|10.68.69.26/24" defaultrouter="10.68.69.1" vnet="on" allow_raw_sockets="1" boot="on"

# Update to Latest Repo
iocage exec jackett "mkdir -p /usr/local/etc/pkg/repos"
iocage exec plex "echo -e 'FreeBSD: { url: \"pkg+http://pkg.FreeBSD.org/\${ABI}/latest\" }' > /usr/local/etc/pkg/repos/FreeBSD.conf"

iocage exec jackett pkg install -y mono curl

iocage exec jackett mkdir -p /config
iocage fstab -a jackett /mnt/myVol/apps/jackett /config nullfs rw 0 0

iocage exec jackett ln -s /usr/local/bin/mono /usr/bin/mono
iocage exec jackett "fetch https://github.com/Jackett/Jackett/releases/download/v0.10.531/Jackett.Binaries.Mono.tar.gz -o /usr/local/share"
iocage exec jackett "tar -xzvf /usr/local/share/Jackett.Binaries.Mono.tar.gz -C /usr/local/share"
iocage exec jackett rm /usr/local/share/Jackett.Binaries.Mono.tar.gz

iocage exec jackett "pw user add jackett -c jackett -u 818 -d /nonexistent -s /usr/bin/nologin"
iocage exec jackett chown -R jackett:jackett /usr/local/share/Jackett /config
iocage exec jackett mkdir /usr/local/etc/rc.d

ee /mnt/myVol/iocage/jails/jackett/root/usr/local/etc/rc.d/jackett
#!/bin/sh

# $FreeBSD$
#
# PROVIDE: jackett
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# jackett_enable:    Set to YES to enable jackett
#            Default: NO
# jackett_user:    The user account used to run the jackett daemon.
#            This is optional, however do not specifically set this to an
#            empty string as this will cause the daemon to run as root.
#            Default: media
# jackett_group:    The group account used to run the jackett daemon.
#            This is optional, however do not specifically set this to an
#            empty string as this will cause the daemon to run with group wheel.
#            Default: media
# jackett_data_dir:    Directory where jackett configuration
#            data is stored.
#            Default: /var/db/jackett

. /etc/rc.subr
name=jackett
rcvar=${name}_enable
load_rc_config $name

: ${jackett_enable:="NO"}
: ${jackett_user:="jackett"}
: ${jackett_group:="jackett"}
: ${jackett_data_dir:="/config"}

command="/usr/sbin/daemon"
procname="/usr/local/bin/mono"
command_args="-p ${jackett_data_dir}/jackett.pid -f ${procname} /usr/local/share/Jackett/JackettConsole.exe -d ${jackett_data_dir}"

start_precmd=jackett_precmd
jackett_precmd() {
    export USER=${jackett_user}
    if [ ! -d ${jackett_data_dir} ]; then
    install -d -o ${jackett_user} -g ${jackett_group} ${jackett_data_dir}
    fi

    export XDG_CONFIG_HOME=${jackett_data_dir}
}

run_rc_command "$1"
iocage exec jackett chmod u+x /usr/local/etc/rc.d/jackett
iocage exec jackett sysrc "jackett_enable=YES"
iocage exec jackett service jackett start

Tautulli

echo '{"pkgs":["python2","py27-sqlite3","py27-openssl","git" ," py27-pycryptodome" ,"ca_root_nss"]}' > /tmp/pkg.json
iocage create -n "tautulli" -p /tmp/pkg.json -r 11.2-RELEASE ip4_addr="vnet0|10.68.69.16/24" defaultrouter="10.68.69.1" vnet="on" allow_raw_sockets="1" boot="on"
rm /tmp/pkg.json
iocage exec tautulli mkdir -p /config
iocage fstab -a tautulli /mnt/myVol/apps/tautulli /config nullfs rw 0 0
iocage exec tautulli git clone https://github.com/Tautulli/Tautulli.git /usr/local/share/Tautulli
iocage exec tautulli "pw user add tautulli -c tautulli -u 109 -d /nonexistent -s /usr/bin/nologin"
iocage exec tautulli chown -R tautulli:tautulli /usr/local/share/Tautulli /config
iocage exec tautulli cp /usr/local/share/Tautulli/init-scripts/init.freenas /usr/local/etc/rc.d/tautulli
iocage exec tautulli chmod u+x /usr/local/etc/rc.d/tautulli
iocage exec tautulli sysrc "tautulli_enable=YES"
iocage exec tautulli sysrc "tautulli_flags=--datadir /config"
iocage exec tautulli service tautulli start

Backups

Important files

Backup your entire apps folder

Common Commands

https://www-uxsup.csx.cam.ac.uk/pub/doc/suse/suse9.0/userguide-9.0/ch24s04.html

cd /directorypath	: Change to directory.
chmod [options] mode filename	: Change a file’s permissions.
chown [options] filename :	Change who owns a file.
cp [options] :source destination	: Copy files and directories.
ln -s test symlink	: Creates a symbolic link named symlink that points to the file test
mkdir [options] directory	: Create a new directory.
mv -i myfile yourfile : Move the file from "myfile" to "yourfile". This effectively changes the name of "myfile" to "yourfile".
mv -i /data/myfile :	Move the file from "myfile" from the directory "/data" to the current working directory.
rm [options] directory	: Remove (delete) file(s) and/or directories.
tar [options] filename :	Store and extract files from a tarfile (.tar) or tarball (.tar.gz or .tgz).
touch filename :	Create an empty file with the specified name.

Testing/Updates

iocage exec <jail> pkg upgrade <name of service>
iocage exec <jail> pkg upgrade && pkg update

iocage exec <jail> service <name of service> start
iocage exec <jail> service <name of service> restart
iocage exec <jail> service <name of service> stop

Default User Ports/UID/Location

PORT - SERVICE - USER (UID)
radarr- 7878 - radarr (352) 
sonarr- 8989 - 
jackett - 9117 - jackett (818)
0rganizr - 80 - organizr (www)
plexmediaserver 32400 - plex (972)
transmission - 9091 -transmission (921) 
tautulli - 8181 - tautlli (109)
ombi - 3579 - ombi (819)
@jamescapen

This comment has been minimized.

Copy link

@jamescapen jamescapen commented May 12, 2017

Hey, thanks so much for this. It's been a great help.

Quick suggestion, the radarr and jackett jails hang on boot for me. You need to add an ampersand to the end of the rc.d script to run them as a daemon.

echo "/usr/local/bin/mono /usr/local/Radarr/Radarr.exe &" > /etc/rc.d/radarr

and

echo "/usr/local/bin/mono /usr/local/Jackett/JackettConsole.exe &" >> /etc/rc.d/jackett

@WesNz

This comment has been minimized.

Copy link

@WesNz WesNz commented May 29, 2017

Great tutorial , just started about 45min ago. Currently on the Emby setup.
Struggled with transmission setup tho, struggling to understand a few things. eg. sysrc transmission_download_dir="" -----where should i set the download directory to? /media/downloads?
i stopped transmission....editted settings.json in /var/db/transmission. started plex and then get this error 👍
root@media:/mnt # service transmission restart
Stopping transmission.
Waiting for PIDS: 89362.
usage: chown [-fhvx] [-R [-H | -L | -P]] owner[:group] file ...
chown [-fhvx] [-R [-H | -L | -P]] :group file ...
Starting transmission.

" Create this user in your FreeNAS with the same uid and gid (typically 1001 if you haven't made a custom account yet).
--- Do i create this user in the freenas gui? What if iv already created a user in freenas gui?
"Add mounts for media + crashplan backups inside the jail (/mnt//media to /mnt/media). "

  • i dont have a /mnt//media folder....only a /mnt/media folder?
@WesNz

This comment has been minimized.

Copy link

@WesNz WesNz commented May 29, 2017

Hi so far getting there...
did run into a few errors tho and dont know how to solve them?
im following the how-to properly...

looks quite cool to setup with mauximux, havet install nginx. Is muximux better than Organizr?

im on Freenas 11 RC3, would that make any difference?

Transmission

root@media:/mnt # service transmission restart
Stopping transmission.
Waiting for PIDS: 89362.
usage: chown [-fhvx] [-R [-H | -L | -P]] owner[:group] file ...
chown [-fhvx] [-R [-H | -L | -P]] :group file ...
Starting transmission.

then cant access it via the web gui, i have put in the 0.0.0.0

SONARR:

i completed the ffmpeg install from source like above, but then do an upgrade and it wants to install a new copy of ffmpeg via pkg?

The following 1 package(s) will be affected (of 0 checked):
Installed packages to be REINSTALLED:
ffmpeg-3.3.1,1 (options changed)
Number of packages to be reinstalled: 1

UNIFY5

root@media:/usr/local/headphones # pkg install -y mongodb unifi5
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'unifi5' have been found in the repositories

PlexPass
pkg install plexmediaserver-plexpass

SABNZBD:

cd /usr/ports/news/sabnzbdplus && make config-recursive install clean
chown -R media:media sabnzbd

s/sabnzbdplus # ls -ls
total 45
9 -rw-r--r-- 1 root wheel 198 Mar 22 21:22 distinfo
1 drwxr-xr-x 2 root 100 5 May 29 13:40 files
9 -rw-r--r-- 1 root wheel 2271 Apr 27 05:34 Makefile
9 -rw-r--r-- 1 root wheel 281 Jan 23 2014 pkg-descr
18 -rw-r--r-- 1 root wheel 21293 Jan 30 23:22 pkg-plist

headphones :

root@media:/usr/local # cp /usr/local/headphones/init-alt.freebsd /usr/local/etc/rc.d/headphones
cp: /usr/local/headphones/init-alt.freebsd: No such file or directory

@WesNz

This comment has been minimized.

Copy link

@WesNz WesNz commented May 29, 2017

hi mate, sturggling to get this all sorted. lots of code missiing or incorrect, are you able to help?
lots of reference to files or folders that just dont exist?

@TheOnlyMunk

This comment has been minimized.

Copy link

@TheOnlyMunk TheOnlyMunk commented Jul 28, 2017

Thanks for this guide - has really helped me out! However when trying to follow your Muximux/NGINX install, I get stuck when editing php-fpm.conf - the lines:

;listen = 127.0.0.1:9000
listen = /var/run/php-fpm.sock

#Just uncomment these lines
listen.owner = www
listen.group = www
listen.mode = 0660

you refer to is non-existent in my file. Can you clear this up for a newb?

@ddevil77

This comment has been minimized.

Copy link

@ddevil77 ddevil77 commented Aug 26, 2017

Hi, Great guide by the way, I have managed to follow everything on this guide up until this point

Sabnzbd

MOW4CASH EDIT: You are in the directory sabnzbdplus so you should chown -R media:media sabnzbdplus

cd /usr/ports/news/sabnzbdplus && make config-recursive install clean
chown -R media:media sabnzbd
sysrc sabnzbd_enable=YES
sysrc sabnzbd_user=media
sysrc sabnzbd_group=media

When I enter line chown -R media:media sabnzbd I get the following message chown: sabnzbd: No such file or directory.

@zenxedo

This comment has been minimized.

Copy link
Owner Author

@zenxedo zenxedo commented Oct 22, 2017

Hey guys. I don't receive notifications of comments so I am unable to respond. You should still post comments because they might help other or you will get lucky and have your question answered. This gist will be more active now that Corral is dead. You can send me a PM in the FreeNAS forums.

@foddernz

This comment has been minimized.

Copy link

@foddernz foddernz commented Jan 9, 2018

Ombi seems to have a problem in a jail - fdatasync is not supported on the current freenas jail version - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221672 - 11.1 is required but freenas has 11.0

"fdatasync() also does not exist in 11.0, it was added in 11.1.
I hit this problem when trying to use packages built on 11.1 (via poudriere) on a 11.0 system.
Once I upgraded the systems to 11.1, the issues went away."

I tried 2 versions on Ombi - outputs below

root@ombi:/ # freebsd-version -u
11.0-RELEASE-p1
root@ombi:/ # tail -f /nohup.out
Location of the database: /usr/local/Ombi/Ombi.sqlite
/usr/local/lib/libsqlite3.so: Undefined symbol "fdatasync"
Starting Up! Please wait, this can usually take a few seconds.
Version: 2.2.1678
Location of the database: /usr/local/Ombi/Ombi.sqlite
/usr/local/lib/libsqlite3.so: Undefined symbol "fdatasync"
Starting Up! Please wait, this can usually take a few seconds.
Version: 2.0.1234
Location of the database: /usr/local/Ombi/Ombi.sqlite
/usr/local/lib/libsqlite3.so: Undefined symbol "fdatasync"

Update - for those that follow me - thanks to this little nugget, i have it working under freenas 11.1

https://forums.freenas.org/index.php?threads/jail-with-freebsd-11-1-release.59604/

Are you creating the jail from the new UI or the old one? You need to use the new UI to create a 11.1 jail and select the 11.1 template when configuring it.

root@Ombi:/ # freebsd-version -u
11.1-RELEASE-p6

my freenas has been running a while so old UI was creating a 11.0 jail - you need to use the new UI :)

@luluhoc

This comment has been minimized.

Copy link

@luluhoc luluhoc commented Oct 21, 2018

I have a problem with a Jackett everything went smooth and jackett is working when running manually, but when I try to run it with startup script I get this:

/usr/local/etc/rc.d/jackett: an: not found
/usr/local/etc/rc.d/jackett: group: not found
jackett not running?
Starting jackett.
Unmatched '"'.
Unmatched '"'.
/usr/local/etc/rc.d/jackett: WARNING: failed to start jackett



The problem is also that when running manually when I'll close the terminal it closes Jackett too.
@jmbrown79

This comment has been minimized.

Copy link

@jmbrown79 jmbrown79 commented Nov 8, 2018

I am trying to follow your ombi guide, but when i try to fetch the file i get a file not found. Is there an updated location by chance?

MOW4CASH EDIT: You have to find the updated location to pull the file from, check ombi repository

@murac

This comment has been minimized.

Copy link

@murac murac commented Dec 3, 2018

For transmission i've noticed 2 behaviors:
a) "freenas kernel: sonewconn: pcb 0xfffff80f204c33a0: Listen queue overflow: 193 already in queue awaiting acceptance"
is being spit out into the logs all day. I set kern.ipc.soacceptqueue to 1024 in tunables but doesn't seem to affect anything
b) it appears iocage is only allowing transmission to use one cpu. It's consistently at 100% while it's active.

I can't be sure, and i've checked all other possibilities, but my upload speeds never get about 34kb/s and i honestly doubt its nothing more than overheard. possibly because of the lack of available connections, i dunno. anyone else experience this? hopefully this all goes away in a week when they release 11.2

@zenxedo

This comment has been minimized.

Copy link
Owner Author

@zenxedo zenxedo commented Dec 6, 2018

a) "freenas kernel: sonewconn: pcb 0xfffff80f204c33a0: Listen queue overflow: 193 already in queue awaiting acceptance"

I have seen this before. Please let me know if you find a fix.

@Theogermal

This comment has been minimized.

Copy link

@Theogermal Theogermal commented Dec 21, 2018

I'm stuck with jackett, I get to inputting "ee /mnt/iocage/jails/jackett/root/usr/local/etc/rc.d/jackett", but when i try to save the script, it says "unable to create file "/mnt/iocage/jails/jackett/root/usr/local/etc/rc.d/jackett"

Any help is greatly appreciated, this is the last thing i need to get installed to make my transition from my old NAS complete.

@zenxedo

This comment has been minimized.

Copy link
Owner Author

@zenxedo zenxedo commented Dec 21, 2018

I'm stuck with jackett, I get to inputting "ee /mnt/iocage/jails/jackett/root/usr/local/etc/rc.d/jackett", but when i try to save the script, it says "unable to create file "/mnt/iocage/jails/jackett/root/usr/local/etc/rc.d/jackett"

Any help is greatly appreciated, this is the last thing i need to get installed to make my transition from my old NAS complete.

You can try using winscp and notepad ++ to manually create and edit the file. Also try to restart the jail and access it again or rebuild it.

@chuckremes

This comment has been minimized.

Copy link

@chuckremes chuckremes commented Dec 21, 2018

Here's a minor improvement to the installation scripts...:

# replace the line doing "ee /usr/local/etc/pkg/repos/FreeBSD.conf"
# This will populate that file for you without requiring any interaction
iocage exec plex "echo -e 'FreeBSD: { url: \"pkg+http://pkg.FreeBSD.org/\${ABI}/latest\" }' > /usr/local/etc/pkg/repos/FreeBSD.conf"
@zenxedo

This comment has been minimized.

Copy link
Owner Author

@zenxedo zenxedo commented Dec 22, 2018

iocage exec plex "echo -e 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/\${ABI}/latest\" }' > /usr/local/etc/pkg/repos/FreeBSD.conf"

Great addition, thanks. Will make the change.

@shitrus

This comment has been minimized.

Copy link

@shitrus shitrus commented Dec 23, 2018

Trying to set up plex and i get this error:

root@freenas:/mnt/iocage/jails/plex/root/usr # iocage exec plex "echo -e 'FreeBSD: { url: \"pkg+http://pkg.FreeBSD.org/\${ABI}/latest\" }' > /usr/local/etc/pkg/repos/FreeBSD.conf"
Unmatched '''.
@Swizzy

This comment has been minimized.

Copy link

@Swizzy Swizzy commented Dec 23, 2018

@shitrus try this one:
iocage exec plex echo -e 'FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/\${ABI}/latest\" }' > /usr/local/etc/pkg/repos/FreeBSD.conf

@Swizzy

This comment has been minimized.

Copy link

@Swizzy Swizzy commented Dec 23, 2018

I'm stuck with jackett, I get to inputting "ee /mnt/iocage/jails/jackett/root/usr/local/etc/rc.d/jackett", but when i try to save the script, it says "unable to create file "/mnt/iocage/jails/jackett/root/usr/local/etc/rc.d/jackett"

Any help is greatly appreciated, this is the last thing i need to get installed to make my transition from my old NAS complete.

That'd be because there's a piece missing in the path, "/mnt/iocage/..." doesn't exist, it should be "mnt/myVol/iocage/..."

mow4cash edit: thanks, fixed it

@tigger29900

This comment has been minimized.

Copy link

@tigger29900 tigger29900 commented Feb 12, 2019

can anyone help me with the permissions? ive set up my pool at stated and even when i change my user to media in a jail it still doesn't want to work i keep getting access to path is denied in sonarr and radarr

@tommeh1337

This comment has been minimized.

Copy link

@tommeh1337 tommeh1337 commented Feb 25, 2019

I setup my jails using this guide, thanks a lot for providing and maintaining this. This comment is my feedback on the guide :)

Sonarr / Radarr
I received an error when using EE as a text editor to create the rc.d for Sonarr and Radarr:
iocage exec sonarr "ee /mnt/iocage/jails/sonarr/root/usr/local/etc/rc.d/sonarr"
iocage exec sonarr "ee /mnt/iocage/jails/radarr/root/usr/local/etc/rc.d/radarr"

So I used "nano" instead by using SSH:
sudo nano /mnt/iocage/jails/sonarr/root/usr/local/etc/rc.d/sonarr
sudo nano /mnt/iocage/jails/radarr/root/usr/local/etc/rc.d/radarr

You are able to copy and paste the rc.d text you provided using this method.

I don't understand why these two lines are needed, because the Sonarr and Radarr plugins are running as the 'media' user which you created earlier. This 'media' user is the owner of the config and media folders. So I skipped them and the jails are running like they should without any problems.
iocage exec sonarr "pw groupmod media -m sonarr"
iocage exec radarr "pw groupmod media -m radarr"

Plex
I also created a 'media' group and user and run the application as this user. This way Plex has the right permissions for the media folder automatically.

Also be aware the instructions are different when you want to install the Plex Pass version of Plex Media Server. Maybe you could add the Plex Pass version instructions also? I used a combination of this guide and https://forums.freenas.org/resources/fn11-2-iocage-jails-plex-tautulli-sonarr-radarr-lidarr-jackett-transmission-organizr.58/ to install the Plex Pass version.

@shitrus

This comment has been minimized.

Copy link

@shitrus shitrus commented Mar 1, 2019

Currently working on installing all of these in the 11.2 U2.1 releases and getting them to work in the same manner.

Still having issues with the repo file creation but that can be done manually with your favorite editor

Also, in the plex mounting of the directory /mnt/media on the plex iocage, you need to create that directory first, or use /media instead of /mnt/media

@johnnyrags

This comment has been minimized.

Copy link

@johnnyrags johnnyrags commented Mar 2, 2019

Love this guide, thank you for writing it all down.

I use sabnzbd instead of Transmission, but largely i think I have the basic idea of how you're creating each iocage jail from the guide and I believe I can make it work real easily. I used the old pre-baked image path in v9->11.1 of the plugin install for it, I guess I should look and see if they have one in 11.2, but I'd rather build it myself.

If I get it working, I'll update this comment thread in the event you want to add it to your guide.

@Yakje

This comment has been minimized.

Copy link

@Yakje Yakje commented Mar 20, 2019

Thanks for the great guide!! I am however running into a problem, when trying to get Sonarr V3 up and running. When i input the following step:

root@freenas[~]# iocage exec sonarr "fetch http://services.sonarr.tv/v1/download/phantom/latest?version=3&os=linux -o /usr/local/share"

I get the following error:
/bin/sh: -o: not found

Any ideas on how to fix it, are greatly appreciated!!

@dansbandit

This comment has been minimized.

Copy link

@dansbandit dansbandit commented Mar 27, 2019

Thanks for the great guide!! I am however running into a problem, when trying to get Sonarr V3 up and running. When i input the following step:

root@freenas[~]# iocage exec sonarr "fetch http://services.sonarr.tv/v1/download/phantom/latest?version=3&os=linux -o /usr/local/share"

I get the following error:
/bin/sh: -o: not found

Any ideas on how to fix it, are greatly appreciated!!

There are two problems with this command. The first is that sh treats the ampersand as a new command and the second one is that the fetch utility doesn't name the file correctly after download. This is how it should be I think.

EDIT: The ampersand runs what precedes it as a background job.

iocage exec sonarr "fetch 'http://services.sonarr.tv/v1/download/phantom/latest?version=3&os=linux' -o /usr/local/share/sonarr.tar.gz"
iocage exec sonarr "tar -xzvf /usr/local/share/sonarr.tar.gz -C /usr/local/share"
iocage exec sonarr rm /usr/local/share/sonarr.tar.gz

Mow4cash edit 7/19/19: good catch, I updated the guide

@Jim-Brewer

This comment has been minimized.

Copy link

@Jim-Brewer Jim-Brewer commented Apr 1, 2019

Hey all - been working on trying to get Sonarr V3 up and running, thanks to the guide and the comments I manage to get to the final step before "service sonarr start" when I get

env: /usr/local/etc/rc.d/sonarr: No such file or directory

Anyone have any ideas as to what might be the issue here?

@statik1983

This comment has been minimized.

Copy link

@statik1983 statik1983 commented Apr 6, 2019

Anyone get SABnzbd working and have a guide for it?

@pololoo

This comment has been minimized.

Copy link

@pololoo pololoo commented Apr 28, 2019

Awesome guide!!! thanks for sharing with all of us. I have a question though, Jackett is showing this message "Your version of Jackett v0.10.531.0 is very old" . In the log i can find this:

"2019-04-28 20:01:56.9104 Info New release found.  Current: v0.10.531 New: v0.11.256 
2019-04-28 20:02:33.9115 Info Starting updater: mono /tmp/JackettUpdate-v0.11.256-636920785345043880/Jackett/JackettUpdater.exe --Path "/usr/local/share/Jackett" --Type "Console" --Args " JackettConsole.exe -d /config" --KillPids "64825" 
2019-04-28 20:02:33.9460 Info Updater started process id: 65238 
2019-04-28 20:02:33.9474 Info Exiting Jackett.. "

but it nevers update.... Im very new at this, any one can help me to do a manual update? Which commands I need to run?

@pololoo

This comment has been minimized.

Copy link

@pololoo pololoo commented Apr 30, 2019

answering my own question what I did to update jackett was:

iocage exec jackett service jackett stopt
iocage exec jackett "fetch https://github.com/Jackett/Jackett/releases/download/v0.11.259/Jackett.Binaries.Mono.tar.gz -o /usr/local/share"
iocage exec jackett "tar -xzvf /usr/local/share/Jackett.Binaries.Mono.tar.gz -C /usr/local/share"
iocage exec jackett rm /usr/local/share/Jackett.Binaries.Mono.tar.gz
iocage exec jackett service jackett start
@bdurrow

This comment has been minimized.

Copy link

@bdurrow bdurrow commented May 7, 2019

I'm not sure if you would be interested but I am working on a build/verification process for this document:
https://github.com/bdurrow/freenas-media-setup

mow4cash edit: If you make progress on this please report back.

@AdamHertzberg

This comment has been minimized.

Copy link

@AdamHertzberg AdamHertzberg commented Jun 13, 2019

I got the same error as shitrus:

root@freenas:/mnt/iocage/jails/plex/root/usr # iocage exec plex "echo -e 'FreeBSD: { url: \"pkg+http://pkg.FreeBSD.org/\${ABI}/latest\" }' > /usr/local/etc/pkg/repos/FreeBSD.conf"
Unmatched '''.

I figured out that by default, my freenas shell was set to csh. I switched to bash and the command worked. I looked that manual for echo in csh and there is no '-e' option. It would be good for the guide to specify which shell to run in. My freenas install is quite old and has been upgraded many times. That could have something to do with having a different default shell than others.

Also, thank you for putting together this wonderful guide.

@zenxedo

This comment has been minimized.

Copy link
Owner Author

@zenxedo zenxedo commented Jun 14, 2019

Thanks for all the feedback and comments. I know the comments help other users because some time things break or need a slightly different approach.

@CatPasswd

This comment has been minimized.

Copy link

@CatPasswd CatPasswd commented Jul 2, 2019

I'm not sure if you would be interested but I am working on a build/verification process for this document:
https://github.com/bdurrow/freenas-media-setup

Nicely done. Of course, had I read the comments ahead of time, I may have attempted to use your build scripts.

But it may yet come to that, I'm at the point of installing organizr, and have been running into multiple issues where copypasta just didn't cut it, and odds are high that I screwed up somewhere due to rushing, and lack of sleep.

[edit]

Screw it. I'm going to give this tool a try. I'm combing through and adjusting to fit my specific needs, and the first thing that jump out at me is this.

in Freenas 11.2 Setup.m4 two of these three lines had to be edited for me.

root@freenas[~/freenas-media-setup]# grep '/mnt/iocage' *
Freenas 11.2 Setup.m4:iocage exec sonarr "ee /mnt/iocage/jails/sonarr/root/usr/local/etc/rc.d/sonarr"
Freenas 11.2 Setup.m4:Create an rc file for radarr using your favorite editor at /mnt/iocage/jails/radarr/root/usr/local/etc/rc.d/radarr
Freenas 11.2 Setup.m4:iocage exec radarr "ee /mnt/iocage/jails/radarr/root/usr/local/etc/rc.d/radarr"

I have a mirrored SSD set which holds my jails and applications, so they aren't on the default pool. Possibly I'm an edge case, but looking at it objectively, you're executing a command inside the jails themselves, but referencing the files using the host OS mount points. Or do I misunderstand?

I'll add any other issues I encounter as I progress.

@ken-driscoll

This comment has been minimized.

Copy link

@ken-driscoll ken-driscoll commented Jul 22, 2019

Thanks for this! It's been very helpful starting-point in migrating my old warden jails over to iocage this past weekend. There were several tweeks I had to make for my setup, but I wanted to pass one along that should probably be updated in your rc.d file for Sonarr 3.

pidfile="${sonarr_data_dir}/nzbdrone.pid"

This file was changed between sonarr 2 and 3. The new file is

pidfile="${sonarr_data_dir}/sonarr.pid"

Without this change, you wont be able to run a service stop command. Hope this helps!

@neilkpd

This comment has been minimized.

Copy link

@neilkpd neilkpd commented Jul 27, 2019

Thanks for this excellent write-up!

I would appreciate some help in getting another jail I started working on - beets.
https://beets.readthedocs.io/en/latest/index.html
https://www.freshports.org/audio/beets/

This is as far I've gotten:
echo '{"pkgs":["py36-pip","py36-sqlite3","chromaprint","ffmpeg","shntool","sudo"]}' > /tmp/pkg.json
iocage create -n "beets" -p /tmp/pkg.json -r 11.2-RELEASE ip4_addr="vnet0|192.168.1.55/24" defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1" boot="on" host_hostname="beets"
rm /tmp/pkg.json
iocage console beets
pkg update && pkg upgrade -y
pip install beets

I'm not certain if the MEDIA user needs to be added...
I'm still a noob and would appreciate any help.
Thanks in advance.

@zenxedo

This comment has been minimized.

Copy link
Owner Author

@zenxedo zenxedo commented Jul 27, 2019

@shitrus

This comment has been minimized.

Copy link

@shitrus shitrus commented Sep 24, 2019

Just had to do a reinstall of Plex (the plexpass version) and once again this guide saved me.

One thing that should be noted is that if you are using the plexpass version and have LiveTV and DVR, and you want to record something, you will have to modify the mount for your media to be rw instead of ro, and you will have to add the plex user to the media group in the jail

iocage fstab -a plex /mnt/myVol/media /mnt/media nullfs rw 0 0
and then after all is said and done
pw usermod plex -G media

then you wont have any issues with recording shows

@mranderson256

This comment has been minimized.

Copy link

@mranderson256 mranderson256 commented Mar 18, 2020

I am getting and message in Sonarr:

Currently installed Mono version 5.10.1.57 is no longer supported. Please upgrade Mono to version 5.20.

Is there an easy way to do this? I just don't want to break what I have so far. This is my first run at Freenas (11.3) so everything is very new to me. I installed Plex (no pass) and Sabnzbd with the plugins. I followed this guide and got Sonarr installed using the Shell. I even have them playing nice so far.

@AdamHertzberg

This comment has been minimized.

Copy link

@AdamHertzberg AdamHertzberg commented Mar 18, 2020

There's a thread on the freenas forums about upgrading - https://www.ixsystems.com/community/threads/how-to-manually-upgrade-mono-from-5-10-to-5-20-in-a-freenas-jail.78871/

Also, the pkg for mono 6.8.0.105 should be landing any day now. If you are willing to wait a bit, a simple pkg update and pkg upgrade should do the trick. - https://reviews.freebsd.org/D23300

@shitrus

This comment has been minimized.

Copy link

@shitrus shitrus commented Mar 18, 2020

ok so first things first:
get sonarr to stop

service stop sonarr

then issue the following command (may take a while, portsnap takes a bit)

portsnap fetch extract && pkg update && pkg upgrade -y && pkg install -y llvm80 libepoxy-1.5.2

Copy the contents of this file: https://bz-attachments.freebsd.org/attachment.cgi?id=205999 into the following file that you will need to create (i used vi to create it, so i will give you the vi commands).

vi /tmp/mono-patch-5.20.1.34

In vi press i for insert, then paste the values in, then press ESC, followed by :wq to write and quit the file

cd /usr/ports/lang/mono && patch -E < /tmp/mono-patch-5.20.1.34 && vi Makefile

This will take you into the Makefile in vi where you need to modify the value for PORTREVISION from 5.10.1.57 to 5.20.1.34

Pressing x while it cursor is over a character will delete it in vi, so press x while over the old version, then you can press i to insert the new version.

Then press ESC, followed by :wq to write and quit the file.

Now you are ready to compile.

make -DBATCH install clean

followed by

make -DBATCH deinstall reinstall

followed by another round of pkg updating and upgrading

pkg update && pkg upgrade -y

and then

service start sonarr

Or you can wait until the new mono port becomes available soon.

I didnt want to wait, so i followed/modified the instructions from here: https://www.ixsystems.com/community/resources/how-to-manually-upgrade-mono-from-5-10-to-5-20-in-a-freenas-jail.126/ which is how i arrived at the above instructions.

Good Luck!

edit: adam took the wind out of my sails :(

@mranderson256

This comment has been minimized.

Copy link

@mranderson256 mranderson256 commented Mar 19, 2020

Thanks to you both! Waiting seems like the smarter choice in my case. I need to get myself learned on how to use snapshots first either way.

@pathsny

This comment has been minimized.

Copy link

@pathsny pathsny commented Aug 23, 2020

Great tutorial , just started about 45min ago. Currently on the Emby setup.
Struggled with transmission setup tho, struggling to understand a few things. eg. sysrc transmission_download_dir="" -----where should i set the download directory to? /media/downloads?
i stopped transmission....editted settings.json in /var/db/transmission. started plex and then get this error 👍
root@media:/mnt # service transmission restart
Stopping transmission.
Waiting for PIDS: 89362.
usage: chown [-fhvx] [-R [-H | -L | -P]] owner[:group] file ...
chown [-fhvx] [-R [-H | -L | -P]] :group file ...
Starting transmission.

" Create this user in your FreeNAS with the same uid and gid (typically 1001 if you haven't made a custom account yet).
--- Do i create this user in the freenas gui? What if iv already created a user in freenas gui?
"Add mounts for media + crashplan backups inside the jail (/mnt//media to /mnt/media). "

  • i dont have a /mnt//media folder....only a /mnt/media folder?

Hi Wez,looking at the guide, did you ever figure out how to get emby setup? i dont see it in the gist

@JoMas971

This comment has been minimized.

Copy link

@JoMas971 JoMas971 commented Feb 14, 2021

Looks like it doesn't work anymore with TrueNAS 12.0-U2. It doesn't find the pre-build version for this build.
Screenshot 2021-02-14 at 22 51 49

@zenxedo

This comment has been minimized.

Copy link
Owner Author

@zenxedo zenxedo commented Feb 14, 2021

Looks like it doesn't work anymore with TrueNAS 12.0-U2. It doesn't find the pre-build version for this build.
Screenshot 2021-02-14 at 22 51 49

That's weird. One of the reasons I moved away from Freenas. TrueNAS scale may be headed on the right direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment