Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

installing jail with radarr

Status
Not open for further replies.

scorp

Neophyte
Joined
Dec 7, 2017
Messages
9
Hi,
Im fairly new to FreeNAS and Linux but pretty wel self learning on the go:
i have FreeNAS 11.0.u4 installed and followed this guide of installing radarr:
https://github.com/Radarr/Radarr/wiki/Installation
also added the script from down below at etc/rc.d/radarr
But after restarting the jail and navigating to the ip:7878 i do not get any web
I have chowned all to media:media from jail/radarr/ and also set all perms to 775 of jail/radar folder.
But still no success

Can anyone help me solve this issue?

If i need to provide something please explain me exactly what i have to do also with command lines (if needed) as I said I'm fairly new to this but pretty quick learner

regards
 
Last edited by a moderator:

chomskyhonk

Neophyte
Joined
Nov 18, 2017
Messages
7
Don't bother with that guide unless you just really want to compile from source, there's already a binary in the official repos.

Code:
pkg update
pkg upgrade
pkg install radarr
sysrc radarr_enable=YES
service radarr onestart


This should be all you need to get a working jail.
 

Rilo Ravestein

Neophyte Sage
Joined
Mar 6, 2014
Messages
685

scorp

Neophyte
Joined
Dec 7, 2017
Messages
9
Don't bother with that guide unless you just really want to compile from source, there's already a binary in the official repos.

Code:
pkg update
pkg upgrade
pkg install radarr
sysrc radarr_enable=YES
service radarr onestart


This should be all you need to get a working jail.
I have deleted the jail, recreated new standard one and then tried this Chomskyhonk but i still i do not get a website.
What can i do now?

Edit:
Maybe somebody wants to create a plugin for it and upload it to the plugin repo?
I would love that, and guessing from the reactions on github radar more people would like that.
 
Last edited:

styno

Senior Member
Joined
Apr 11, 2016
Messages
462

FritVetBE

Member
Joined
Dec 28, 2013
Messages
87
Hey Scorp

Zou je de complete config file van sonarr eens kunnen posten?
Ik vermoed dat er daar ergens een parameter zal zijn die regelt of er external access (dus andere hosts in het subnet) toegang tot die webinterface mogen hebben of niet. Met Headphones had het me ook even bezig gehouden ;-)
 

FritVetBE

Member
Joined
Dec 28, 2013
Messages
87
Juist ja, de config file van Radarr inderdaad.

Waar deze config file precies staat zou ikzelf ook niet weten, kan het momenteel ook niet testen...

Ik zou vermoeden een van volgende locaties;
/var/db/radarr
/usr/local/radarr


Zie je in een van bovenstaande directories in de jail de config file?

Als de radarr service draait, en je voert volgende uit in de jail, wat krijg je dan terug?
ps aux
 

scorp

Neophyte
Joined
Dec 7, 2017
Messages
9
Code:
USER	PID %CPU %MEM   VSZ  RSS TT  STAT STARTED	TIME COMMAND
root  28944  0.0  0.0 10592 1944  -  IsJ  17:05   0:00.00 dhclient: epair4b [priv] (dhclient)
_dhcp 29009  0.0  0.0 10592 2056  -  IsJ  17:05   0:00.00 dhclient: epair4b (dhclient)
root  30798  0.0  0.0 10472 1992  -  SsJ  17:05   0:00.00 /usr/sbin/syslogd -s
root  30889  0.0  0.0 12564 1932  -  IsJ  17:05   0:00.00 /usr/sbin/cron -s
root  30998  0.0  0.1 19676 2984  0  SJ   17:06   0:00.01 tcsh
root  31012  0.0  0.1 21244 2124  0  R+J  17:06   0:00.00 ps aux


config file in usr/local/radarr
Code:
<Config>
  <LogLevel>Info</LogLevel>
</Config>


in var/db staat geen radarr map

edit:
en in /usr/local/etc/rc.d staat een file radarr met :
Code:
#!/bin/sh
#
# Author: Mark Felder <feld@FreeBSD.org>
#
# $FreeBSD: head/net-p2p/radarr/files/radarr.in 454856 2017-11-24 23:17:50Z dbaio $
#

# PROVIDE: radarr
# REQUIRE: LOGIN
# KEYWORD: shutdown

# Add the following lines to /etc/rc.conf to enable radarr:
# radarr_enable="YES"

. /etc/rc.subr

name="radarr"
rcvar=radarr_enable

load_rc_config $name

: ${radarr_enable="YES"}
: ${radarr_user:="radarr"}
: ${radarr_data_dir:="/usr/local/radarr"}

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

radarr_precmd()
{
	export XDG_CONFIG_HOME=${radarr_data_dir}

	if [ ! -d ${radarr_data_dir} ]; then
		install -d -o ${radarr_user} ${radarr_data_dir}
	fi
}

run_rc_command "$1"
 

scorp

Neophyte
Joined
Dec 7, 2017
Messages
9
found this :
usr/local/share/radarr/radarr.exe.config
Code:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.net>
	<connectionManagement>
	  <add address="*" maxconnection="100" />
	</connectionManagement>
  </system.net>
  <startup useLegacyV2RuntimeActivationPolicy="true">
	<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
  </startup>
  <runtime>
	<loadFromRemoteSources enabled="true" />
	<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
	  <probing privatePath="libs" />
	  <dependentAssembly>
		<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="5648fe6b2a6ceed" culture="neutral" />
		<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
	  </dependentAssembly>
	  <dependentAssembly>
		<assemblyIdentity name="NLog" publicKeyToken="12340e14c03g0593c" culture="neutral" />
		<bindingRedirect oldVersion="0.0.0.0-2.0.1.0" newVersion="2.0.1.0" />
	  </dependentAssembly>
	  <dependentAssembly>
		<assemblyIdentity name="Microsoft.AspNet.SignalR.Core" publicKeyToken="35643856hd364e35" culture="neutral" />
		<bindingRedirect oldVersion="0.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
	  </dependentAssembly>
	  <dependentAssembly>
		<assemblyIdentity name="FluentMigrator" publicKeyToken="aacfc7dej5ac95f05" culture="neutral" />
		<bindingRedirect oldVersion="0.0.0.0-1.3.1.0" newVersion="1.3.1.0" />
	  </dependentAssembly>
	  <dependentAssembly>
		<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856pl888e35" culture="neutral" />
		<bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="2.1.0.0" />
	  </dependentAssembly>
	</assemblyBinding>
  </runtime>
</configuration>


I now have following error in ssh:
Starting radarr.
su: /bin/csh: Permission denied
/usr/local/etc/rc.d/radarr: WARNING: failed to start radarr

Maybe i need to change the rc file top into something else?
 

Bryanem

Newbie
Joined
Sep 1, 2016
Messages
1
+1 for this issue. I have tried both the methods and get no webui. I am however on Freenas 11.1.

Looking forward to figuring out what this is. If there is anything I can post to help let me know. I am however very green so I'll need pretty specific instructions.
 

catnas

Member
Joined
Dec 12, 2015
Messages
55
Don't bother with that guide unless you just really want to compile from source, there's already a binary in the official repos.

Code:
pkg update
pkg upgrade
pkg install radarr
sysrc radarr_enable=YES
service radarr onestart


This should be all you need to get a working jail.
Does this work? It says there is no radarr package
 
Joined
Mar 29, 2017
Messages
3
I attempted this and received the same result as catnas.

pkg install radarr
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'radarr' have been found in the repositories
 

FritVetBE

Member
Joined
Dec 28, 2013
Messages
87
Status
Not open for further replies.
Top