Webgui blank screen - NS_ERROR_STORAGE_CONSTRAINT

aydun

Member
Jan 4, 2020
5
0
6
When I go to the webgui home page, the screen is blank but I get an error in the browser console:
Code:
Uncaught Exception { name: "NS_ERROR_STORAGE_CONSTRAINT",
message: "",
result: 2153971715,
filename: "https://192.168.0.199:8006/pve2/ext6/ext-all.js",
lineNumber: 22,
columnNumber: 0,
data: null,
stack: "getKeys@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:943054\nreadLocalStorage@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:2013972\nconstructor@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:2013881\ncallParent@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:88720\nconstructor@https://192.168.0.199:8006/pve2/js/pvemanagerlib.js?ver=6.4-13:1290:5\ng@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:91176\nanonymous@https://192.168.0.199:8006/pve2/ext6/ext-all.js line 22 > Function:3:8\ncreate@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:104903\ninitComponent@https://192.168.0.199:8006/pve2/js/pvemanagerlib.js?ver=6.4-13:47790:21\nconstructor@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:496075\ng@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:91176\nanonymous@https://192.168.0.199:8006/pve2/ext6/ext-all.js line 22 > Function:3:8\ncreate@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:104903\n@https://192.168.0.199:8006/:38:34\ninvoke@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:127983\ndoInvokeAll@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:128357\ninvokeAll@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:128098\nhandleReady@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:127674\nhandleReadySoon/b.timer<@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:127816\nbind/Ext.Function@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:58804\ndefer/Ext.Function<@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:59871\nsetTimeout handler*defer@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:59797\nhandleReadySoon@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:127784\nfireReady@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:127557\ndoReadyEvent@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:128936\nonReadyEvent@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:128831\nEventListener.handleEvent*bind@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:127125\n@https://192.168.0.199:8006/pve2/ext6/ext-all.js:22:130609\n@https://192.168.0.199:8006/pve2/ext6/ext-a
ll.js:22:130616\n" }

The VM's are running and these basic commands work without error:
Code:
pvesm status
pvesm list ...


Any suggestions?
 
Hi,
what browser version are you using? Does it work if you try with a different browser or different browser profile?
 
Thanks for the reply - that's resolved it. I was using Firefox, but it works with Chrome and with a private window in Firefox.
 
Hi,
Hi Fabian,
Is this a problem that can be avoided in development (and if how) or is the corruptions a browser issue appearing at random and independent of a single site?
Best regards
unfortunately, I don't know what the root cause of the issue is.
 
  • Like
Reactions: SunflowerToad
Hi,

unfortunately, I don't know what the root cause of the issue is.

It happens when the LocalStorage or IndexedDB quota is exceeded. By default this is 5MB per site. It can be changed for all sites in the Firefox settings (about:config then search for dom.storage.default_quota) but usually you can solve it for one site by clearing the data for that site: Preferences → Cookies and Site Data → Manage Data → Click the site → Click "Remove Selected"

LocalStorage reads or writes are not guaranteed to succeed, so call sites must catch any errors and handle them appropriately (maybe show a modal dialog explaining what happened)

(this thread is one of the top Google results for "NS_ERROR_STORAGE_CONSTRAINT" and that error isn't really documented well)
 
  • Like
Reactions: SunflowerToad