Restoring on new server might break apache config.

Restoring a bacakupp to a new server. It listed that it is missing mod_dav_svn . If you click restor, it is not instalting mod_dav_svn .

Result is Apache Error: Unknown DAV provider: svn Apache is down. Fix is "yum install mod_dav_svn" Start Apache mod_dav_svn should have installed automatic or restor should stopped before casing problem.

Status: 
Active

Comments

On the new server, did you have the DAV plugin enabled on the Features and Plugins page?

Also, was this enabled on the old server, and used to setup DAV authentication for some domains?

Happened to us too many times.

Ideally, Virtualmin restore should continue to restoring rest of the features omitting the missing one.

The tricky part is that Virtualmin restores the whole apache config, but this can contain directives added by features (or added manually) that aren't compatible with the new system.

The tricky part is that Virtualmin restores the whole apache config, but this can contain directives added by features (or added manually) that aren't compatible with the new system.

In that case the restore should enable all the features which are required for successful termination of the whole process. It is just ugly to leave users confused.

Just let the restore process give a user warning that a feature missing on the new system, which was in effect on the old one, is going to be enabled and proceed to rest part of restore without halting.

Actually, that warning should already appear when restoring a feature that the new system doesn't support. I assume that in your case it was the DAV login plugin - I'll look into why that wasn't working.

I was missing mod_dav_svn it did show a warning. The isue are that it did break global apache config. That should not be allowed, importing a backup that break apache config for all sites on the server.

I'll look into making the warning un-skippable in this case.