After update to Authentic theme v19.21, system information panel disappears on one virtual machine

Webmin 1.900 Virtualmin 6.05 Usermin 1.751

After applying all available updates on 14th December 2018 NZ time - that's system as well as web/user/virtualmin updates - the system information panel disappeared from the webmin front page. I found this line in the webmin error log:

"Failed to lock file /var/webmin/modules/system-status/info after 5 minutes. Last error was : Lock close failed : No space left on device"

There is plenty of space on the device - 30 GB or so.

I used the theme-update,sh to revert to version 19.19 and the panel re-appeared.

I can ping-pong between v19.19 with a visible sysinfo panel, and v19.21 without the sysinfo panel. I can see no indication of failure in the logs - it just doesn't show up. Everything else appears to be working normally. The "No space" message does not appear now.

I have 5 other virtualmin/webmin machines which do not exhibit this behaviour - and they are all supposed to be identical apart from the websites contained. They were certainly identical once, having been creating by cloning virtual machine disks.

I can continue with the backlevel theme, but these odd things are disturbing. Any clues as to where I should start looking?

Regards Phil

Status: 
Closed (fixed)

Comments

Does the file /var/webmin/modules/system-status/info.lock exist on your system, and if so what is the process whose PID is in that file?

Ilia's picture
Submitted by Ilia on Sat, 12/15/2018 - 01:38

Phil, hi.

Your issue should be fixed by reading my recent comment on identical issue.

Next release of the theme will be fail proof to this change.

@Jamie - no, in that directory is a folder (history) and a text file "info" owned by root:root permissions 0644

@Ilia - I found what I think was the issue you referred to - to do with cloudmin - but when I tried to follow the link above I was access denied.

No matter - if it's a known problem than a fix will no doubt turn up, and I shall relax.

Regards Phil

Ilia's picture
Submitted by Ilia on Sat, 12/15/2018 - 03:29

Yes, this is due to the change in Virtualmin core. We used to have 4 options for Show System Information under Virtualmin Configuration/UI settings. Right now, only options 1 and 0 are left. In case admin went to Virtualmin Configuration and previously the option was set to 3 or 4 (Master or Reseller only), it would be saved as an empty value (show_sysinfo=) and internally the function will return 0, which means no system information.

I will make a patch for the theme to make sure that in case obsolete options were used, to automatically default to Yes, upon saving Virtualmin Configuration.

Right now, if you open Virtualmin Configuration for the mentioned option, you should have no value. Simply toggle it to Yes and the system information will show as usual.

Fixed.

Interestingly this virtual machine was the only one to have empty choices for many options in the UI configuration. All my other machines were set to either yes or no in all the options. I have never changed any ui configuration on any of them, and they all date from roughly the same era.

Oh well....

Thanks Phil

Ilia's picture
Submitted by Ilia on Sun, 12/16/2018 - 01:59

Phil, possibly, that machine, is an older installation, when options 3 and 4 were used or option 3 was default.

I would like to point this out again, in order this bug to appear (in case of older default options were set), it would require to save Virtualmin Configuration at least once.

I will make a very simply patch, to avoid such issues in the future.

Thanks for reporting.

Ilia's picture
Submitted by Ilia on Sun, 12/23/2018 - 02:22

This will be no longer an issue with next release.

Ilia's picture
Submitted by Ilia on Sun, 12/23/2018 - 02:23

Status: Active » Fixed (pending)
Ilia's picture
Submitted by Ilia on Sun, 12/23/2018 - 02:29

Status: Fixed (pending) » Fixed
Ilia's picture
Submitted by Ilia on Sun, 12/23/2018 - 02:33

Status: Fixed » Closed (fixed)