Resource icon

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

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Thanks for that.

I'm working on some other stuff now, just trying to get plugins (!!) working, not manual jails. But one plugin (sickrage) has some slight faults, or my system does. When that's up and running I'll look at more stuff in this tutorial.
 

bigzaj

Explorer
Joined
Jan 6, 2016
Messages
95
I'm trying to setup another instance of radarr -> radarr4k for 4k only movies. I get through the entire setup creating a jail I've named radarr4k after the RC file creation it does not start, says cannot find the command.

Other than the iocage jail name being radarr4k vs radarr and using radarr4k for the iocage exec commands, what else do I need to change for another instance?
 

Pentaflake

Explorer
Joined
Jul 8, 2014
Messages
91
I'm trying to setup another instance of radarr -> radarr4k for 4k only movies. I get through the entire setup creating a jail I've named radarr4k after the RC file creation it does not start, says cannot find the command.

Other than the iocage jail name being radarr4k vs radarr and using radarr4k for the iocage exec commands, what else do I need to change for another instance?

An honest question, why do you need another instance to have it just do 4K, that can be natively done within radarr with quality profiles?
 

anmnz

Patron
Joined
Feb 17, 2018
Messages
286
it does not start, says cannot find the command
What command did you run exactly (was it service radarr start inside the jail?) and what exactly was the output?

Is it possible you have created the rc script with Windows line endings instead of Unix?

(It think that's what @mow4cash suggested a couple of messages back in this thread in response to @diskdiddler's report of a similar error message, take a look.)
 

par

Explorer
Joined
Sep 26, 2013
Messages
92

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
par:

Exactly, it seems the port maintainer can't keep up. Considering one of them gets updates all the time, don't blame them.

What's the defacto way to keep software updated which you've had to download manually via zip / gzip file?
Easiest method, I mean.
 

Pentaflake

Explorer
Joined
Jul 8, 2014
Messages
91
par:

Exactly, it seems the port maintainer can't keep up. Considering one of them gets updates all the time, don't blame them.

What's the defacto way to keep software updated which you've had to download manually via zip / gzip file?
Easiest method, I mean.

All of the applications that are installed manually are updated via internal mechanisms of each application.

What? Easy solution is to install via pkg just like everything else. Why would you install those manually?
https://www.freshports.org/net-p2p/radarr/
https://www.freshports.org/net-p2p/jackett/
Edit: Oh I see, the port for Jackett is very far behind the github releases

If you were to install them via pkg/ports and then they get updated via the internal mechanism and if later the pkg or port version gets an update that is older then auto update version you will likely break your db for the application.

There was some thought put into why things were done the way they are in the guide.
 

par

Explorer
Joined
Sep 26, 2013
Messages
92
What's the defacto way to keep software updated which you've had to download manually via zip / gzip file?
Easiest method, I mean.

Do a git clone instead of manual zip file. Then you can use a git pull to update.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Do a git clone instead of manual zip file. Then you can use a git pull to update.
I'm sorry, can you please elaborate a little? :(
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
All of the applications that are installed manually are updated via internal mechanisms of each application.

In an ideal world, you're right.
qbittorrent, does not offer this option for example.
jackett, which I also installed manually (as per this guide) is now updated as of 16 hours ago.
I have .9.6.0
Now there's 0.9.14
I see no option, within the jackett application to instigate an auto or manual update? (and I know for certain, one does not exist in qbittorrent)


As 3/10 skill guy with linux / freebsd, I'm capable of shutting down the plugin, re-downloading a zip and extracting it, back over the top of the old files, pretty easily. I'm just hoping there's an easier way.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
DIFFERENT TOPIC:


Anyone seeing immense CPU use from Radarr? I've seen some posts on the net about this a few times, it's really mauling my machine at times.
I'm not sure if it's file copy / move operations or what but now and then it decimates the machine, the load goes up to 7 for example (it's normally .3->.7 as I have a weak CPU)

I don't mind the occasional blip but I find Radarr not only maxes her out, but also holds her there to boot.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
I've seen this happen in my custom warden jail, if you restart Radarr from within its own Web-UI it doesn't seem to end the old mono instance which then hits 100% CPU and stays there until you kill it.
Interesting observation! I do tend to use that restart option regularly. I'll try not doing this at all and see what happens for the next week or two.

Indicates a bug in the restart code then?
Thx
 

Pentaflake

Explorer
Joined
Jul 8, 2014
Messages
91
In an ideal world, you're right.
qbittorrent, does not offer this option for example.
jackett, which I also installed manually (as per this guide) is now updated as of 16 hours ago.
I have .9.6.0
Now there's 0.9.14
I see no option, within the jackett application to instigate an auto or manual update? (and I know for certain, one does not exist in qbittorrent)


As 3/10 skill guy with linux / freebsd, I'm capable of shutting down the plugin, re-downloading a zip and extracting it, back over the top of the old files, pretty easily. I'm just hoping there's an easier way.

I can only speak for the mono applications in this guide for auto updates. Jackett v0.8.# seems to have some issues with auto update mechanism with the current mono. That said it looks like Jackett v0.9.# works fine for auto updating. There is a checkbox to disable it on the jackett settings page as its on by default and there is also a check for updates button that will trigger an update. Not sure why yours didn't specifically update automatically when I tested v0.9.6 it updated fine to 0.9.16.0.

I have updated the guide to the latest release url for jackett.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
I can only speak for the mono applications in this guide for auto updates. Jackett v0.8.# seems to have some issues with auto update mechanism with the current mono. That said it looks like Jackett v0.9.# works fine for auto updating. There is a checkbox to disable it on the jackett settings page as its on by default and there is also a check for updates button that will trigger an update. Not sure why yours didn't specifically update automatically when I tested v0.9.6 it updated fine to 0.9.16.0.

I have updated the guide to the latest release url for jackett.



Thanks so much.

Sorry I used a bad example, I'm dumb! ARGH

My question, was slightly offtopic and general query for *nix / bsd.
So my point is, if an application is included in a zip, not on freshports *and* doesn't have an auto update.

What is the defacto, best method to upgrade the package? Is it literally re-download zip, install over the top?
 

Laurence Milton

Dabbler
Joined
Apr 2, 2017
Messages
16
I am running FREENAS 11.1 Stable
I have successfully installed Plex and Sonarr under iocage and both are running fine. I have sabNZBD and Radarr running under the old Warden jails.

I am trying to set up Radarr under iocage but am having problems setting up the initial iocage jail for radarr. When I run:-
Code:
 iocage create -n "radarr" -p /tmp/pkg.json -r 11.1-RELEASE ip4_addr="vnet0|192.168.1.20/24>" defaultrouter="192.168.1.254" vnet="on" allow_raw_sockets="1" boot="on" 

I get the dreaded message:- "Error: error sending query: Error creating socket"

I have read through all 24 pages of this thread and tried the suggested solutions including adding Tunables: - View attachment 24673

Unfortunately nothing seems to work.
Just wondering if there are any other suggestions of what I could try.

Thanks
Bump...
 

NasKar

Guru
Joined
Jan 8, 2016
Messages
739
Joined
Jul 25, 2018
Messages
2
Can't access Transmission Web interface from LAN with these ipfw rules when the openvpn is up. I can only access Transmission web when the openvpn interface is down. So, I changed the ipfw rules to implement a kill switch for transmission just in case openvpn tun0 disconnects and it works for the following ipfw script rules. But, I still can't access the Transmission web interface. Someone has any ideas on how to get around this problem?

Code:
#!/bin/bash
# Flush out the list before we begin
ipfw -q -f flush

# Set rules command prefix
cmd="ipfw -q add"
vpn="tun0"

# allow all local traffic on the loopback interface
$cmd 00001 allow all from any to any via lo0

# allow any connection to/from VPN interface
$cmd 00010 allow all from any to any via $vpn

# allow connection to/from LAN by Transmission
$cmd 00101 allow all from me to 10.11.0.0/16 uid transmission
$cmd 00102 allow all from 10.11.0.0/16 to me uid transmission

# deny any Transmission connection outside LAN that does not use VPN
$cmd 00103 deny all from any to any uid transmission
 

afmiller

Contributor
Joined
Dec 11, 2013
Messages
106
Hello, I have Lidarr set up and running. It has no issue with the nzbs but I am also trying to set up transmission as one of the downloaders. It has the default presets, but it wants a username and password. I've tried going in and setting the rpc username, authentication to true and changing the password. I have it where it requires a login to get to the browser and the login credentials work, but I still get an authentication error when trying to add it via lidarr. Has anyone got this to work and how?

Thanks
 
Top