Link Search Menu Expand Document

How to install Tautulli in a FreeNAS iocage jail

I wanted to access the Internet safely and securely from my smartphone or laptop when I am connected to an untrusted network such as the WiFi of a hotel or coffee shop. A Virtual Private Network (VPN) allows you to traverse untrusted networks privately and securely as if you were on a private network. The traffic emerges from the VPN server and continues its journey to the destination.

Table of contents
  1. Getting started
    1. pkg update && pkg upgrade
    2. nano
    3. Change from quarterly to latest
  2. Install Tautulli
  3. Copy old database
  4. Enable autostart
  5. Fault finding
    1. rc.d/tautulli
  6. Authors
  7. Acknowledgments

Getting started

pkg update && pkg upgrade

root@Tautulli:~ # pkg update && pkg upgrade
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: yes


root@Tautulli:~ # pkg install nano
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	nano: 4.6
	indexinfo: 0.3.1
	gettext-runtime: 0.20.1

Number of packages to be installed: 3

The process will require 3 MiB more space.
686 KiB to be downloaded.

Proceed with this action? [y/N]: y

Change from quarterly to latest

To receive the latest updates from the packet manager, change this:

root@ELK:~ # nano /etc/pkg/FreeBSD.conf 


FreeBSD: {
  url: "pkg+${ABI}/quarterly",


FreeBSD: {
  url: "pkg+${ABI}/latest",

Install Tautulli

Change directory to /usr/local/share.

root@Tautulli:~ # pkg install tautulli

Copy old database

Copy the old database to Tautulli’s installation folder which is /usr/local/www/tautulli/.

root@freenas:/mnt/Baldhead/jails/Tautulli/usr/share # cp /mnt/Baldhead/jails/Tautulli/usr/local/share/Tautulli/tautulli.db /mnt/Baldhead/iocage/jails/Tautulli/root/var/db/tautulli/

Enable autostart

root@Tautulli:/usr/local/www/tautulli # nano /etc/rc.conf
# Enable Tautulli     

Fault finding


The startup script is located here:

root@Tautulli:/usr/local/www/tautulli # more /usr/local/etc/rc.d/tautulli
# Created by: Mark Felder <>
# $FreeBSD: head/multimedia/tautulli/files/ 466727 2018-04-07 14:14:23Z feld $
# PROVIDE: tautulli
# KEYWORD: shutdown
# Add the following lines to /etc/rc.conf to enable Tautulli:
# tautulli_enable="YES"

. /etc/rc.subr

load_rc_config $name

: ${tautulli_enable:=NO}
: ${tautulli_user=tautulli}
: ${tautulli_group=tautulli}

command_args="-d --nolaunch --datadir /var/db/tautulli"

        if ! [ -e /etc/localtime ] ; then
                echo "Tautulli needs the system timezone to be set."
                echo "Please run /usr/sbin/tzsetup"
                exit 1
        install -d -o ${tautulli_user} -g ${tautulli_group} /var/db/tautulli

run_rc_command "$1"

Create a user for this service.

Type: cd /usr/local/share/
Type: git clone


Mr. Johnson