ix-plugin-hub / iocage-plugin-index

Community created JSON files for plugins.
153 stars 112 forks source link

TasmoAdmin: Fatal error: Uncaught Error: Class "DOMDocument" not found #338

Open joachimarp opened 1 year ago

joachimarp commented 1 year ago

TasmoAdmin Plugin installed under TrueNAS TrueNAS-13.0-U3, I click Settings on the administration website, the following error message appears: see attachment

Apparently a php extension is missing, but I'm not quite sure how I can install it afterwards

Screenshot 2022-11-03 090836

tprelog commented 1 year ago

Apparently a php extension is missing, but I'm not quite sure how I can install it afterwards

If you know the missing extension, you can try installing it from the jail's console.

pkg install SOMETHING

I'm no longer using any iocage jails or TrueNAS CORE plugins but I can try to spin up a VM over the weekend to have a look.

joachimarp commented 1 year ago

I currently have TasmoAdmin installed on an Ubuntu VM running on TrueNAS as a replacement solution. So far everything works there. I would have preferred it as a plugin.

tprelog commented 1 year ago

@joachimarp

I had a few minutes before work... Please try install packages in your plugin jail

pkg install -y php80-dom php80-xml

Then restart the plugin and settings page should work.

Still need a PR to get these in the plugin's manifest

joachimarp commented 1 year ago

It works! Thanks for the tip!

joachimarp commented 1 year ago

I made a note of it for future reference if needed https://www.computerkram.net/2022/11/03/tasmoadmin-plugin-meldet-error-after-update-auf-2-1-1/

tprelog commented 1 year ago

And now we wait for these changes to get merged, bake in the master branch for awhile, and eventually get synced to the release branch....

joachimarp commented 1 year ago

Thank you again for the great support! Now one less VM is running on the NAS, saving resources