Resource icon

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

dak180

Patron
Joined
Nov 22, 2017
Messages
307
Do you have any idea why your script as is would not work for me?
No idea, especially since according to the man page, it is valid syntax.

For privacy reasons I removed the IP and port in that bit of the log, but that is the IP from the VPN and the forwarded port. That's why I thought something wasn't right, with this new information, do you still think it's by design or maybe if there might be something wrong?
Unfortunately I really do not have enough info to be able to say.
 

rawkus

Explorer
Joined
Feb 13, 2014
Messages
69
Create the jail without trying to install any of the app part and then try
Code:
iocage exec jailname"mkdir -p /usr/local/etc/pkg/repos"
iocage exec jailname"nano /usr/local/etc/pkg/repos/FreeBSD.conf"

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

iocage exec jailname pkg upgrade

Thank you that allowed me to install the latetes plex pass version. Does this mean i somehow screwed up the pkg repository on my system?
 

Mannekino

Patron
Joined
Nov 14, 2012
Messages
332
Thank you that allowed me to install the latetes plex pass version. Does this mean i somehow screwed up the pkg repository on my system?

This is a rather common procedure for a Jail to enable the latest packages from the FreeBSD repository. I think this should be included in the manual to be honest. Would love to hear some opinions on this.
 

AirborneTrooper

Contributor
Joined
Jun 20, 2014
Messages
148
Organizr updated to API V2.1. You need to make a change inside the Organizr jail


Code:
nano /usr/local/etc/nginx/nginx.conf 

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;
}
location /api/v2 {
        try_files $uri /api/v2/index.php$is_args$args;
} 
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;
}
}
}
 

nathan.p.george

Dabbler
Joined
Mar 29, 2020
Messages
12
Is this going to get reviewed for the latest TrueNAS release? If love to use this guide but don't want to risk it just yet..
 

AirborneTrooper

Contributor
Joined
Jun 20, 2014
Messages
148
Is this going to get reviewed for the latest TrueNAS release? If love to use this guide but don't want to risk it just yet..

This tutorial still works, just need to make sure that if you're starting from scratch, you are making 12.1-RELEASE iocage jails. I'm hoping it's updated soon to avoid any confusion though.
 

Benc

Dabbler
Joined
Nov 5, 2015
Messages
37
I must have missed something. I installed sonarr v3 (sonar-devel), but I still see v2?
 

Pentaflake

Explorer
Joined
Jul 8, 2014
Messages
91
Sorry for the delay in getting the updates out some major projects at work have drained my free time. I will have some time next weekend to get it cleaned up. As a few people have pointed out the only major change is the requirement for newer mono on freebsd 12 to work with some of the mono based applications. You can either build yourself which is the preferred and recommended method to know what you are installing or use a copy of the provided mono 6.8.0.105 provided a number of places in this thread.
 

subi75

Dabbler
Joined
Oct 12, 2014
Messages
10
I'm in the process of creating a new 11.4 Release p5 Jail to migrate an existing PlexPass install from (the existing Jail's Pkg is dead as it claims that the pkg database doesnt exist (11.2 Release p14).
However, when it runs Pkg, I get the following errors (no packages are installed in the jail at this point, its just a base basic 11.4p5 iocage jail):
root@plex2:~ # freebsd-version
11.4-RELEASE-p5
root@plex2:~ # pkg update
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating D repository catalogue...
pkg: packagesite URL error for pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/latest/meta.conf -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/latest/meta.txz -- pkg+:// implies SRV mirror type
repository D has no meta file, using default settings
pkg: packagesite URL error for pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/latest/packagesite.txz -- pkg+:// implies SRV mirror type
Unable to update repository D
Error updating repositories!

Content of the /var/local/etc/pkg/repos/FreeBSD.conf is the following:
{
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"
}

I've tried force update, uninstall/reinstall both as bootstrap and normal (forced and unforced), and as soon as I try an update I get the above errors about the package site.
Anyone have an suggestions on how to get around this?
 

peter_cd.cn

Dabbler
Joined
Feb 9, 2018
Messages
39
Have you tried
Code:
pkg upgrade
? Instead of pkg update?
 

SeaFox

Explorer
Joined
Aug 6, 2013
Messages
98
Have you tried
Code:
pkg upgrade
? Instead of pkg update?
He would use both. The pkg update command updates the manifest of available packages to compare to his existing install, and pkg upgrade would actually run the comparison and offer to do the upgrades if newer ones are found. Update has to run and process successfully for there to be anything for upgrade to use.
 

subi75

Dabbler
Joined
Oct 12, 2014
Messages
10
He would use both. The pkg update command updates the manifest of available packages to compare to his existing install, and pkg upgrade would actually run the comparison and offer to do the upgrades if newer ones are found. Update has to run and process successfully for there to be anything for upgrade to use.
Seafox, yes i have tried both update and upgrade together and separately, and they always return with the same issue/error about the "pkg+:// implies SRV mirror type".

I've even now gone as far as upgrading the whole system to TrueNAS Core (12.2), and created a new Jail (12.2 Release p2)... Once I did that, I was able to run pkg to setup a blank Plex instance (modifying the OP guide to match the version of FreeNAS/TrueNAS)... that worked fine, until I copied the original jail's "Plex Media Server" data folder over... and in the process somehow killed pkg again (I'm receiving the same errors when doing a pkg update and/or upgrade, including using "pkg update && pkg upgrade" command.

I don't understand how restoring the PMS data folder would have affected pkg, but somehow it has.. For reference sake the version of pkg installed and generating the error on the TrueNAS Core system is
pkg -v
1.15.10

I had also created a fresh seperate Tautulli jail (TrueNAS Core jail 12.2 Release p2), but found that due to updates in Tautulli itself (unrelated to the version of FreeNAS/TrueNAS) the OP guide for Tautulli is way out of date (there are new updated dependency versions required, refer https://github.com/Tautulli/Tautulli-Wiki/wiki/Installation#freebsd--freenas). After getting the new Tautulli Jail up and running, it works fine with the same above version of pkg on the same physical TrueNAS Core host when performing updates..
 

afmiller

Contributor
Joined
Dec 11, 2013
Messages
106
Trying to re install Tautulli. I am at the stage where it needs to go to github. but the below command doesn't work. I am doing this as room

iocage exec tautulli git clone https://github.com/Tautulli/Tautulli.git /usr/local/share/Tautulli

I get this error

jexec: execvp: git: No such file or directory
Command: git clone https://github.com/Tautulli/Tautulli.git /usr/local/share/Tautulli failed!

if I go inside the jail and do the git clone command I get this error

Command - git clone https://github.com/Tautulli/Tautulli.git /usr/local/share/Tautulli

Result - git: Command not found.

I am trying to install this on truenas with 12.1 Jail base


Thanks
 

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
Looking for some tips or ideas on how to backup all these jails so if I ever lose the drive I don't lose everything. I was thinking about using Backblaze B2 but things like plex are 80+ GB and I don't want a huge charge.
 

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
Trying to re install Tautulli. I am at the stage where it needs to go to github. but the below command doesn't work. I am doing this as room

iocage exec tautulli git clone https://github.com/Tautulli/Tautulli.git /usr/local/share/Tautulli

I get this error

jexec: execvp: git: No such file or directory
Command: git clone https://github.com/Tautulli/Tautulli.git /usr/local/share/Tautulli failed!

if I go inside the jail and do the git clone command I get this error

Command - git clone https://github.com/Tautulli/Tautulli.git /usr/local/share/Tautulli

Result - git: Command not found.

I am trying to install this on truenas with 12.1 Jail base


Thanks
Have you installed git?
Code:
pkg install git
 

vanman69ny

Cadet
Joined
Jul 22, 2020
Messages
5
I am runing Truenas 12.1U1. I was attempting to install Ombi v4 by following steps you have for ombi on here. I changed the jail version to 12.2.
I fetched this https://github.com/Ombi-app/Ombi/releases/download/v4.0.1009/linux-x64.tar.gz instead of the older zip file.
I am unable to see the website and if i tart the ombi service I don't get any errors. I gt the following when I stop it:

root@ombi:/usr/local/etc/rc.d # service ombi stop
ombi not running?

I am not sure how to troubleshoot it further. Assistance would be appreciated.
 

ChaosBlades

Contributor
Joined
Jul 4, 2015
Messages
137

SeaFox

Explorer
Joined
Aug 6, 2013
Messages
98
Not sure if anyone is aware but Radarr is updated to use .Netcore. I backed up my settings, destroyed the jail, and created a new 12.2-RELEASE. Most of the instructions can be found here: https://www.truenas.com/community/threads/experimental-radarr-v3-1-dotnet5-binary.91489/

There's a pre-compiled version of Mono 6.8.0.105 out there and I installed that and was able to get the current stable v3 Sonarr and Radarr running. Strangely I couldn't do a fresh install of current on Radarr and ended up installing the version in this guide, then using the built-in upgrade mechanism a couple times to get it up to current.
 

AirborneTrooper

Contributor
Joined
Jun 20, 2014
Messages
148
There's a pre-compiled version of Mono 6.8.0.105 out there and I installed that and was able to get the current stable v3 Sonarr and Radarr running. Strangely I couldn't do a fresh install of current on Radarr and ended up installing the version in this guide, then using the built-in upgrade mechanism a couple times to get it up to current.

I believe Radarr and Sonarr will eventually completely abandon Mono. I was able to get it to work a few months back as well but I notice the last update for Radarr showed a health status alert telling me to upgrade to the .Net version.
 
Top