XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Can't create new backup/edit backup/restore any backup/Javascript error

    Scheduled Pinned Locked Moved Xen Orchestra
    4 Posts 2 Posters 439 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tflatkaT Offline
      tflatka
      last edited by

      XOA-CE is running on Ubuntu 20.4 with nodejs 18
      xo-server 5.108.1 xo-web 5.111.0

      I 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

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        If you are using XO from the sources, please report your commit number, as explained in https://xen-orchestra.com/docs/community.html

        tflatkaT 1 Reply Last reply Reply Quote 0
        • tflatkaT Offline
          tflatka @olivierlambert
          last edited by

          @olivierlambert Sorry this is Xen Orchestra, commit 9c3d3

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            As explained in the link, please update to the latest commit, be sure to rebuild everything and try again 🙂

            1 Reply Last reply Reply Quote 0

            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
            • First post
              Last post