I followed the docs from migrating from an old server to a new one. I had errors with Mailman, but now I see that my mail aliases and users didn’t restore. The mail aliases were easy to move over, but when I try to add the two users it gives me an error that says
Failed to save user : Home directory /home/nvcc/homes/website already exists
I still have the backup if the easiest way is to run the restore on just the users. Or do I just need to delete those folders because of the botched restore?
I’d say start over, and fix the problem that prevented successful migration. Whatever that problem is, we can help sort it out. I can’t work with “errors with Mailman”, but if you provide something specific, we probably can.
If you really need it to be done quickly, starting from the original server and making a backup that doesn’t include the problem feature (Mailman) would probably get you there faster than iterating on actually fixing the problem.
If you don’t have the original server that made the backups, you could probably restore without the problem feature(s). And, then, if you need those features back, install the now non-default modules and software (Mailman is no longer in the default install because it’s so rarely used by Virtualmin users).
I don’t usually recommend trying to manually clean up a botched restored, unless you really understand how all the pieces fit together. You’re going to spend a lot of time fixing and re-associating things with accounts and such. Better to start fresh, and do a restore that doesn’t fail.
Yes, as I said, for a feature that’s no longer in the default install, you either need to install and configure Mailman on the new server first, or disable the feature and plan to bring it back later if you need it.
Mailmain going from 2 to 3 is an additional hurdle that requires a manual upgrade step. We don’t try to solve that problem. The Mailman folks have docs for upgrading.
But, going from a system with Mailman to a system with Mailman should still be possible, even if you don’t exclude it from the backup, as long as you don’t try to restore that feature.
I went into more detail about the error here and came to the conclusion to just rebuild the mailing list from scratch. These two users that didn’t get created are email-only users that I don’t care if their mailbox carries over or not.
Also, Joe, thank you so much for all the help. This is the only open source project that I’ve used lately that I can count on getting a response within a day. It is very much appreciated.