Webmin Integration: Fault 2: XML::Parser Perl module is not installed

Hi guys,

i tried to integrate webmin on my HAOS but not really successfully:

  • Core 2024.4.4
  • Supervisor 2024.04.0
  • Operating System 12.2
  • Frontend 20240404.2

|Supervisor: |Connected|
|Supported: |Supported|
|Healthy: |Healthy |

My Webmin is also on latest Version 2.111 on Ubuntu 22.04.3.

Whenever I try to setup the webmin integration I get following error:

Fault 2: XML::Parser Perl module is not installed

Fault 2: XML::Parser Perl module is not installed

I dont understand the errormessage but I am afraid I need perl.
Official Documentation does also not mention this.

As you can see, both instances are not on the same machine.
They are on the same network and other services i host are working flawlessly.
So its not a network issue or something else.

I installed the latest 2024.5.1 and hoped it might fix it (you never know) but it stayed the same so it didnt seem to be an issue with HA in general.
Looks like something was def. missing on my Ubuntu-machine.

Following did the trick:

In oder to install the XML::parser i needed to install a c compiler first:

sudo apt-get update
sudo apt-get install build-essential

otherwise i would get:

Executing /usr/bin/perl Makefile.PL && make …

Couldn’t find your C compiler.
Compilation failed in require at Makefile.PL line 4.
BEGIN failed–compilation aborted at Makefile.PL line 4.

Then i opened my Webmin UI, searched for “perl” and went to “Perl Modules”

Then I chose “From CPAN […]” and typed “XML::Parser” and hit install.
See Screenshot:

I fould the solution through

Imo this could have been mentioned in the docs, but well…it did the trick now.