How to upgrade virtualmin ubuntu 16.04

7 posts / 0 new
Last post
#1 Wed, 03/22/2017 - 08:07
ppblaauw

How to upgrade virtualmin ubuntu 16.04

How to upgrade virtualmin 4.06.gpl to virtualmin 5.05.gpl on ubuntu 16.04? webmin version is: 1.831

I added to /etc/apt/sources.list

deb http://software.virtualmin.com/gpl/ubuntu virtualmin-xenial main

apt update apt upgrade

but the version of virtualmin is still 4.06.gpl

Thanks for any advice

Wed, 03/22/2017 - 17:51
Joe
Joe's picture

So, how'd you install Virtualmin? The install.sh would have setup the (two) apt repositories for you.

You need the virtualmin-universal repo, as well. The ubuntu one just contains binary packages specific to that version of Ubuntu, and none of the Webmin modules.

--

Check out the forum guidelines!

Wed, 03/22/2017 - 19:53 (Reply to #2)
ppblaauw

Webmin and Virtualmin was installed a few years ago when the server was running Ubuntu 14.04. Don't know anymore how that was installed.

After upgrading to ubuntu 16.04 creating new virtual servers and making backups of virtual servers don't work anymore

The error is:

Failed to create virtual server : SQL select password from user where user = 'ckd' failed : Unknown column 'password' in 'field list' This is caused by changed name of the password field to authentication_string in MySQL 5.7 in the user table.

In the forums I read that this issue is solved in virtualmin 5.03

added to /etc/apt/sources.list both

deb http://software.virtualmin.com/gpl/ubuntu virtualmin-universal main

deb http://software.virtualmin.com/gpl/ubuntu virtualmin-xenial main

apt update apt upgrade

but no update of virtualmin to version 5, still 4.06gpl

Are there more steps to be done for upgrading virtualmin from 4.06gpl to 5.xgpl?

Thu, 03/23/2017 - 04:32 (Reply to #3)
Joe
Joe's picture

I don't have an Ubuntu system handy to check to confirm that's the right configuration for the virtualmin-universal repo. If it's configured correctly, and if you installed Virtualmin with packages from an apt repository, then they should update.

Does dpkg know about your Virtualmin installation?

dpkg -l webmin-virtual-server

--

Check out the forum guidelines!

Thu, 03/23/2017 - 10:04 (Reply to #4)
ppblaauw

dpkg -l webmin

Name Version Architecture Description

webmin 1.831 all web-based administration interfac

dpkg -l webmin-virtual-server

dpkg-query: no packages found matching webmin-virtual-server

Thu, 03/23/2017 - 10:28 (Reply to #5)
ppblaauw

Virtualmin was installed from webmin

  1. Log in to webmin and go to the home screen.

  2. Click on 'webmin' in the menu in the top left corner to expand the ‘webmin’ menu.

  3. Click on 'Webmin Configuration'.

  4. Click on the 'Webmin Modules'

  5. Check the radio button labeled 'From ftp or http URL' .

  6. Paste the link in the corresponding text field and click 'Install Module'.

http://download.webmin.com/download/virtualmin/virtual-server-3.922.gpl....

  1. Click ‘Install Module” button.
Mon, 03/27/2017 - 22:12
ppblaauw

Is there any other way how to upgrade virtualmin besides apt update apt upgrade?

Topic locked