proxmox blank page on local server

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
div0id0
Newbie
Newbie
Posts: 6
Joined: 2023-03-23, 05:47

proxmox blank page on local server

Unread post by div0id0 » 2023-04-15, 19:01

there was a topic before, but it is locked now.
now, the errors are:

Code: Select all

21:50:05.526 SyntaxError: expected expression, got '=' 1 pvemanagerlib.js:5043:9
	value ||= Proxmox.NodeName;

Code: Select all

21:56:49.246 XML Parsing Error: no root element found
Location: https://***/PVE/StdWorkspace.js?_dc=1681585009192
Line Number 1, Column 1: 1 StdWorkspace.js:1:1
(no such file)

Code: Select all

21:56:49.246 TypeError: c is not a constructor 1 ext-all.js:2:8
	anonymous https:/*/pve2/ext6/ext-all.js:2:8
	create https://*/pve2/ext6/ext-all.js:22:115977
	<anonymous> https://*/:40:30
	    Ext.onReady(function() { Ext.create('PVE.StdWorkspace');});

	invoke https://*/pve2/ext6/ext-all.js:22:143796
	doInvokeAll https://*/pve2/ext6/ext-all.js:22:144170
	invokeAll https://*/pve2/ext6/ext-all.js:22:143912
	handleReady https://*/pve2/ext6/ext-all.js:22:143488
	handleReadySoon/a.timer< https://*/pve2/ext6/ext-all.js:22:143630
	elevate https://*/pve2/ext6/ext-all.js:22:31445
	c https://*/pve2/ext6/ext-all.js:22:64426


User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35591
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: proxmox blank page on local server

Unread post by Moonchild » 2023-04-15, 19:43

Code: Select all

21:50:05.526 SyntaxError: expected expression, got '=' 1 pvemanagerlib.js:5043:9
	value ||= Proxmox.NodeName;
We don't support this sugar syntax yet (it's in the works). proxmox could be more browser agnostic by using

Code: Select all

value = value || Proxmox.NodeName;
Which is the decades-accepted form.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
div0id0
Newbie
Newbie
Posts: 6
Joined: 2023-03-23, 05:47

Re: proxmox blank page on local server

Unread post by div0id0 » 2023-05-18, 17:30

wow! kudos to PM devs: Zabbix, passbolt (semi-working as one needs to find a proper extension), proxmox are working.
still, there is an error in native proxmox console:

Code: Select all

Pale Moon can't establish a connection to the server at wss://bm/api2/json/nodes/blowfish/vncwebsocket?port=5900&vnctick...
	    socket = new WebSocket(socketURL, 'binary');
and there's an error in novnc.js:

Code: Select all

SyntaxError: identifier starts immediately after numeric literal:
  _modPow(b2, e2, m) {
      if (m === 1n) { <--- this line
        return 0;
      }
Moonchild and other devs, you're my heroes!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35591
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: proxmox blank page on local server

Unread post by Moonchild » 2023-05-18, 19:29

Code: Select all

if (m === 1n) { <--- this line
That's assuming BigInt support by everyone.
Doesn't even make sense to demand BigInt support there other than literally "let's break compat with everyone who doesn't support it"
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked