Scripted Tautulli Installation (TrueNAS CORE)

This resource was originally created by user: * Basil Hendroff on the TrueNAS Community Forums Archive. Please DM this account or comment in this thread to claim it.

As evidenced in the forum thread Tautulli been running fine but now can’t start, the transition from Python 2 to 3 has been somewhat bumpy for Tautulli users on FreeNAS. The Tautulli FreeBSD/FreeNAS Installation Instructions lends itself to scripting, however, it leaves the Tautulli database in the jail. The hint on how to relocate the Tautulli database outside the jail is included in the forum resource FN11.3 iocage jails - Plex, Tautulli, Sonarr, Radarr, Lidarr, Jackett, Transmission, Organizr.

This scripted installation of Tautulli will create a jail, install the latest version of Tautulli for FreeBSD from tautulli.com, and store its data files outside the jail where it can be more easily managed.

Scripted installation instructions are at GitHub - basilhendroff/truenas-iocage-tautulli: Script to install Tautuilli in an iocage jail..

Acknowledgements:

  1. @danb35 for allowing me to reuse code fragments from his scripts and adopt his documentation style to facilitate rapid script development and deployment, and maintain a consistent look-and-feel.
  2. @Pentaflake for the Tautulli data directory pointer.

References:

  1. Forum thread Tautulli been running fine but now can’t start
  2. Tautulli FreeBSD/FreeNAS Installation Instructions.
  3. FN11.3 iocage jails - Plex, Tautulli, Sonarr, Radarr, Lidarr, Jackett, Transmission, Organizr.

https://www.truenas.com/community/resources/scripted-tautulli-installation.153/download

As always, thanks to who provide those usefull script to community (and newbie as me :slight_smile: )
Unlucky, for me dosn’t work:
i managed to add

# If release is 13.1-RELEASE, change to 13.2-RELEASE
if [ "${RELEASE}" = "13.1-RELEASE" ]; then
  RELEASE="13.2-RELEASE"
fi

and installation start, but from what i see in the shell install not fail but can’t add those dependencies:

py38-openssl

py38-pycryptodomex

and the jail not working

Unfortunately it seems Basil has been gone for over a number of years now. I’ll try to clone his repo and post the updated script here.

1 Like

i tried to update the dependencie download as described here

# List packages to be auto-installed after jail creation
cat <<__EOF__ >/tmp/pkg.json
	{
  "pkgs":[
  "nano","bash","python","py39-setuptools","py39-sqlite3","py39-openssl","py39-pycryptodomex","security/ca_root_nss","git-lite"
  ]
}
__EOF__

but not works either… hope it helps

Screenshot 2024-06-18 172613

May I take over this resource? @iX_Resources

@oxyde Clone this repo and run the install again.

git clone https://github.com/tschettervictor/truenas-iocage-tautulli
1 Like

I just saw you could actually just do

pkg install tautulli

But source is more up to date I suppose.

done!
Install goes fine now, service is running, but jail is still unreachable :exploding_head:
Any idea on how i can debug this?

Are you adding port 8181 at the end?

1 Like

no… :face_in_clouds: :face_in_clouds: :face_in_clouds: work like a charm, really thanks for help me everytime!

This link does not work. I am not proficient enough to do it with the script on your github “tautulli-install.sh”

When I copy and paste the link im replying to that worked for @oxyde it asks me for my username. Before I break something I will stop right now and wait for you to respond lol.

I was able to run the original script no problem, i created the config file, but like oxyde, tautulli install somehow wasn’t successful.

Use this instead, i think Victor moves everything into this repo

Thanks for responding man! I tried but I didn’t know exactly how to do it.

His tautulli script also installs it, but I’m not sure how to set it to install the metadata outside the jail based on his script. I looked through it and it seems like it will install the app.

I downloaded it to my server but I didn’t get the sense from the script “tautulli-install.sh” that it would create the jail, etc. am I mistaken?

Basically, his script looked nothing like the original, didn’t seem to have the same parameters in terms of creating the jail:

ORIGINAL: truenas-iocage-tautulli/tautulli-jail.sh at master · basilhendroff/truenas-iocage-tautulli · GitHub

HIS SCRIPT: bsd-apps/tautulli/tautulli-install.sh at main · tschettervictor/bsd-apps · GitHub

And I’m too scared to try and put it together. I can read through the script and get a sense of what’s going on but don’t know if I can pull this one off on my own lol

You need to create the jail before, then run the script inside :wink:
According to the read.me seems tautulli don’t need anything fancy, just a mount point for data.
After created the jail fetch the repo, give execution permission and run It

Do you happen to know which folders are considered the metadata?

Would you think it is better to just pkg install tautulli instead of doing it through that script?

Should be /mnt/data (relative to the jail).

For this specific case the step will be pratically the same, but IMHO those scripts make my Life easier in the past, think about more complex app

I AGREE, this is why I was hoping to see a functional version of the script originally posted here. I am butthurt I gotta do this manually :sweat_smile:

either way I ran the pkg install and its working. Now I just gotta rsync and mount the data points :sob::sob:

1 Like

I actually ran the script that doesn’t work, then I did pkg install tautulli and it worked flawlessly, everything set up properly, data point mounted!!! Basically worked!

1 Like

Script had some bugs. They are now fixed. Just ran it and it worked great.

  • data point was wrongly created
  • start command was missing
  • python package was missing