Cant restore backed up virtual server

I'm trying to restore a backed up virtual server and encounter this error :

Re-creating virtual server xxxxxxxx.com ..
.. a clash was detected : AWstats reporting is already enabled for this domain

.. failed! See the progress output above for the reason why.

Status: 
Closed (fixed)

Comments

Most likely an awstats config file exists on your system with the same name as the domain.

To remove it, delete the files :

/etc/awstats/awstats.www.xxxxxxxx.com.conf
/etc/awstats/awstats.xxxxxxxx.com.conf

Any fix for this? I'm getting the same error.

Joe's picture
Submitted by Joe on Tue, 06/16/2009 - 23:05 Pro Licensee

The fix is to do what Jamie said in the previous comment. ;-)

@joe I only see our two comments...

Heh! Indeed, there's apparently a problem with the permissions in some of the tasks here -- one of the casualty's of the move, that'll hopefully be fixed at some point here :-)

Here is the (invisible) comment he was referring to:

Most likely an awstats config file exists on your system with the same name as the domain.

To remove it, delete the files :

/etc/awstats/awstats.www.xxxxxxxx.com.conf
/etc/awstats/awstats.xxxxxxxx.com.conf
Joe's picture
Submitted by Joe on Wed, 06/17/2009 - 15:10 Pro Licensee

On the comments thing...really weird. I don't even see how that would happen!

Joe's picture
Submitted by Joe on Wed, 06/17/2009 - 15:12 Pro Licensee

OK, that comment wasn't published. Fixed now. I wonder if this is true of any other comments that were migrated...that's really weird. Gonna have to look into that.

idimensionz's picture
Submitted by idimensionz on Sat, 05/04/2019 - 12:43

It would be nice if virtualmin had a --force-delete option for existing files so that server migrations wouldn't fail.