Can't create new backup/edit backup/restore any backup/Javascript error
-
XOA-CE is running on Ubuntu 20.4 with nodejs 18
xo-server 5.108.1 xo-web 5.111.0I cannot edit any backup job, create a new backup job or even restore anything as it does not offer me any backup to restore.
Whenever I try I am getting just a page with "loading..." and nothing happens anymore.
This was working without trouble before and the previously created backup jobs are getting processed by XOA normally.The error log in XOA is:
remote.getAll {} { "message": "Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.", "name": "TypeError", "stack": "TypeError: Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method. at _nonIterableRest (/opt/xen-orchestra/packages/xo-remote-parser/src/index.js:6:34) at _slicedToArray (/opt/xen-orchestra/packages/xo-remote-parser/src/index.js:6:34) at parse (/opt/xen-orchestra/packages/xo-remote-parser/src/index.js:63:90) at obfuscateRemote (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/remotes.mjs:21:21) at map (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/remotes.mjs:175:49) at Array.map (<anonymous>) at _class2.getAllRemotes (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/remotes.mjs:175:40) at runNextTicks (node:internal/process/task_queues:60:5) at processImmediate (node:internal/timers:442:9) at process.callbackTrampoline (node:internal/async_hooks:130:17) at Api.#callApiMethod (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:394:20)" }
Does anybody have any idea where this issue suddenly came from and how to fix it? All I have done before was to add a new server to a Pool via XOA and installed an SSL certificate for the XOA server.
Cheers
Thorsten -
Hi,
If you are using XO from the sources, please report your commit number, as explained in https://xen-orchestra.com/docs/community.html
-
@olivierlambert Sorry this is Xen Orchestra, commit 9c3d3
-
As explained in the link, please update to the latest commit, be sure to rebuild everything and try again