Giter Club home page Giter Club logo

Comments (20)

turboture avatar turboture commented on August 27, 2024 1

Thank you for all your help.

from iocage-plugin-index.

fulder avatar fulder commented on August 27, 2024

From what I can see there seems to be a fix for python upgrade for this which was merged to master just 3 days before this issue was created: #106. But this fix has only been ported back to the 12.1-RELEASE branch (at least following the PR history)

Although the errors you are getting are probably because pip and git is not installed but the latest plugin version is requiring them since this PR: ix-plugin-hub/iocage-plugin-sickchill#1.

So in order to fix this master could maybe be synced to 11.3-RELEASE if this is OK @kmoore134 ? Will running FreeNAS 11.3 support running plugins with newer FreeBSD versions or will this cause more issues?

Otherwise it could also by solved by creating a patch update for the 11.3-RELEASE branch only with the python update and git/pip installation (would probably be a good idea to lock the release branches in the SickChill plugin for different kind of releases instead of just having 1 master for all of them).

(A bit outside of this issue but I've tested installing the plugin on a 12.1-RELEASE TrueNAS Core system and it worked fine)

from iocage-plugin-index.

turboture avatar turboture commented on August 27, 2024

Hi
Is it possible for you or anyone else to help us with a updated plugin or a patch?

from iocage-plugin-index.

turboture avatar turboture commented on August 27, 2024

@fulder
Is it possible for you to help us?

from iocage-plugin-index.

fulder avatar fulder commented on August 27, 2024

@turboture Could this PR maybe solve the issue: #134 ?

I don't have a 11.3-RELEASE system to test with but if you would want to try, that would be much appriciated. You can in a FreeNAS ssh session just run:

  • fetch https://raw.githubusercontent.com/fulder/iocage-plugin-index/11.3-RELEASE/sickchill.json
  • iocage fetch -P sickchill.json --name sickchill_test dhcp=on

from iocage-plugin-index.

turboture avatar turboture commented on August 27, 2024

@fulder Thank you for trying to help us. I got these errors. I tried to install it from ssh and shell. Same result.

image

from iocage-plugin-index.

turboture avatar turboture commented on August 27, 2024

and now I cant delete the jail but that is a question for another forum.

from iocage-plugin-index.

fulder avatar fulder commented on August 27, 2024

Missed updating the packagesite from pkg.cdn.trueos.org to pkg.FreeBSD.org on my fork. Could you check if it works better after the latest push?

from iocage-plugin-index.

fulder avatar fulder commented on August 27, 2024

Have you tried destroying it with iocage destroy <JAIL_NAME> command? I've sometimes seen that my jails are destroyed correctly using the iocage command but seems to still be present using the old jls command. Only a reboot of my FreeNAS system would clean thoes up.

from iocage-plugin-index.

turboture avatar turboture commented on August 27, 2024

image

I can access sickchill despite the errors.

image

Tried the destroy command and it worked. Thanks.

from iocage-plugin-index.

turboture avatar turboture commented on August 27, 2024

Do I use your patch and change it to my jail? Or is it something I update/install from the plugin menu in freenas later?

from iocage-plugin-index.

fulder avatar fulder commented on August 27, 2024

One step closer then :) I'm guessing the plugin packages were installed correctly. The errors you're seeing are happening because of the SickChill requirements installed in the plugins post_install.sh script and one python pip dependency which cannot be installed.

I'm actually getting the exactly same error running TrueNAS-12.0-STABLE and inside a 12.1-RELEASE jail. I've created another PR for this second issue: #136 (Should probably be ported back to, at least 12.2-RELEASE and maybe also 11.3-RELEASE).

Just out of curiosity, wouldn't simply running an update on your jail solve this issue without any need for this patching? Have you tried doing that?

from iocage-plugin-index.

turboture avatar turboture commented on August 27, 2024

I have tried that. SickChill doesnt start after update. Wrong version of python perhaps?

from iocage-plugin-index.

fulder avatar fulder commented on August 27, 2024

Do I use your patch and change it to my jail? Or is it something I update/install from the plugin menu in freenas later?

If the 11.3-RELEASE branch gets patched I think it would be enough to just refresh the plugin index from the UI and update SickChill from UI as well.

I have tried that. SickChill doesnt start after update. Wrong version of python perhaps?

Sorry I got confused regarding all the release versions/branches. Double checking the iocage code and if I understand it correctly the index branch will be matched against the freebsd-version output i.e FreeBSD version FreeNAS/TrueNAS is based upon. So even updating your plugin will still lock it to the 11.3-RELEASE plugin branch, 11.3-RELEASE FreeBSD version for the plugin and (as written in previous comment) still use the master branch of the plugin while running the post_install.sh script. Furthermore the post_install.sh script in the plugin (even before the previously posted PR fix for the newest version) downloads the master version of the official SickChill repository.

This is actually problematic for any kind of plugins with only one master branch and/or plugins which just fetches/downloades the latest version of the plugin code/binaries.

IMO the "right" fix for these issues would be to actually lock the versions of everything as much as possible in every step, so summarized for SickChill plugin:

  • Index already locked to this repository branch
  • Plugin Jail version already locked in this repository for every plugin
  • Plugin version NOT locked with release branches
  • Downloaded plugin artifacts NOT locked to any version

But as the patch quickfix PR is currently open, we could probably just merge it and fix this SickChill issue this way.

from iocage-plugin-index.

fulder avatar fulder commented on August 27, 2024

@turboture the patch branch has now been merged to 11.3-RELEASE branch. If you get a free moment and want to test it I think it should work to just refresh your index and install the plugin from the UI.

from iocage-plugin-index.

turboture avatar turboture commented on August 27, 2024

Same error with libxm but that was to be expected.

This is a new error. The plugin starts at it should.

image

On a sidenote. Is it possible to update an existing installation?

from iocage-plugin-index.

fulder avatar fulder commented on August 27, 2024

Same error with libxm but that was to be expected.

Yes, like you say libxm error is still expected as #136 has also been merged, but "only" to master and need to be ported back to the other releases to work for them as well. I commented in the PR to merge it back to 11.3-RELEASE in order to solve this issue for you and others still running this version.

This missing lib seems to have a larger impact than I thought. Because it is a part of the SickChill requirements installation it also breaks all the other requirements. I.e. none of them are installed. The SickChill UI can still be reached and probably works good although e.g. parsing XML responses from different providers will probably not work. (Find it a bit weird there haven't been more issues regarding this, especially as this shouldn't work for the newest release either)

This is a new error. The plugin starts at it should.

Couldn't see this while using 12.1-RELEASE of FreeBSD in my jail. But because the error means the system is running an older openssl version which accepts TLS versions below 1.3 this is problematic both while starting SickChill (as stated in the error message, for the providers hosted by/using Cloudflare) but also seems to break the SickChill requirements installation. I've tried to use the 11.3-RELEASE branch SickChill file and install it inside a 11.3 jail and could see this error as well. 11.3 is running OpenSSL 1.0.2s-freebsd 28 May 2019 and we would need to upgrade it to at least 1.1.1 in order to make SickChill start up properly. Even though it is possible to install a newer version of OpenSSL from pkg, the python binary is still compiled for this OS using the older version and requirement installation (of the cryptography python package) fails.

This issue (and quickfix) is starting to grow much more than I first anticipated. Can I ask why you are still running FreeBSD 11.3? It is a version already marked as EOL (as of 30th of September this year) so it feels weird to try to hack in patches on FreeBSD level to make this plugin work. On the other hand locking the SickChill plugin version would make it unable to fetch any future updates which doesn't seem very optimal either. The most simple solution right now would be to just upgrade the jail to the newest FreeBSD version.

To compare this to other plugins, they have simply dropped support and been removed from this index for EOL versions. See e.g.: #133

On a sidenote. Is it possible to update an existing installation?

It should be possible to update an existing installation, all the packages are uninstalled and reinstalled using the newest plugin JSON file if I remember correctly.

from iocage-plugin-index.

turboture avatar turboture commented on August 27, 2024

To be absolutly honest. I didnt know 12.0 was stable. Still thought it was under development. Switching now.

from iocage-plugin-index.

fulder avatar fulder commented on August 27, 2024

@turboture / @vipero07 did you manage to get some time to test if it works fine in the 12.X release? If so, and if it works, maybe we could close this issue?

from iocage-plugin-index.

turboture avatar turboture commented on August 27, 2024

Yes. Sorry for not reporting back. I installed as it should under 12.x.

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.