"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!
-
O olivierlambert marked this topic as a question on
-
O olivierlambert has marked this topic as solved on
-
You are welcome

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login