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

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

Open
joachimarp opened this issue Nov 3, 2022 · 7 comments
Open

Comments

@joachimarp
Copy link

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
Copy link
Contributor

tprelog commented Nov 3, 2022

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
Copy link
Author

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
Copy link
Contributor

tprelog commented Nov 3, 2022

@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
Copy link
Author

It works! Thanks for the tip!

@joachimarp
Copy link
Author

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
Copy link
Contributor

tprelog commented Nov 4, 2022

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
Copy link
Author

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

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

Successfully merging a pull request may close this issue.

2 participants