Submitted by inteq on Sun, 02/15/2015 - 06:55
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
Status:
Active
Comments
Submitted by JamieCameron on Sun, 02/15/2015 - 13:24 Comment #1
What do the
/etc/issue
and/etc/debian_version
files contain on your system? Those are where Webmin gets the version number from.Submitted by inteq on Mon, 02/16/2015 - 03:54 Comment #2
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
Submitted by JamieCameron on Mon, 02/16/2015 - 22:57 Comment #3
Webmin only reads /etc/issue at install time - did you perhaps upgrade Debian after installing Webmin?
Submitted by inteq on Tue, 02/17/2015 - 06:43 Comment #4
Only standard updates.
No distro-upgrade.
I had 12.04.02 originally.
Submitted by JamieCameron on Tue, 02/17/2015 - 22:44 Comment #5
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..
Submitted by inteq on Thu, 02/19/2015 - 04:32 Comment #6
In fact, Webmin detects the version correctly, but displays the wrong one.
Screenshot of Webmin's "Operating System and Environment" module:
http://s17.postimg.org/526shfb5b/webminopsysver.png
"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.
Submitted by JamieCameron on Thu, 02/19/2015 - 19:52 Comment #7
Can you send a larger screenshot? That one was tiny :-)
Submitted by inteq on Sat, 02/21/2015 - 07:51 Comment #8
I have re-uploaded it here: http://tinypic.com/view.php?pic=nqu0qv&s=8#.VOiMK_mUeao
I checked the link http://s17.postimg.org/526shfb5b/webminopsysver.png on three different machines and all display the image the right size.
Hint: press CTRL+0 to reset zoom level in browser?
Submitted by JamieCameron on Sat, 02/21/2015 - 18:05 Comment #9
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.
Submitted by jvieille on Wed, 08/02/2017 - 10:35 Comment #10
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
Submitted by JamieCameron on Wed, 08/02/2017 - 20:58 Comment #11
Can you post the output of the command
grep os /etc/webmin/config
?Submitted by jvieille on Thu, 08/03/2017 - 00:53 Comment #12
Here it is:
ownmods_matpost2015=mysql apache virtual-server file filemin passwd proc cron at telnet change-user htaccess-htpasswd syslog phpini virtualmin-htpasswd
os_version=8.0
readonly_matpost=virtual-server
ownmods_matpost=mysql apache virtual-server file filemin passwd proc cron at telnet change-user htaccess-htpasswd syslog phpini virtualmin-htpasswd
readonly_matpost2015=virtual-server
real_os_type=Debian Linux
os_type=debian-linux
realname_matpost=
realname_matpost2015=
real_os_version=8.0
notabs_matpost=1
notabs_matpost2015=1
Thanks Jamie
Submitted by JamieCameron on Thu, 08/03/2017 - 18:14 Comment #13
Odd that it is detecting the system as Debian. What does
/etc/issue
contain on your system exactly?Submitted by jvieille on Thu, 08/03/2017 - 23:31 Comment #14
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 : 5.196.93.59
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: 5.196.93.59
Swap usage: 0%
Graph this data and manage this system at:
https://landscape.canonical.com/
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 : 5.196.93.59
eth0 IPv6 : 2001:41d0:a:7c3b::/64
Submitted by jvieille on Fri, 08/04/2017 - 05:40 Comment #15
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....
Submitted by JamieCameron on Fri, 08/04/2017 - 23:32 Comment #16
So that fixed it?
Submitted by jvieille on Sat, 08/05/2017 - 01:19 Comment #17
No, the serveur is running 14.04 LTS...
Submitted by JamieCameron on Sat, 08/05/2017 - 16:12 Comment #18
It looks like the cause of Webmin's incorrect detection is that your
/etc/issue
file still saysUbuntu 12.04.5 LTS
Submitted by jvieille on Sat, 08/05/2017 - 16:25 Comment #19
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