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

    XO config backup/export problem

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    4 Posts 2 Posters 711 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.
    • mkrumbholzM Offline
      mkrumbholz
      last edited by

      Hi,

      i updated Xen Orchestra from sources to commit 0f00c.
      And i started a backup job for the XO config this stopped with an error message.
      Then i tried the export of the config over the settings this resulted in an empty pop'up and no starting download.

      Hope this is useful:

      Ubuntu 22.04 LTS (up to date)

      nodejs --version
      v18.19.0

      npm -v
      10.2.3

      Used XCP-ng version 8.2.1

      The Message i get on a backup job for the XO config:

      Error: Cannot destructure property 'client' of 'token' as it is null.
      

      Export job error message:

      xo-server[5007]:   ERROR HTTP request error {
      xo-server[5007]:   data: undefined,
      xo-server[5007]:   error: TypeError: Cannot destructure property 'client' of 'token' as it is null.
      xo-server[5007]:       at Tokens._unserialize (file:///etc/xo/xo-builds/xen-orchestra-202401050947/packages/xo-server/src/models/token.mjs:16:13)
      xo-server[5007]:       at file:///etc/xo/xo-builds/xen-orchestra-202401050947/packages/xo-server/src/collection/redis.mjs:119:24,
      xo-server[5007]:   fn: ''
      xo-server[5007]: }
      
      C 1 Reply Last reply Reply Quote 0
      • C Offline
        CJ @mkrumbholz
        last edited by

        @mkrumbholz I was literally getting ready to post this exact same thing. I did a search for the error message but your post didn't show up and I only happened upon it by chance.

        I'm on Debian 12 with XCP-ng 8.3.

        1 Reply Last reply Reply Quote 0
        • mkrumbholzM Offline
          mkrumbholz
          last edited by

          @CJ this is now fixed with the last commit 74ff6. Thanks to @julien-f

          C 1 Reply Last reply Reply Quote 2
          • mkrumbholzM mkrumbholz marked this topic as a question on
          • mkrumbholzM mkrumbholz has marked this topic as solved on
          • C Offline
            CJ @mkrumbholz
            last edited by

            @mkrumbholz Just tested it and it worked.

            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