[SOLVED] Blank web interface

bensz

Member
Dec 13, 2020
15
0
6
50
Hello,
Since yesterday, I can't connect to my web interface (I didn't try from about 10 days). I have a blank screen.
I tried to restart my computer, the pveproxy and the server, but no changes.

My pveproxy status

Code:
root@lucky:~# service pveproxy status
● pveproxy.service - PVE API Proxy Server
   Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2020-12-26 11:17:38 CET; 1h 20min ago
  Process: 1241 ExecStartPre=/usr/bin/pvecm updatecerts --silent (code=exited, status=0/SUCCESS)
  Process: 1244 ExecStart=/usr/bin/pveproxy start (code=exited, status=0/SUCCESS)
Main PID: 1246 (pveproxy)
    Tasks: 4 (limit: 4915)
   Memory: 153.1M
   CGroup: /system.slice/pveproxy.service
           ├─1246 pveproxy
           ├─1247 pveproxy worker
           ├─1248 pveproxy worker
           └─1249 pveproxy worker

Dec 26 11:17:37 lucky systemd[1]: Starting PVE API Proxy Server...
Dec 26 11:17:38 lucky pveproxy[1246]: starting server
Dec 26 11:17:38 lucky pveproxy[1246]: starting 3 worker(s)
Dec 26 11:17:38 lucky pveproxy[1246]: worker 1247 started
Dec 26 11:17:38 lucky pveproxy[1246]: worker 1248 started
Dec 26 11:17:38 lucky pveproxy[1246]: worker 1249 started
Dec 26 11:17:38 lucky systemd[1]: Started PVE API Proxy Server.

In firefox, the console send errors

Uncaught SyntaxError: unexpected token: '{' proxmoxlib.js:458:44
Starting PVE Manager pvemanagerlib.js:1467:9
Uncaught TypeError: Proxmox.Utils is undefined
<anonymous> https://192.168.4.200:8006/pve2/js/pvemanagerlib.js?ver=6.3-3:2013
pvemanagerlib.js:2013:2
L’utilisation d’XMLHttpRequest de façon synchrone sur le fil d’exécution principal est obsolète à cause de son impact négatif sur la navigation de l’utilisateur final. Consulter http://xhr.spec.whatwg.org/ pour plus d’informations. ext-all.js:22:15059
XHRGEThttps://192.168.4.200:8006/PVE/StdWorkspace.js?_dc=1608983208419
[HTTP/1.1 501 no such file '/PVE/StdWorkspace.js' 3ms]

Erreur d’analyse XML : aucun élément trouvé
Emplacement : https://192.168.4.200:8006/PVE/StdWorkspace.js?_dc=1608983208419
Numéro de ligne 1, Colonne 1 : StdWorkspace.js:1:1
Uncaught TypeError: c is not a constructor
ExtJS 2
<anonymous> https://192.168.4.200:8006/:37
ExtJS 15
ext-all.js line 22 > Function:3:8


I have no error in log file, ssh access work correctly
Thanks for help
Benoit
 
Last edited:
Did you install updates in the meantime? If so, how?

As a first step, try to reinstall the pve-manager package which contains the weg GUI: apt install --reinstall pve-manager

Then do a full reload in your browser with CTRL+r or Shift+r. This should not use the browser's cache but load everything from the server.
 
  • Like
Reactions: Jsg==
Hello,
I installed update last time I connect to proxmox. If I remember well, I've done by webUI.
As I saw in another tread, I tried to reinstall pve-manager, but that does'nt help.
Thanks
Benoit
 
Hello,
I installed update last time I connect to proxmox. If I remember well, I've done by webUI.
As I saw in another tread, I tried to reinstall pve-manager, but that does'nt help.
Thanks
Benoit
Have you tried it from a different browser?
 
Hmm, which versions are installed? pveversion -v
 
Sorry, I forgot this information,
Code:
root@lucky:~# pveversion -v
proxmox-ve: 6.3-1 (running kernel: 5.4.78-2-pve)
pve-manager: 6.3-3 (running version: 6.3-3/eee5f901)
pve-kernel-5.4: 6.3-3
pve-kernel-helper: 6.3-3
pve-kernel-5.4.78-2-pve: 5.4.78-2
pve-kernel-5.4.34-1-pve: 5.4.34-2
ceph-fuse: 15.2.8-pve2
corosync: 3.0.4-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.16-pve1
libproxmox-acme-perl: 1.0.7
libproxmox-backup-qemu0: 1.0.2-1
libpve-access-control: 6.1-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.3-2
libpve-guest-common-perl: 3.1-3
libpve-http-server-perl: 3.1-1
libpve-storage-perl: 6.3-3
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.3-1
lxcfs: 4.0.3-pve3
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.0.6-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.4-3
pve-cluster: 6.2-1
pve-container: 3.3-2
pve-docs: 6.3-1
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.1-3
pve-ha-manager: 3.1-1
pve-i18n: 2.2-2
pve-qemu-kvm: 5.1.0-7
pve-xtermjs: 4.7.0-3
qemu-server: 6.3-2
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 0.8.5-pve1
 
Hmm, so if reinstalling pve-manager did not help, the other package that contains some GUI stuff is proxmox-widget-toolkit. Maybe that is corrupet. Try to reinstall it with:
Code:
apt install --reinstall proxmox-widget-toolkit

After that try to clear your browser cache and reload the GUI.
 
That's the solution.
Thank you.
How can I tag the tread solve, modify the title of the tread or a button somewhere.
Thank you again
Benoit
 
Good to hear :)

Yeah you can edit the first post and select the "solved" prefix from the drop down menu next to the title. Thanks!
 
Superb. I had the same issue today after updating my Proxmox 7.3 one of the 3 machines lost it's web interface. Both others were OK even though all 3 got updated.

apt install --reinstall proxmox-widget-toolkit did the trick.
 
Hi,

I am facing the same issue, i was updating and upgrading using web gui, but I did not restart the server as recommended, and suddently the web gui is hanging and show black screen. Rebooted the server but it seem doesnt help.

installing pve-manager and proxmox-widget-toolkit still the same

apt install --reinstall pve-manager
apt install --reinstall proxmox-widget-toolkit

please help.

thanks
 
Hi,

I am facing the same issue, i was updating and upgrading using web gui, but I did not restart the server as recommended, and suddently the web gui is hanging and show black screen. Rebooted the server but it seem doesnt help.

installing pve-manager and proxmox-widget-toolkit still the same

apt install --reinstall pve-manager
apt install --reinstall proxmox-widget-toolkit

please help.

thanks
same here...strange.
any help appreciated
Thanks
Sascha
 
So I ran into this exact issue after upgrading to Proxmox 8.0.3. I'm using Cloudflare Tunnels to expose my Proxmox dashboard on the Internet and the issue seems to be caused by Cloudflare minifying the JS code for proxmoxlib.js. I had to add a Page Rule in Cloudflare to disable caching to fix this:

proxmox-dashboard.mydomain.com/*
Cache Level: Bypass
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!