Operating system version mismatch

On Virtualmin's "System Information" page, the Operating System is displayed as "Ubuntu Linux 12.04.2"
A "lsb_release -a" shows:

Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise



What do the /etc/issue and /etc/debian_version files contain on your system? Those are where Webmin gets the version number from.

I have modified the value at: domain.com:10000/webmin/edit_os.cgi
From 12.04.2 to 12.04.5

Now the value is displayed properly on System Information page.

After I modified this value, I checked /etc/issue.
The value is: Ubuntu 12.04.5 LTS
I set the value back to 12.04.2 in domain.com:10000/webmin/edit_os.cgi and saved the setting.
Went back to /etc/issue and the value remained unchanged, Ubuntu 12.04.5 LTS
It seems /etc/issue value is not taken into consideration.

In /etc/debian_version I have the value: wheezy/sid

Webmin only reads /etc/issue at install time - did you perhaps upgrade Debian after installing Webmin?

Only standard updates.
No distro-upgrade.
I had 12.04.02 originally.

Ok, the issue may be just that Webmin doesn't detect these minor version updates. They basically have no effect on the functionality of Webmin though..

In fact, Webmin detects the version correctly, but displays the wrong one.
Screenshot of Webmin's "Operating System and Environment" module:


"Detected operating system" is displayed correctly as "Ubuntu Linux 12.04.5".
But, "Operating system according to Webmin", the editable part, still has the old value, 12.04.2.

Indeed, I think this is only a graphical glitch.

Can you send a larger screenshot? That one was tiny :-)

Ok, I see now - normally if there is a major OS different, Webmin will display a button prompting you to sync up it's idea of the version with the actual version. However, a tiny difference like .2 to .5 doesn't effect functionality at all - but you can change it manually if you like on that page.

I just updated ubuntu 12.04 to 14.04 Webmin keeps telling it is 12.04 I removed the file /etc/issue /etc/debian_version shows the correct Jessie Debian version No button prompts to sync OS information. I restarted Webmin and reboot the server

What can I do? Thanks

Can you post the output of the command grep os /etc/webmin/config ?

Here it is:

ownmods_matpost2015=mysql apache virtual-server file filemin passwd proc cron at telnet change-user htaccess-htpasswd syslog phpini virtualmin-htpasswd
ownmods_matpost=mysql apache virtual-server file filemin passwd proc cron at telnet change-user htaccess-htpasswd syslog phpini virtualmin-htpasswd
real_os_type=Debian Linux

Thanks Jamie

Odd that it is detecting the system as Debian. What does /etc/issue contain on your system exactly?

Now, Webmin says "Debian Linux 8.0" Content of the etc/issue file :

Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.14.32-xxxx-grs-ipv6-64 x86_64)

* Documentation:  https://help.ubuntu.com/
Ubuntu 12.04.5 LTS

server    :
ip        :
hostname  : stock

  System information as of Tue May 12 15:05:42 CEST 2015

  System load:    0.28             Processes:           176
  Usage of /home: 0.0% of 1.23TB   Users logged in:     0
  Memory usage:   0%               IP address for eth0:
  Swap usage:     0%

  Graph this data and manage this system at:

0 packages can be updated.
0 updates are security updates.

New release '14.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

Linux ns375370 3.14.32-xxxx-grs-ipv6-64 #1 SMP Sat Feb 7 11:35:27 CET 2015 x86_64 x86_64 x86_64 GNU/Linux

server    : 545945
hostname  : ns375370
eth0 IPv4 :
eth0 IPv6 : 2001:41d0:a:7c3b::/64

This morning, I finally got the button "Update detected operating system" after "Warning - your system is actually running Ubuntu Linux version 12.04.5." I pressed the button, and Webmin now says it is as above....

No, the serveur is running 14.04 LTS...

It looks like the cause of Webmin's incorrect detection is that your /etc/issue file still says Ubuntu 12.04.5 LTS

I just gave up the 12.04->14.04 upgrade, going 16.04 on a fresh install. So forget this issue, thank you so much for taking care