Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't install on TrueNAS 12.0U7 #3

Open
l3rady opened this issue Feb 3, 2022 · 9 comments
Open

Won't install on TrueNAS 12.0U7 #3

l3rady opened this issue Feb 3, 2022 · 9 comments

Comments

@l3rady
Copy link

l3rady commented Feb 3, 2022

Hi,

Installing this plugin on a fresh install fails when it attempts to install the php73 packages with the following errors:

Error: heimdall had a failure Exception: RuntimeError Message: pkg error: - php73 :,php73-ctype :,php73-filter :,php73-hash :,php73-json :,php73-mbstring :,php73-openssl :,php73-pdo_sqlite :,php73-session :,php73-sqlite3 :,php73-tokenizer :,php73-xml :,php73-zip : Refusing to fetch artifact and run post_install.sh! Partial plugin destroyed

I suspect php73 packages are no longer available due to PHP73 now EOL.

Could the plugin please be updated to run PHP 8.1 or 8.0 considering 7.4 is now only getting security updates?

Thanks

@jsegaert
Copy link
Owner

jsegaert commented Feb 4, 2022

I tried both PHP74 and PHP80, but couldn't get either to build. 😞

Unfortunately, the upstream Heimdall project only runs on PHP 73 or lower. According to this ticket, they actually abandoned PHP in lieu of JavaScript.

I haven't tried the JS version yet. I'll do more troubleshooting over the weekend.

@l3rady
Copy link
Author

l3rady commented Feb 4, 2022

Thanks @jsegaert for looking into it. I didn't realize that the Heimdall project was in such a bad way. Given that it runs on Laravel, and that Laravel is still actively maintained, I would have assumed that the Heimdall project would be easily upgraded. I guess they have neglected it for so long that upgrading Laravel in Heimdall is now not a trivial task to get it upgraded.

Even if they do finish the JS version rebuild. That surely means that the archive of all dashboard widgets will not work without a re-write too...

@jsegaert
Copy link
Owner

The easiest workaround, is to revert to an earlier pkg-repo. The commands below will install the plugin in a FreeBSD 12.3 jail using the package snapshot dd 2021-Nov-10. Tested on TrueNAS TrueNAS-12.0-U7.

fetch https://raw.githubusercontent.com/jsegaert/iocage-my-plugins/master/heimdall-dashboard.json
iocage fetch -P heimdall-dashboard.json -n heimdall-plugin

As these packages are not longer updated, you probably do not want to expose this plugin to the internet.

@shawnsmithnc
Copy link

ooo wow - thank you - im trying the fetch command now in shell

fetch https://raw.githubusercontent.com/jsegaert/iocage-my-plugins/master/heimdall-dashboard.json
iocage fetch -P heimdall-dashboard.json -n heimdall-plugin

@shawnsmithnc
Copy link

You are the man - Im so happy to get it working - Thank you 1,000 x

@niklas2233
Copy link

it dosnt seem to work on truenas 13 it just says its going to install pkg but stops half way

@jsegaert
Copy link
Owner

Can you provide some more information, so that I can try to reproduce?
Did you install the plugin from the UI on TrueNAS 13, or via the command line? If so, what commands did you use? What type of networking... did you use the default settings, or change something? etc...

@mackenziexD
Copy link

any chance we can get this update for 13.2-RELEASE? as its currently shitting out finfo errors when i try and deploy the jail 😩😩

@jsegaert
Copy link
Owner

jsegaert commented Apr 17, 2024

An updated plugin is not in the future, as the iocage plugin system is being retired in TrueNAS CORE.

That being said, you can manually run the updated plugin-script from the command line, using the following commands:

wget https://raw.githubusercontent.com/jsegaert/iocage-my-plugins/master/heimdall-dashboard.json
iocage fetch -n heimdall-jail -P heimdall-dashboard.json

This will create a jail will be named heimdall-jail that is indistinguishable from a plugin. 😁 Change the command accordingly if you want to name it something else. Tested on TrueNAS-13.0-U6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants