Ombi: Port to .Net core

Created on 30 Dec 2016  路  31Comments  路  Source: tidusjar/Ombi

Let's all face it, anyone running on anything but windows usually runs into issues at some point.

Let's port this over to .Net core and remove the dependency from Mono.

V3 high priority in progress

Most helpful comment

Thanks guys!

I'm trying to work on this as much as my free time let's me. It might be a bit slow over the next 2 weeks as i'm getting married! 馃拻

All 31 comments

So is it not planned yet or in progress? I'm confused

It's in progress but a backburner, only working on it when I have time.

This will take a while to port everything over, since the frameworks are different, Core API is different from the Full Framework too and there are many dependencies that we use are not supported on .Net Core yet.

Wow, truly great news, I'm running Ombi on Ubuntu Server 16.10 and I've been experiencing that Ombi becomes unresponsive and only comes online again after I restart it, I figured it was due to mono.

Yeah, we have few issues from the limitations of mono. It's an excellent framework but it does have its caviats!

This has been put on hold for the time being as I am waiting for .Net core to mature a bit as there are still problems with the tooling and it's still very much influx.

Excellent news! Thanks!

@tidusjar just started with this. it will take a while but i think the linux users will be happy :+1:

Sonarr Integration is taking a while

Few reasons:

  • There are many different scenarios to test e.g. Single Episode request, Multiple episode requests in different seasons, Full season request, whole series request etc.

  • To cater for the above scenarios I need to code this right 馃槃

  • I want to get it right the first time around!

Do you need any help with this?

I could always use help!

Do you have a task list. Should I email you?

+1 I would like to help with some of the angular 4 work that you have.

@roly445 I'll create a task list, it's all in my head currently!

@bulbajackel yeah man that's cool!

I've created a bunch of high level tasks that is required! If you have any questions post on them :)

How far is this progressed? I ask because ombi crashes every 2 minutes on mono 5 xD

There were 9 commits in the past 10 days. Not sure if they were game changers, but there is some kind of progress.

I do not have issues with mono 5 other than Ombi being slow as hell. You might have some other issue.

Mono's GC is terrible so hopefully a .net core port fixes some of the issues. A picture of Ombi memory utilisation over a few days (you can clearly see the point where I killed it; note that Transmission, Plex and lighttpd are all running and being actively used in the remaining memory):
image

Hey guys. I'm working on this as my priority. All of my changes are pretty big ones. Literally in my spare time this is all I am doing !

Will we see any alpha/beta build we can test and help you iron out issues? :)

@zin105 I'll let you know! There are a few things I need to iron out first :) it shouldn't be too long.

Excited to see so much work on this. Thanks for the hard work @tidusjar !

Yeah I can hardly wait for a test build.
I just discovered Ombi for Emby and love it. Unfortunately it crashes very often on my Ubuntu 16.04 vps.

So thank you very much for the hard work

Thanks guys!

I'm trying to work on this as much as my free time let's me. It might be a bit slow over the next 2 weeks as i'm getting married! 馃拻

Congratulations Jamie!

Jason

Yeah, wow, seriously, grats @tidusjar!

I'm not sure if this is an issue with Ombi, or my dotnet install. I'm using Arch Linux with the dotnet-runtime-2.0 package (https://aur.archlinux.org/packages/dotnet-runtime-2.0/).

$ chmod +x Ombi; ./Ombi

Error:
  An assembly specified in the application dependencies manifest (Ombi.deps.json) was not found:
    package: 'runtime.linux-x64.Microsoft.NETCore.App', version: '2.0.0'
    path: 'runtimes/linux-x64/native/System.Native.a'

I have also tried running /usr/bin/dotnet ./Ombi.dll which gives the same error.

Are you trying to run from source?

This was from the linux.tar.gz appveyor build artifact this morning (https://ci.appveyor.com/api/buildjobs/43vlt3g81ahfc684/artifacts/linux.tar.gz I believe)

You do not need to install the .net runtime. It's a self contained application meaning it should have all the dependencies inside the .gz.

Make sure your working directory is where you extracted Ombi and then run .\Ombi

Thank you for the info. I've narrowed down my issue to when using a PKGBUILD in arch. If I simply download and extract the tar.gz then it does in fact run correctly.

Edit: After a little more poking it is because makepkg strips static libs (.a) files by default. Disabling that option fixes everything.
Edit 2: Here's the package if anyone else wants it. https://aur.archlinux.org/packages/ombi-beta/

is there a guide on how to install the .net version on Ubuntu?

@horstepipe see the main page of this github

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Thurman86 picture Thurman86  路  5Comments

Handl3vogn picture Handl3vogn  路  4Comments

PotatoQuality picture PotatoQuality  路  3Comments

douglasparker picture douglasparker  路  5Comments

weirdcrap picture weirdcrap  路  5Comments