Glances Web UI shows a blank page on Ubuntu 22.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glances (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
kori@hp:~$ lsb_release -rd
Description: Ubuntu Jammy Jellyfish (development branch)
Release: 22.04
kori@hp:~$ apt-cache policy glances
glances:
Installed: 3.2.4.2+dfsg-1
Candidate: 3.2.4.2+dfsg-1
Version table:
*** 3.2.4.2+dfsg-1 500
500 http://
100 /var/lib/
After upgrading to Ubuntu 22.04, Glances Web UI shows a blank page (terminal output works as expected).
After originally reporting this at Github (https:/
I am guessing that a build step was omitted, so I decided to report this here as well.
To Reproduce
Steps to reproduce the behavior:
1. On Ubuntu 22.04, start Glances with either -s or -w;
2. Open Glances URL with any browser;
3. See blank page - HTML source:
<!DOCTYPE html>
<html ng-app=
<head>
<meta http-equiv=
<meta name="[viewport]()" content=
<[title]() ng-bind=
<link rel="[icon]()" type="[
<script type="[
</head>
<body>
<glances refresh-
</body>
</html>
Desktop (please complete the following information):
OS: GNU/Linux Ubuntu Server 22.04
Glances Version: Glances v3.2.4.2 with PsUtil v5.9.0
Glances logs file
2022-03-22 17:47:54,595 -- INFO -- Start Glances 3.2.4.2
2022-03-22 17:47:54,595 -- INFO -- CPython 3.10.3 (/usr/bin/python3) and psutil 5.9.0 detected
2022-03-22 17:47:54,602 -- INFO -- Read configuration file '/home/
2022-03-22 17:47:54,623 -- INFO -- Start GlancesStandalone mode
2022-03-22 17:47:54,720 -- WARNING -- Missing Python Lib (No module named 'py3nvml'), Nvidia GPU plugin is disabled
2022-03-22 17:47:55,170 -- WARNING -- Sparklines module not found (No module named 'sparklines')
2022-03-22 17:47:55,176 -- WARNING -- Missing Python Lib (No module named 'wifi'), Wifi plugin is disabled
2022-03-22 17:47:55,176 -- WARNING -- Wifi lib is not compliant with Python 3, Wifi plugin is disabled
2022-03-22 17:47:59,782 -- INFO -- Glances stopped (keypressed: CTRL-C)
Glances test
=======
Glances 3.2.4.2 (/usr/lib/
Python 3.10.3 (/usr/bin/python3)
PsUtil 5.9.0 (/usr/lib/
=======
alert [OK] 0.00003s []
amps [OK] 0.00002s []
cloud [OK] 0.00002s {}
connections [OK] 0.00002s {'LISTEN': 21, 'ESTABLISHED': 2, 'SYN_SENT': 1, 'SYN_RECV': 0, 'initiated': 1, 'terminated': 1, 'nf_conntrack_
core [OK] 0.00098s {'phys': 2, 'log': 4}
cpu [OK] 0.00002s {'total': 32.0, 'user': 22.3, 'nice': 0.0, 'system': 5.7, 'idle': 56.3, 'iowait': 12.2, 'irq': 0.0, 'softirq': 3.4, 'steal': 0.0, 'guest': 0.0, 'guest_nice': 0.0, 'time_sin
diskio [OK] 0.00002s key=disk_name [{'time_
docker [OK] 0.00056s key=name [{'key': 'name', 'name': 'photoprism_
folders [OK] 0.00002s []
fs [OK] 0.00002s key=mnt_point [{'device_name': '/dev/sda2', 'fs_type': 'ext4', 'mnt_point': '/', 'size': 104522190848, 'used': 31397896192, 'free': 68317548544, 'percent': 31.5, 'key': 'mn
gpu [OK] 0.00002s []
help [OK] 0.00001s None
ip [OK] 0.00002s {'address': '192.168.1.104', 'mask': '255.255.255.0', 'mask_cidr': 24, 'gateway': '192.168.1.1', 'public_address': '77.76.45.72'}
irq [OK] 0.00002s key=irq_line [{'irq_line': '0_timer', 'irq_rate': 0, 'key': 'irq_line', 'time_since_
load [OK] 0.00002s {'min1': 0.09033203125, 'min5': 0.09375, 'min15': 0.1103515625, 'cpucore': 4}
mem [OK] 0.00002s {'total': 7224696832, 'available': 5893705728, 'percent': 18.4, 'used': 1330991104, 'free': 5893705728, 'active': 901234688, 'inactive': 3381723136, 'buffers': 196071424, '
memswap [OK] 0.00002s {'total': 12659453952, 'used': 0, 'free': 12659453952, 'percent': 0.0, 'sin': 0, 'sout': 0, 'time_since_
network [OK] 0.00268s key=interface_name [{'interface_name': 'eno1', 'alias': None, 'time_since_
now [OK] 0.00003s 2022-03-22 17:59:19 EET
percpu [OK] 0.00002s key=cpu_number [{'key': 'cpu_number', 'cpu_number': 0, 'total': 74.4, 'user': 14.9, 'system': 5.0, 'idle': 25.6, 'nice': 0.0, 'iowait': 50.4, 'irq': 0.0, 'softirq': 4.1, 's
ports [OK] 0.00002s [{'host': '', 'port': 0, 'description': '--services--', 'status': 0.002471, 'refresh': 30, 'timeout': 10, 'rtt_warning': None, 'indice': 'port_1'}, {'host': '192.168.1.1',
processcount [OK] 0.00002s {'total': 196, 'running': 1, 'sleeping': 117, 'thread': 458, 'pid_max': 0}
processlist [OK] 0.00005s key=pid [{'name': 'mysqld', 'io_counters': [0, 0, 0, 0, 0], 'memory_info': pmem(rss=279273472, vms=1779277824, shared=23605248, text=10174464, lib=0, data=574152704, dirty=
psutilversion [OK] 0.00002s (5, 9, 0)
quicklook [OK] 0.00002s {'cpu': 32.0, 'percpu': [{'key': 'cpu_number', 'cpu_number': 0, 'total': 74.4, 'user': 14.9, 'system': 5.0, 'idle': 25.6, 'nice': 0.0, 'iowait': 50.4, 'irq': 0.0, 'softirq'
raid [OK] 0.00002s {'md0': {'status': 'active', 'type': 'raid1', 'components': {'sdb1': '0', 'sdc1': '1'}, 'available': '2', 'used': '2', 'config': 'UU'}}
sensors [OK] 0.00005s key=label [{'label': 'radeon 1', 'value': 14, 'warning': 120, 'critical': 120, 'unit': 'C', 'type': 'temperature_core', 'key': 'label'}, {'label': 'k10temp 1', 'value': 11,
smart [N/A]
system [OK] 0.00002s {'os_name': 'Linux', 'hostname': 'hp', 'platform': '64bit', 'linux_distro': 'Ubuntu 22.04', 'os_version': '5.15.0-
uptime [OK] 0.00002s {'seconds': 52830}
wifi [OK] 0.00004s []
Status changed to 'Confirmed' because the bug affects multiple users.