Submitted by Eskes on Wed, 09/27/2017 - 09:08
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
Submitted by JamieCameron on Thu, 09/28/2017 - 14:13 Comment #1
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?
Submitted by yngens on Sat, 09/30/2017 - 20:58 Comment #2
Happened to us too many times.
Ideally, Virtualmin restore should continue to restoring rest of the features omitting the missing one.
Submitted by JamieCameron on Sun, 10/01/2017 - 11:38 Comment #3
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.
Submitted by yngens on Sun, 10/01/2017 - 13:39 Comment #4
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.
Submitted by JamieCameron on Mon, 10/02/2017 - 23:52 Comment #5
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.
Submitted by Eskes on Thu, 10/05/2017 - 06:10 Comment #6
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.
Submitted by JamieCameron on Sun, 10/08/2017 - 12:58 Comment #7
I'll look into making the warning un-skippable in this case.