Unable to use virtualmin analytics

I enabled this feature inside of virtualmin and i get the following error: Failed to save enabled features : The plugin Analytics Tracking cannot be used : Apache's mod_perl version 2 must be installed

how do i fix this..and why wasn't the appropriate apache module added when this feature was added?



considering that mod_perl is not in the official repositories This needs to be removed from being offered in virtualmin unless you want to support EPEL and its modifications...or add it to the virtualmin repo.

Howdy -- yeah unfortunately CentOS 7 stopped offering mod_perl in their repo, but it's no problem to install this from EPEL.

You can do that with a command such as this:

rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/m/mod_perl-2.0.10-2.el7.x86_64.rpm
Joe's picture
Submitted by Joe on Tue, 07/11/2017 - 18:47 Pro Licensee

We are enabling EPEL in the Virtualmin 6 installer. But, we probably should deprecate this module, as it has shrinking value in a world where very few sites are static sites and most are backed by some sort of application (and usually have their own plugins for Google and other analytics). Also, mod_perl is a pretty heavy dependency for something that's so small.

I'll have to look into what we want to do about this module; whether it makes sense to keep shipping it (and maybe update it with an auto-config for mod_perl).

about those google and other based analytics....the ad blockers also block most of the third party, offsite analytics. I find the analytics in virtualmin to be much more accurate: https://www.etc-md.com/archives/4579

So you may need to deprecate that module but leave awstats and webalizer...:)