Uninstall Webmin & Virtualmin GPL before installing Virtualmin Pro?

Hi Joe,

Do we need to uninstall Webmin and Virtualmin GPL before installing Virtualmin Pro? If so, how do we uninstall?

Or will Virtualmin Pro just overwrite over them?

Thanks.

Howdy A,

Upgrades from GPL using the installer have somewhat indeterminate results…it’s kinda sorta mostly working in some circumstances, but it’s still definitely an iffy proposition and almost entirely untested.

Some precautions:

If you already have domains, backup your /etc/webmin directory. Something might get eaten.

If you’ve been using anything other than our “standard” suite of packages (Postfix, Dovecot with Maildir spools, Procmail or postfix for delivery, I think are the most important ones), you’ll want to backup those configurations too. Something will probably go weird after the installation, but it’s hard to predict what–this is the primary reason upgrades from GPL aren’t fully supported yet. There are just too many options for how to configure Virtualmin and all of the services it administers.

If any problems occur, we’ll be happy to help straighten them out. But data loss can’t be repaired if there isn’t a backup. So backup anything that is important before the installation (I don’t think there’s any chance of us hurting your website data or mailspools or databases or anything like that, but better safe than sorry). If it’s important, back it up. Of course, you’ve been backing up daily anyway, right? :wink:

Oh, yeah, I suspect the most common problem would come if you’re using mbox mail spools. After the installation of Virtualmin Professional, user mailboxes will apparently be replaced with new empty ones–the old data should still be around, but now Dovecot is looking in a different place for it. Some other problems include services fighting over ports, if you’re using vsftpd or Cyrus for FTP or POP/IMAP, respectively, they would need to be removed before installation or things will go wrong.

Hope this helps.

Thanks J for your advice.

My server has recently undergone a re-format + clean Fedora Core 5 installation. Anything on there is for testing purposes only, so nothing important at all.

I had Webmin and Virtualmin GPL installed last week to test things out. Just (i.e. 30 minutes ago) installed Virtualmin Pro over them. Nasty experience.

1st installation attempt: error-messaged out. Didn’t finish installation. ***

2nd installation attempt: Finished installation.

Tested the Webmin interface after VmPro installation. Everything looks kosher (to my newbie eye).


QUESTIONS:

Is it your recommendation that people don’t install Webmin and Virtualmin GPL, if they intend to install Virtualmin Pro?

Also… should we install Dovecot, Postfix etc. before VmPro installation? Or should we just leave it to VmPro installation to download & install them?

Your advice (maybe should include in Virtualmin FAQ section?) will give would-be VmPro users clear direction on how to avoid potential disasters.


*** I copied the installation messages into a txt file. If you are interested in reviewing my installation log, give me a holler and I’ll email them to you. Might help you with your VmPro-upgrader for GPL version.

Thanks J for your advice.

My server has recently undergone a re-format + clean Fedora Core 5 installation. Anything on there is for testing purposes only, so nothing important at all.

I had Webmin and Virtualmin GPL installed last week to test things out. Just (i.e. 30 minutes ago) installed Virtualmin Pro over them. Nasty experience.

1st installation attempt: error-messaged out. Didn’t finish installation. ***

2nd installation attempt: Finished installation.

Tested the Webmin interface after VmPro installation. Everything looks kosher (to my newbie eye).


QUESTIONS:

Is it your recommendation that people don’t install Webmin and Virtualmin GPL, if they intend to install Virtualmin Pro?

Also… should we install Dovecot, Postfix etc. before VmPro installation? Or should we just leave it to VmPro installation to download & install them?

Your advice (maybe should include in Virtualmin FAQ section?) will give would-be VmPro users clear direction on how to avoid potential disasters.


*** I copied the installation messages into a txt file. If you are interested in reviewing my installation log, give me a holler and I’ll email them to you. Might help you with your VmPro-upgrader for GPL version.

Hey A,

1st installation attempt: error-messaged out. Didn't finish installation. ***

*** I copied the installation messages into a txt file. If you are interested in reviewing my installation log, give me a holler and I’ll email them to you. Might help you with your VmPro-upgrader for GPL version.

Yes, that would be helpful. I’ve done some basic testing with installs of GPL the way I do them…but the way I do them has always been so close to the way Virtualmin Professional does them, that I don’t see the really ugly possible conflicts. Seeing other folks issues, and the way their systems are configured is a necessary step to being able to support some reasonable subset of existing installations.

Is it your recommendation that people don't install Webmin and Virtualmin GPL, if they intend to install Virtualmin Pro?

Yep. Having old (possibly very different) installations is just a problem to be worked around–there is no redeeming quality to a system that already has stuff configured. It’ll always be a problem, as long as Virtualmin GPL can be configured in so many different ways. If your install of Virtualmin GPL happens to be identical to the way we install Virtualmin Professional, probably nothing will go wrong…but that’s pretty unlikely to be the case. There are just too many variables.

That’s why I’ll be providing the same installer for Virtualmin GPL in the pretty near future. The goal is to get Virtualmin GPL installs always looking the same as, and always cleanly upgradeable to, Professional. No way to do that without insuring that GPL looks exactly the same as Professional (minus the Professional-only features). It’ll also make installation and configuration of GPL a lot easier, which I’ve heard from a lot of folks is a major problem. For some reason the “rebuild Apache” step is the most frightening for most, despite actually being the easiest part of the picture (getting mail/spam/AV right is definitely the hardest, and we still have some problems with it).

Also... should we install Dovecot, Postfix etc. before VmPro installation? Or should we just leave it to VmPro installation to download & install them?

The installer wants a fresh OS install. Anything more is asking for problems. Again, it’s just a simple matter of being unable to predict what choices you made during installation and configuration. If we get to make the choices, the installation should go smoothly. If you’ve already made a bunch of choices, we’re writing over your choices during installation…something is likely to not match up, because we only change things that need to change from defaults. So, if you changed to a different mail spool location from defaults, for example, we probably don’t correct everything necessary during install.

As I mentioned, I’m working on making the installer more robust in the face of different systems (and the more OS platforms we support, the more this becomes a reality, even if by accident), but I suspect there will never be a time when a pre-existing system that is configured vastly different from our choices will come out of the installation process in perfect working order. The installer can’t possibly be that smart (hell, I’m not that smart, and I can react to different situations and test the results in ways that the installation scripts can’t reasonably do).

Your advice (maybe should include in Virtualmin FAQ section?) will give would-be VmPro users clear direction on how to avoid potential disasters.

I agree:

http://www.virtualmin.com/faq/one-faq?faq_id=1511#3357
http://www.virtualmin.com/faq/one-faq?faq_id=1511#5475

:wink:

Possibly not as clear or as prominently placed as it should be, however. It ought to have a place in the Administrators guide in the installation section as well. The Administrators guide does say “Start by installing your OS”, but it doesn’t say, “If you’ve already got a running system, proceed with caution, for here there be dragons” which it probably should.

And another related entry…


Q: What if I already installed Webmin and Virtualmin GPL before installing Virtualmin Pro?

A: If possible, format your harddisk and reinstall your O/S. Then install Virtualmin Pro.

If you do not want to start afresh, backup your configuration and data files before installing Virtualmin Pro. God be with you!


Hi J,

Just emailed my installation logs to you for your reference. Hope it helps.

> Possibly not as clear or as prominently placed as it should be, however. It ought to have a place in the Administrators guide in the installation section as well.

Let me create a new entry for your FAQ. Just copy and paste it in. :wink:


Q: Should I install Webmin and Virtualmin GPL before installing Virtualmin Pro?

A: No! Virtualmin Pro will install Webmin and the necessary modules. Having Webmin and Virtualmin GPL installed before Virtualmin Pro could create a whole host of problems. Virtualmin Pro installation works best (i.e. problem-free) on a clean O/S installation.


Hi Joe,
I wonder (after reading the above horror details!) if this might not be the basis of all my problems.

My Server supplier originally installed Webmin on my Rentabox and I think Vmin GPL at the time. Then I upgraded to VminPro.

It may be then that my own ongoing horror story started! (Over a year ago now)?

I’m not mad keen on paying him for a complete reformat and OS install again, but IF, it looked like it could solve my long-term wait to get a workable system I would do it.

My options seem to be dwindling down to something like this or go back to CPanel.

I actually don’t need Reseller options (Vmin)any more, I gave up, I can only see the Script Installer being useful for me IF I could ever get it to work.

Cheers?
Himagain

Hi John,

I can confirm that the end results of having Webmin GPL and Virtualmin GPL pre-installed before installation of Virtualmin Pro, and having a fresh install without the GPL software, are vastly different. The best way is to do a fresh install. I am using Fedora Core 5 for my operating system by the way.

When I initially tried installing Virtualmin Pro over the Webmin GPL and Virtualmin GPL, the VmPro wasn’t working as smoothly as intended (i.e. a lot of configuration to do on Postfix, disk quota, Dovecot etc.). Also, the version info of VmPro is blank on the system info page.

After I reformatted the harddisk and reinstalled FC5 & VmPro, everything works like a charm. Not much configuration needed. VmPro has installed all the necessary components and software, and default configurations are already workable.

So, if it is an option for you, perhaps you should try doing a fresh install.

Hi there AH,
Thanks for the hope! :slight_smile:
Been a long, hard road for me so far, to try and get Vmin up and going.

I am strictly a User-type rather than Technical, but with a long experience of WHM/Cpanel and lousy Managed-Server Managers, so took the plunge and rented my own - unserviced! :-0

Have had high hopes for Webmin/Vmin especially with WEbmin’s long history, to run things as directly as possible. Vmin seems like a dream - IF I can ever get it to go in my (NOW) very simple demands form.

SO…
Have just had the Server reloaded with Fedora 5 and a clean start.
Have asked Joe to re-install Vmin on the box for me last week (to make sure it is done ok) and will try again.

I keep going back to look at Joe’s little demo movie of how easy it is to set up Domains…

Cheers,
John