Backup/restore fails due to Analytics Tracking feature

When transferring sites or trying to backup/restore sites, the process fails on this message ...

WARNING - The following features were enabled for one or more domains in the backup, but do not exist on this system. Restoring this backup would break the configuration of the system : Analytics Tracking

Analytics Tracking may have been installed at some point long ago, but is no longer an enabled feature.

Any ideas? I'm stuck here with no backups that I can restore.

Thanks!

Status: 
Closed (fixed)

Comments

Howdy -- it sounds like the Analytics Tracking feature was enabled on the old server, but isn't installed on the new one.

One way to resolve that would be to install the Analytics Tracking feature, which can be done with this command:

yum install wbm-virtualmin-google-analytics

I feel like I'm being forced to install this package on all new servers because it was tried on one old server. Is there a way to just clean the dependency from the old server? I've removed the package but the error still persists.

When you look in System Settings -> Features and Plugins, is the feature on the old server missing or at least disabled there?

And if so, are you saying you're generating a new set of backups -- and when generating those new backups, it's still asking you about that feature?

Yes, this feature is disabled on both source and destination however when I generate new backups or try to transfer, this error still comes up.

Is there another package I need to clean off the old server?

Jamie, this user says that they removed Google Analytics from their old server, and disabled it in Features and Plugins, and then generated new backups... however, when attempting to restore backups on a new server, it's saying that the Google Analytics plugin is required.

Do you have any idea what might cause that?

Jkuo, if this is a time sensitive problen, what you could always do in the meantime is install the package on your new server though. However, hopefully Jamie will have some thoughts as to why that's occurring.

Hmm, tried to install the analytics plugin but it seems like mod_perl is required. But mod_perl is no longer available on Centos7.

"Failed to save enabled features : The plugin Analytics Tracking cannot be used : Apache's mod_perl version 2 must be installed"

I'm still stuck. Can't remove it, and can't seem to install it either.

Ah yes mod_perl is indeed not available in CentOS 7 by default.

It should work to grab that from EPEL though.

Try running this command:

rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/m/mod_perl-2.0.8-10.20140624svn1602105.el7.x86_64.rpm

After doing that, are you then able to install the Analytics Tracking plugin?

Enabled a remote login to the old server if that helps. Thanks!

One work-around when restoring is to find the "Features to restore“ section of the form, choose "Only those selected below" and then check all the boxes except for "Analytics Tracking"

Status: Active » Closed (fixed)