Restore from Ubuntu 10 LTS to Ubuntu 16 LTS does not restore resellers before failing restore

With everything selected that is available, all features and all Virtualmin settings, this is what I get after waiting almost an hour to it to download/read the S3 backup I'm pointing to....

Are you sure you want to restore the selected domains and features from Amazon S3 bucket ns1-kmeathosting_08_06_2017? Any existing data for the features in these domains will be over-written!

Warning - the following features were enabled in one or more of the domains in the backup, but are not enabled on this system : Plugin virtualmin-dav, Plugin virtualmin-mailman, Plugin virtualmin-svn, Plugin virtualmin-signup, Plugin virtualmin-google-analytics

Without them, some functions of the restored virtual servers may not work.

This backup cannot be restored due to the following errors : Reseller tdb does not exist



Ok, I see the reason why this can happen - there is a check for missing resellers before resellers are restored.

The work-around is to restore only Virtualmin settings first, and then restore all domains.

So select everything and then when it comes up with the list uncheck all the domains and leave the virtualmin settings there and do that first and run it again and restore the domains correct?

Doing that now and making headway with it. Virtualmin settings restored and so far seems happy with restoring the virtual servers now. What about the listed plugins? I looked around and couldn't seem to find where I could get those installed in the System Settings, Plugins and Features section. I did see mostly core items in there and two plugins, but I couldn't figure out where to get more plugins, namely the ones listed in the OP.


Ok I have everything restored to my new server and now as the dns gets updated, all of my sites are just going to the default ubuntu apache2 splash page saying It's working.... but it's not. It's not going to the virtual sites.... again. Ugh I thought backup and restore was supposed to be easy.=)

THis is what I get when I to a config check...

[Thu Aug 10 12:11:55.124733 2017] [so:warn] [pid 2689] AH01574: module dav_module is already loaded, skipping AH00526: Syntax error on line 34 of /etc/apache2/sites-enabled/ Unknown DAV provider: filesystem Action 'configtest' failed. The Apache error log may have more information.

Wow now I"m going through and turning off DAV on all of my domains. I posed the question about the missing modules one of which was virtualmin-dav and never got an answer as to where I would get those to install them on my system or if they are depreciated.

THis is taking forever to do, but I managed to find where I could install the modules and also enable mod_rewrite and mod_perl2 in Apache2. Got that done, but I'm still having to remove all instances of Proxy* and the <proxy sections in the Apache2 config for each domain by hand and then continue to recheck the config.

Oh and also changing Dav on to Dav Off

Ok wow that's done. Any cause for concern on any of the following output from the last recheck? What about the postfix warning? Chroot jails??

The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active .. Your system has 1.97 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB. BIND DNS server is installed, and the system is configured to use it.

Mail server Postfix is installed and configured.

Postfix can support per-domain outgoing IP addresses, but is not currently configured to do so. This can be setup in the Postfix Mailserver module.

Apache is installed.

The following PHP versions are available : 7.0.18 (/usr/bin/php-cgi7.0)

PHP-FPM support was not detected : No FPM configuration directory found

PHP versions have changed to 7.0 since last check. Regenerating any missing php.ini files.

Webalizer is installed.

Apache is configured to host SSL websites.

MySQL is installed and running.

ProFTPD is installed.

Logrotate is installed.

SpamAssassin and Procmail are installed and configured for use.

ClamAV is installed and assumed to be running.

The System and Server Status module is installed and checking on schedule.

Plugin AWstats reporting is installed OK.

Plugin Protected web directories is installed OK.

Using network interface ens32 for virtual IPs.

IPv6 addresses are available, using interface ens32.

Default IPv4 address for virtual servers is

Default IPv6 address for virtual servers is 2607:f7a0:6:8:250:56ff:fe97:4df0.

Default IP address is set to, which matches the detected external address.

Both user and group quotas are enabled for home and email directories.

All commands needed to create and restore backups are installed.

Resource limits are supported and configured correctly.

The selected package management and update systems are installed OK.

Chroot jails are not available : The Jailkit command jk_init was not found on your system - maybe the packet is not installed?

.. your system is ready for use by Virtualmin. Updating all Webmin users with new settings.. .. done

Updating all resellers with new settings.. .. done

Updating Virtualmin library pre-load settings .. .. done

Updating status collection job .. .. done

Applying web server configuration .. .. not running!

Re-loading Webmin .. .. done

Now getting connection refused on all of my virtual sites except the first one that is defined. If I try to preview any website on the system through the virtualmin interface, it says Failed to connect to my ip:80 : Connection refused.

It sounds like Apache isn't running on your server.

You may want to try restarting it with this command:

service apache2 restart

That may error, but if/when it does, take a look in /var/log/apache2/error_log and let us know what error you see there.

OK that was temporary. I restarted the whole server "just because" and the sites are responding again. I have lots of errors on some sites because of the upgrade from php5 to php7, but I'll work through those over the next few days. I have one site that responds differently depending on whether or not I go to or just The site DNS is at Godaddy for that however, everything is pointing to the same IP address of the server. When I do the non-www call, I get the default apache2 website.

Ugh nevermind. That just started working now too. Maybe a propagation issue on that one.

Yeah agreed, both variants of are working for me -- I suspect that was indeed a temporary DNS issue.

Sorry.. but I think this got lost in the shuffle today. My apologies. =)

Postfix can support per-domain outgoing IP addresses, but is not currently configured to do so. This can be setup in the Postfix Mailserver module.

Is this a concern? I'm not sure that I know exactly what that even means of if I need it.

It's no problem at all! Glad to hear things are coming along.

That Postfix message is safe to ignore, most folks don't need that feature.

Feel free to let us know if you have any additional questions!

Yes thanks! Your support is probably the mostest bestest out there these days!! None of my Preview Websites are working. Browser gives "Bad Request"

Ugh. I'm sure the two are unrelated, but I created a new virtual host and then created an alias under it... you may remember some of this. The old Ubuntu 10 wouldn't handle it so that's kind of what started all of this upgrading. Anyhow, after I did that, Apache wouldn't reload. I removed the alias and the virtual server. No go. I restarted the machine. All I see when I do top is that clamscan is running all over the place and taking up a lot of my CPU time. I finally got apache started again after something on the Options line 13 in the domain that I created and removed (or so I though) had a + sign in front of it and the error message was they all have to be - or + or neither.

It sounds like you were seeing a few issues there, though I believe you got the Apache ones working, is that correct?

Is the current issue you're experiencing the one relating to Clamscan processes?

If so, what is the output of these commands:

mailq | tail -1
ps auxw | grep clam

I did get apache working again yes. I had to get the server working again though so I just killed the clamscan processes that were happening on almost all of the website users accounts. That has not returned. Not that it matters so much now, but here's the results of those commands:

root@ns1:/home/administrator# uptime 19:32:40 up 20:47, 1 user, load average: 0.15, 0.08, 0.08 root@ns1:/home/administrator# mailq | tail -l Mail queue is empty root@ns1:/home/administrator# ps auxw | grep clam clamav 910 0.0 0.3 74720 6252 ? Ss Aug10 0:16 /usr/bin/freshclam -d --foreground=true clamav 14295 0.0 16.0 574376 330492 ? Ssl 00:47 1:04 /usr/sbin/clamd --foreground=true root 14782 0.0 0.0 5104 888 pts/0 S+ 19:32 0:00 grep --color=auto clam root@ns1:/home/administrator#

What do you think might be going on with my inability to preview any of the websites within Virtualmin?

I just recreated the virtual server and then recreated my alias of to it. When I go to that website with the new., it brings up the default website for the server which is the content located at /home/32nds/public_html. Why is this happening?

OK this is crazy. I didn't have any content in the public_html folder so instead of just giving me a folder listing, it redirected it to the default server on the system. Is that by design? I just put a couple of files in there and now I get the directory listing and see those files.