Ombi in a jail?

Moppen

Dabbler
Joined
Sep 27, 2016
Messages
48
Hi *.*

as far as I understood it, it is at the moment not possible to install Ombi v3 on FreeBSD.

So I tried it with v2 (v2.2.1 was the last v2) with this: https://forums.freenas.org/index.php?threads/plex-request-or-similar.42187/#post-272728
Only that I pkg locked sqlite3 at first because Apps like Radarr, Sonarr, Lidarr and so on have troubles with it.
Now, that FreeBSD has passed a Mono Version thats works like a charm with Radarr etc. I hoped it'll do for Ombi, too. But it didn't.

When I start Ombi manually with 'screen mono /usr/local/Ombi/Ombi.exe' got Errormessages and Ombi wont start.

So I tried to pkg unlocked sqlite3, updated it or even installed from the ports but I keep getting this:
Code:
Starting Up! Please wait, this can usually take a few seconds.
Version: 2.2.1678
Location of the database: /usr/local/Ombi/Ombi.sqlite
Your operating system's sysconf (3) function doesn't correctly report physical memory size!
[ERROR] FATAL UNHANDLED EXCEPTION: NLog.NLogConfigurationException: Error when setting property 'Format' on Layout Renderer: ${exception} ---> System.ArgumentException: Object of type 'System.ReadOnlySpan`1[System.Char]' cannot be converted to type 'System.String'.
  at System.RuntimeType.CheckValue (System.Object value, System.Reflection.Binder binder, System.Globalization.CultureInfo culture, System.Reflection.BindingFlags invokeAttr) [0x00071] in <d7767e54cb234318be4a1e7ddd12ca51>:0
  at System.Reflection.MonoMethod.ConvertValues (System.Reflection.Binder binder, System.Object[] args, System.Reflection.ParameterInfo[] pinfo, System.Globalization.CultureInfo culture, System.Reflection.BindingFlags invokeAttr) [0x00069] in <d7767e54cb234318be4a1e7ddd12ca51>:0
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00011] in <d7767e54cb234318be4a1e7ddd12ca51>:0
  at System.Reflection.MonoProperty.SetValue (System.Object obj, System.Object value, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] index, System.Globalization.CultureInfo culture) [0x0005d] in <d7767e54cb234318be4a1e7ddd12ca51>:0
  at System.Reflection.PropertyInfo.SetValue (System.Object obj, System.Object value, System.Object[] index) [0x00000] in <d7767e54cb234318be4a1e7ddd12ca51>:0
  at NLog.Internal.PropertyHelper.SetPropertyFromString (System.Object obj, System.String propertyName, System.String value, NLog.Config.ConfigurationItemFactory configurationItemFactory) [0x00108] in <3ba0cff67b4d49d79d53f79e839f8ad9>:0
   --- End of inner exception stack trace --


Does anyone know if there is a way to get Ombi running in a jail at all?

Regards,
Stefan
 

jsmith65

Cadet
Joined
Jun 8, 2018
Messages
5
I'm having the same issue. I have no idea how to fix it. Can we get some help in here?
 

p30n

Cadet
Joined
Aug 1, 2018
Messages
6
*bumping this thread*
Has somebody had any success with ombi v2 or v3 with freenas in iocage jail yet?
I can't get it to start after following several different guides.
 

p30n

Cadet
Joined
Aug 1, 2018
Messages
6
getting similar errors as OP when trying ombi v2.2.1 also, should i go even further back with versions?
i've heard someone getting 2.2.1 working with freenas 11.1 but im out of luck with 11.2 following same guides. :(
 

diedrichg

Wizard
Joined
Dec 4, 2012
Messages
1,319
I would also like to get Ombi v3.xxxx running.
 

samuel-emrys

Contributor
Joined
Dec 14, 2018
Messages
136
I would also like to get Ombi v3.xxxx running.

Ombi v3 isn't supported for FreeBSD at all. To quote the lead dev/owner:
tidusjar said:
Looks like FreeBSD is currently not supported on .Net Core currently. There is not much I can do on this at the moment.
Closing for now, i'll reopen once .Net Core add's support for FreeBSD

You can read more here: https://github.com/tidusjar/Ombi/issues/1564

The easiest solution if you want to run 3.x is just to spin up an ubuntu VM.
 

diedrichg

Wizard
Joined
Dec 4, 2012
Messages
1,319

diedrichg

Wizard
Joined
Dec 4, 2012
Messages
1,319

katawan

Cadet
Joined
Feb 13, 2017
Messages
6
You can try and copy an updated NLog.dll into the install-folder of Ombi:

https://www.nuget.org/packages/NLog/4.4.13

Just open the nuget-package as zip-file and extract the NLog.dll from the net45-folder.

NLog ver. 4.4.13 fixes the above error:

https://github.com/NLog/NLog/releases/tag/v4.4.13

This works for me !

For others:

I follow the steps here -> https://www.ixsystems.com/community...darr-lidarr-jackett-transmission-organizr.58/

and then applied what was recommended here -> https://github.com/tidusjar/Ombi/issues/2938#issuecomment-485136464

Hope it help !
 
Top