"an error has occurred" in disks tab for normal users
-
I have a normal user on my XCPng installation, which is admin for one VM. On each (newly created or old) VM I assign him to, he gets "an error has occurred" on the disks tab.
In the firefox command line, this error message pops up.
"Uncaught TypeError: (destructured parameter).pool is undefined"
I have 3 pool servers defined, and they work, and the VM work on them, too, but on the "pools" tab for the user, none are shown.
The system logs (settings -> logs) gives me:
"not enough permissions"
And the details are:
xoa.check {} { "code": 2, "data": { "permission": "admin", "object": {} }, "message": "not enough permissions", "name": "XoError", "stack": "XoError: not enough permissions at Module.unauthorized (/usr/local/lib/node_modules/xo-server/node_modules/xo-common/src/api-errors.js:21:32) at Object.call (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:95:18) at Api.callApiMethod (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:278:29) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:95:5)" }
I have xo-server 5.80.0.
Also, here the overview page showing 0 (of 3) pools:
Also, on dashboard/health, there's an error regarding the pool.
-
Oh, you are absolutely right. I forgot to do that, and in the latest version, it is fixed. So the problem is gone!
Thank you very much!
-
- Are you on XOA or XO from the sources? If the sources, are you on the latest commit as explained in our doc, before reporting an issue? https://xen-orchestra.com/docs/community.html
- Are you an admin user a just a regular user?
-
Oh, you are absolutely right. I forgot to do that, and in the latest version, it is fixed. So the problem is gone!
Thank you very much!
-
-
-
You are welcome