ix-plugin-hub/iocage-plugin-index

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

joachimarp opened this issue · 7 comments

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

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.

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.

@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

It works! Thanks for the tip!

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....

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