Downgrade from Pro to GPL

15 posts / 0 new
Last post
#1 Thu, 04/01/2010 - 11:35
paul.kelly

Downgrade from Pro to GPL

I wanted to ensure I had a perfect setup on a new server, so took the cheeky step of using the Pro license install command.

Alsthough it is nice having VM on the server, I do not need Pro, so I want to downgrade to gpl.

Searching the forum, all I can see is a reference to documentation I cant find and 'installing the GPL RPM or deb or .wbm file (depending on how Professional was installed) and converting the package manager to the GPL version of the repository'.

Are there some simple commands for Centos5 to acheive this, as I do not want to break the license terms?

Thu, 04/01/2010 - 11:39
andreychek

Howdy,

Yeah, the process of downgrading from Pro to GPL is described here:

http://www.virtualmin.com/documentation/installation/uninstalling

You can follow the instructions mentioned under the heading "RPM-based systems".

-Eric

Thu, 04/01/2010 - 11:44
paul.kelly

thanks for the very prompt response!

Tue, 02/22/2011 - 12:42
pablofm

I just downgraded to GPL. However, with ever attempt to do a Yum update, yum tries to reinstall the Pro version. What did I miss? I followed the instructions closely, and I am running Centos5. Thanks!

Tue, 02/22/2011 - 12:49
andreychek

Howdy,

It sounds like your yum repository is still pointing at the Pro version.

The directions for moving from Pro to GPL are here:

http://www.virtualmin.com/documentation/installation/uninstalling

The key step for fixing the repo is this part:

rpm -Uvh --oldpackage http://software.virtualmin.com/gpl/centos/5/i386/virtualmin-release-latest.noarch.rpm

After that, it should configure yum to use Virtualmin's GPL repository.

-Eric

Tue, 02/22/2011 - 12:52
pablofm

I tried the following:

# rpm -Uvh --oldpackage http://software.virtualmin.com/gpl/centos/5/i386/virtualmin-release-latest.noarch.rpm
Retrieving http://software.virtualmin.com/gpl/centos/5/i386/virtualmin-release-latest.noarch.rpm
Preparing...                ########################################### [100%]
package virtualmin-release-1.0-1.rhel.gpl.noarch is already installed

Then ran yum update:

# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: yum.singlehop.com
* base: yum.singlehop.com
* extras: mirror.steadfast.net
* updates: ftp.linux.ncsu.edu
Reducing CentOS-5 Testing to included packages only
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package virtualmin-release.noarch 0:1.0-4.rhel set to be updated
---> Package wbm-virtual-server.noarch 2:3.83-1 set to be updated
--> Finished Dependency Resolution

As you can see, it still keeps trying to update. Not sure what else to check. I tried to clear the yum cache, but it did not help. Thanks for your help!

Tue, 02/22/2011 - 13:11 (Reply to #6)
pablofm

I should also point out what I see from my RPM query:

-bash-3.2# rpm -qa | grep wbm-virtual-server
wbm-virtual-server-3.83.gpl-1

Thanks!

Wed, 03/09/2011 - 13:25
pablofm

Hey there, sorry to bump this, but I am still having problems. No matter what I do, the commercial version of Virtualmin keeps getting reinstalled.

Thanks.

Wed, 03/09/2011 - 13:31
andreychek

In order for it to be reinstalled, there would have to be an entry for the Pro repository, containing your serial number and such, in /etc/yum.repos.d/ -- probably in a file named virtualmin.repo.

What does that particular file look like on your system?

And also, does /etc/virtualmin-license look like this now:

SerialNumber=GPL
LicenseKey=GPL
Wed, 03/09/2011 - 13:34
pablofm

Hi there,

The contents of /etc/yum.repos.d/virtualmin.repo is:

[virtualmin]
name=Red Hat Enterprise $releasever - $basearch - Virtualmin
baseurl=http://serial:key@software.virtualmin.com/rhel/$releasever/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin
gpgcheck=1

[virtualmin-universal]
name=Virtualmin Distribution Neutral
baseurl=http://serial:key@software.virtualmin.com/universal/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin
gpgcheck=1

The contents of /etc/virtualmin-license is:

SerialNumber=GPL
LicenseKey=GPL

Thanks for your help!

Wed, 03/09/2011 - 13:39
andreychek

Hmm, so that's unusual, since that file in theory should have been replaced with the GPL equivalent when running this command:

rpm -Uvh --oldpackage http://software.virtualmin.com/gpl/centos/5/i386/virtualmin-release-latest.noarch.rpm

Are there other virtualmin related files residing in /etc/yum.repos.d?

-Eric

Wed, 03/09/2011 - 13:43
pablofm

Hi Eric,

This is what I have in that folder:

-rw-r--r--  1 root root 2245 Apr 25  2010 CentOS-Base.repo
-rw-r--r--  1 root root  626 Apr 25  2010 CentOS-Media.repo
-rw-r--r--  1 root root  723 Apr  2  2010 CentOS-Testing.repo
-rwxr-xr-x  1 root root  440 Dec 31  2009 virtualmin.repo
-rw-r--r--  1 root root  100 Dec 29  2009 webmin.repo

I am also attaching a screenshot of the update screen. It's interesting because according to it, it wants to upgrade the GPL version, but in-fact it is NOT the GPL version that gets installed if I say OK.

Thanks.

Wed, 05/16/2012 - 14:44
PlayGod

This problem occurs because rpm does not overwrite the old virtualmin.repo, it writes virtualmin.repo.rpmnew

So, you have to remove the PRO virtualmin.repo and rename the new GPL repo, and that will solve your problem.

Thu, 08/15/2019 - 20:27
manchego

It could be because these instructions are very old, but I wasn't able to downgrade to GPL.

I changed the license numbers to GPL, deleted the old repo, used any command I found on this site and tried to reinstall.

Could someone kindly point me to a 2019 instruction, please?

Thanks!

Mon, 12/02/2019 - 16:21
tyeth

Just followed this successfully as my virtualmin license lapsed when I realised I needed docker so switched to cloudmin a few months ago. Been meaning to do this for ages but worried it was overly time-consuming or complex, how wrong was I.

Went to /etc/apt/ in filemanager and edited sources.list to remove my username/password combo and add the gpl section to the virtualmin urls. I have cloudmin too but this uses a different source domain (software.cloudmin.com) and different username/password (license) combo so these lines were unchanged. Refreshed available packages in virtualmin package update manager, ran updates, then went and updated the /etc/virtualmin-license file to be GPL. Job done, dashboard immediately recognised the change.

Should mention:- ubuntu 18.04.2

Topic locked