Since the upgrade to Ubuntu 20.04 Dahboard is damaged. This happens after a while. I switched between the different ps types like LINUX, HPUX, SYSV which temporary solved the problem. But now only the storage gauge is left. This is a little bit strange because the processed are shown. Due to the fact it worked at beginning that looks like caching problems or something similar. The problem is not device dependend. It does e.g. happen on Chrome, iOS Safari. I already tried to reinstall Webmin but that did not help.
Any ideas?
Where in Webmin did you switch to a different OS type? Choosing one like HPUX could break this CPU or RAM usage display.
Hello,
I found what the problem is. With Ubuntu 20.04 process manger / gauges are not working at the moment.
Where is the setting which I used:
Klick on the number Running processes - configuration - systemconfiguration - there you can choose ps style SYSV, LINUX, HPUX, FREEBSD, MAXOS, OPENBSD
With the setting LINUX all detail tabs in the process monitor are empty. There are no processes shown.
With the other settings the CPU / RAM Gauges do not work anymore.
After switching the settings something is cached. Switching back does not help anymore. If you delete /etc/webmin/apache/site and open a new tab in browser will refresh. mostly This also seems to instable to reproduce. Sometimes refresh does not happen. Seems to be related on the sequenc of steps if refresh will work.
Seems to be:
switch bakc to LINUX
stop webmin
delete the file site
start webmin
open a fresh tab in browser
Result Gauges ok, process list not working - switching the other direction does allways work. The result is tha the gauges are there but nor working anymore. With next open browser tab the gauges which are not working (CPU / RAM) after switching the setting do vanish.
As written this is not Browser related. It happens with Firefox, Chrome, Chromium, Safari.
At the moment it is a decision all gauges with setting LINUX (no details for processes in all detail tabs like CPU, RAM, PID and so on)
OR
Only Storage Gauge but all details in the tabs.
Switching to something else than LINUX permanetly destroys gauges. Using Linux and there are no detail lists.
For switching back to LINUX the site file has to be deleted and a new tab has to be opened,
Last edit: Tim 2020-05-11
You definitely want to be using Linux mode - if that isn't working, it's a bug in Webmin.
In that mode, in the Running Processes module does it show CPU usage correctly? Or RAM?
In Linux Mode CPU / RAM is ok but then there are 0 processed shown which also affects the monitors and all detils views in process manger. They are all empty. At the moment prcoesses are more important for me than CPU / RAM. Bot together would be realy nice. ;)
I have Ubuntu 20.04 installed and everything displayed correctly with the latest patch. Besides, have a look at Webmin Users/Available Modules/System Status, as those affect what displayed on the Dashboard. I also have number of running processes displayed.
Last edit: Ilia 2020-05-04
Strange. I used two systems to reproduce this (on both systems I'm using root with all modules enabled). My old upgrade 18.04 LTS system and a new system which installed fresh. Is there any way how I can help to debug this? Im on a VPS server from a company called contabo. But in my opinion they are installing pretty much standard Ubuntu + Lamp + Webmin by default. If it helps I could also create you a user on that machine in Webmin to take a look by yourself. I can also reinstall the machine before to get the absolut standard setup. I have switched my VPS some days ago so this machine can be used for testing until the contract ends without thinking to much of destroying something. If you would like to use that option I will send you an account to the machine.
Last edit: Tim 2020-05-04
Yeah, I could have a look tomorrow. Send me credentials in PM. Thanks.
Hi, I sent it even before your reply. ;)
Yes, I saw it. I will have a look later, probably tomorrow again. I am working on the other feature right now. Sorry.
No problem. I was not sure if you received it. Good luck for the other topic.
Another Update. I have installed Webmin on Ubuntu 20.04 on a Raspberry Pi 4 with the same bug. 0 processes.
I am confused now! Have you applied this patch?
https://raw.githubusercontent.com/webmin/webmin/master/proc/linux-lib.pl
You shouldn't have 0 running process. Double check, please!
No, not so far because this is not coming with the auto update from Webmin. Afer manually replacing that file in usr/share/webmin/proc it is working now after switching bag to Linux, deleting the site file in /etc/webmin/apache and openning a new webmin tab.