When upgrading some of my servers to Ubuntu 22.04 earlier this year I noticed the Web UI for Glances was broken, didn’t do much investigation at the time, assumed it was a dodgy update or known compatibility issue that would be sorted in time. But noticed the same issue on Linux Mint 22.1 today, almost four months later.

According to epsilon77 this is because:

Hello! I am maintainer of glances in Debian, for Debian policy, the packages should not include prebult files, for this reason, we had to remove those js files from debian package. and this change does WEB-UI useless.

There’s a few suggestions in that thread however I’d suggest just running:

wget https://github.com/nicolargo/glances/archive/refs/tags/v3.2.7.tar.gz
tar -xzf v3.2.7.tar.gz
sudo cp -r glances-3.2.7/glances/outputs/static/public/ /usr/lib/python3/dist-packages/glances/outputs/static/
rm v3.2.7.tar.gz
rm -r glances-3.2.7

That’ll download the files we need, extract them, copy them into the Glances install directory and then remove the downloaded bits once we’re done. Refreshing the browser should show the Glances Web UI instead of a blank white page.