Giter Club home page Giter Club logo

Comments (19)

fulder avatar fulder commented on August 27, 2024 2

After searching and digging around a bit after the cause for this issue I think I finally managed to find something. It look like mono on 12.1 version is a bit different build compared to e.g. 12.2 version.

12.1:

Mono JIT compiler version 5.10.1.57 (5.10.1.57 Wed Feb 17 21:18:53 UTC 2021)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	Interpreter:   yes
	LLVM:          supported, not enabled.
	GC:            sgen (concurrent by default)

12.2:

Mono JIT compiler version 5.10.1.57 (5.10.1.57 Tue Feb 16 01:44:31 UTC 2021)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notification:  kqueue
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	Interpreter:   yes
	LLVM:          supported, not enabled.
	GC:            sgen (concurrent by default)

The version is actually the same, although the build time on 12.1 FreeBSD is 1 day newer. Furthermore the FSBD_1.6 seems to be a Symbol Version variable for FreeBSD 13 (see: https://wiki.freebsd.org/SymbolVersioning).

My theory is that the latest mono compile/build for 12.1 FreeBSD somehow managed to use the invalid FSBD_1.6 instead of FSBD_1.5 which could cause the problems we are seeing. A quickfix could be to simply update the affected plugin manifests to the newer (and working) FreeBSD version.

UPDATE: Version 12.1 of FreeBSD is actually already EOL so upgrading to 12.2 is probably a good idea after all.

from iocage-plugin-index.

fulder avatar fulder commented on August 27, 2024 1

Who maintains the plugin

In radarr and sonarr cases this is a bit more complected than just the plugin maintainer as both are installed using a prebuilt FreeBSD package with mono dependencies. (I'm guessing we could change these plugins and install them into a more manual manner, but not sure that's the right way to go here, see section below)

IMO the correct way of updating mono for these specific plugins would be to contact the package maintainer and update the mono dependencies there. I don't really know the fastest process of requesting/making such changes, have just tried to mail the corresponding package maintainer asking for this update.

from iocage-plugin-index.

balbassam avatar balbassam commented on August 27, 2024 1

Just installed a fresh radarr plugin on my truenas machine and it works! :)
Thanks for all the work!

from iocage-plugin-index.

fulder avatar fulder commented on August 27, 2024 1

Is a fresh install required here or should we able to update the community plugins and then do an 'Update' via the UI?

@applemang I tried upgrading sonarr (using the UI) which worked just fine but I had troubles with radarr (not sure if there was something broken with my jail), ended up installing a fresh one of it instead. My tip would be to run and download a backup, try an upgrade and in worst case install a fresh plugin and restore the backup (this is what I ended up doing with radarr).

from iocage-plugin-index.

repvik avatar repvik commented on August 27, 2024

Can confirm this issue. Seeing the same missing symbol.

from iocage-plugin-index.

mikk150 avatar mikk150 commented on August 27, 2024

Emby has same issue as well

from iocage-plugin-index.

Thefrank avatar Thefrank commented on August 27, 2024

mono need to be built under the (oldest) FreeBSD version they will be running under which is likely why you are seeing those symbol version errors. dotNET runs into this same problem (cross built under 12 will not run under 11)

edit: this usually should not be an issue as there is some compatibility inside the libraries to handle old APIs but I guess that is not the case here

from iocage-plugin-index.

altonius avatar altonius commented on August 27, 2024

I upgraded my mono in the jail to 6.8.0.105 and resolved the issue.

from iocage-plugin-index.

fulder avatar fulder commented on August 27, 2024

Another good explanation related to this issue: https://forums.FreeBSD.org/threads/python-undefined-symbol-close_range-fbsd_1-6.78983/post-495312. I will create a new PR shortly upgrading the affected plugins to the latest non-EoL FreeBSD version.

from iocage-plugin-index.

spacecabbie avatar spacecabbie commented on August 27, 2024

I upgraded my mono in the jail to 6.8.0.105 and resolved the issue.

I am on 6 never had the issue. We should really step away from 5.

from iocage-plugin-index.

jryski avatar jryski commented on August 27, 2024

I upgraded my mono in the jail to 6.8.0.105 and resolved the issue.

I am on 6 never had the issue. We should really step away from 5.

I'm on the same version of Mono 6.8.0.105, on Truenas 12.2U2 and Radarr service will not launch. Not in the shared jail I had it running in, nor in a new jail created for testing. This stopped working in the last 48 hours for me. My truenas ui failed to present the login prompt, which led to me restarting the entire server, Radarr would not load after restart. I've tried reinstalling, restoring from backup, and updating every related pkg I could think of.

from iocage-plugin-index.

spacecabbie avatar spacecabbie commented on August 27, 2024

Who maintains the plugin we have a dotnet version running with radarr it would be a great way to avoid this mono issues.,

from iocage-plugin-index.

tprelog avatar tprelog commented on August 27, 2024

Who maintains the plugin

The easiest way to determine this, is by checking where the artifact repository point to, in the plugin's manifest.

https://github.com/ix-plugin-hub/iocage-plugin-index/blob/master/radarr.json#L4

radarr, looks like it may have been previously maintained by ix-systems, but has now been moved here, to the community plugins. I think two possible options are

  1. Fork the artifact repo and apply your changes. Then create a PR back to upstream artifact repo.

  2. Fork the artifact repo and apply your changes. Then create a PR, changing the artifact repo to use your fork, and have more control.

from iocage-plugin-index.

fulder avatar fulder commented on August 27, 2024

have just tried to mail the corresponding package maintainer asking for this update

Got a really fast response explaining mono 6.X have no good FreeBSD support for this time being with a link to a long issue/discussion about this: https://reviews.freebsd.org/D23300

from iocage-plugin-index.

spacecabbie avatar spacecabbie commented on August 27, 2024

Alright fair but the lads at radarr have dotnet working its smooth sailing i am beta testing it now but I do not know how to update a plugin. Zo figured I would tag the maintainers but as I understand this there is none atm ?

from iocage-plugin-index.

repvik avatar repvik commented on August 27, 2024

Make an alternative plugin (eg. radarr-dotnet) and get that added to community plugins?

from iocage-plugin-index.

fulder avatar fulder commented on August 27, 2024

The PR upgrading the mono dependent plugins from FreeBSD version 12.1 to 12.2 (#179) should be merged and ported back to the 12.2-RELEASE branch (#195). I hope this should solve this issue and we could maybe close this one?

If you have some time, please refresh your community plugin index in the UI and verify if this fix works for you as well.

from iocage-plugin-index.

applemang avatar applemang commented on August 27, 2024

The PR upgrading the mono dependent plugins from FreeBSD version 12.1 to 12.2 (#179) should be merged and ported back to the 12.2-RELEASE branch (#195). I hope this should solve this issue and we could maybe close this one?

If you have some time, please refresh your community plugin index in the UI and verify if this fix works for you as well.

Is a fresh install required here or should we able to update the community plugins and then do an 'Update' via the UI?

from iocage-plugin-index.

jryski avatar jryski commented on August 27, 2024

from iocage-plugin-index.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.