ERROR — PERL EXECUTION FAILED Undefined subroutine &virtual_server::get_module_version_and_type called at /usr/share/webmin/authentic-theme/authentic-lib.pl line 699

I can’t see the version of my server because there is an error on my dashboard page after updating, how can I fix this?

SYSTEM INFORMATION
OS type and version Ubuntu Linux 18.04.3
Webmin version 2.101
Virtualmin version REQUIRED
Related packages SUGGESTED

It maybe OS or version related, please always post with these details.

how can i see the os details along with the webmin version other than on the dashboard? sorry because this is my first time managing virtualmin

click the arrowed icon


which copies the information to the clipboard and then paste it into a post
example

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.3
Webmin version 2.101
Usermin version 2.001
Virtualmin version 7.7 Pro
Theme version 21.04
Package updates 3 package updates are available

this is my server version

but if one cannot see the dashboard this handy little aid button is not available.

the bug is in the code “calling some subroutine” that has not been defined or is expected to have been defined elsewhere.

This sounds like a new installation. Can we assume a clean install on a new box?
So at this point in time can we just assume Virtualmin 7.7, Webmin version 2.101, Usermin version 2.001 and Authentic theme 21.04

The clue here is a potential problem with Authentic theme.

I say “potential” as many of us have updated without hitting this error, so perhaps that “undefined” is expected defined elsewhere.

my ($major, $minor, $build) = &virtual_server::get_module_version_and_type(1);
is broken

How can I solve this so that I can access my dashboard without an error like this?

Update to a non end of life OS may help. ub 18.04 is now end of life maybe upgrade to a more current OS

This is a really weird error! Try restarting Webmin from the console manually, i.e.:

/etc/webmin/restart

If that doesn’t work, try then:

/etc/webmin/restart-by-force-kill

Same issue here. Upgraded Webmin 1.9 to 2.1. Worked fine. Did security updates on Ubuntu 16. Then ran into this issue. Did all package updates on 16, still same issue. Going to backup, then try upgrading server. I also believe Virtualmin version is 6. Saw it somewhere in my clicking.

It was a bug in Authentic Theme! Although, the very last (development version) of Authentic Theme fixes it. The fix will be delivered with Webmin 2.103 to address it.

Also, you apparently have an ancient Virtualmin version installed! I’d recommend upgrading it.
You can fix Virtualmin repos for packages upgrade to work by downloading the latest version of virtualmin-install.sh script and running it with --setup flag, e.g.:

./virtualmin-install.sh --setup

Are you saying there are more recent versions of Virtualmin available for Ubuntu 16? Or would this require an OS upgrade?

The latest Virtualmin 7.8.2 with Webmin 2.102 should work just fine on Ubuntu 16.04.

Although, you should really considering migrating off Ubuntu 16.04.