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

    invalid parameter when manually triggering a backup

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    10 Posts 2 Posters 1.4k 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.
    • A Offline
      ashinobi
      last edited by

      Hi, Everyone.

      I encounter a problem when I manually triggered a backup. The backup is a scheduled backup with a compression of zstd. The backup is known working backup because it has successfully ran the backup on the scheduled date. Below is the error message I am getting when run the backup manually:

      backupNg.runJob
      {
        "id": "618f4813-ea37-405b-978c-6e4568fc7cd8",
        "schedule": "d81b09f4-645e-4b53-acea-206815603cd7"
      }
      {
        "code": 10,
        "data": {
          "errors": [
            {
              "instancePath": "",
              "schemaPath": "#/required",
              "keyword": "required",
              "params": {
                "missingProperty": "settings"
              },
              "message": "must have required property 'settings'"
            }
          ]
        },
        "message": "invalid parameters",
        "name": "XoError",
        "stack": "XoError: invalid parameters
          at Module.invalidParameters (/opt/xo/xo-builds/xen-orchestra-202208311948/packages/xo-common/api-errors.js:26:11)
          at Xo.call (file:///opt/xo/xo-builds/xen-orchestra-202208311948/packages/xo-server/src/xo-mixins/api.mjs:64:20)
          at Api.#callApiMethod (file:///opt/xo/xo-builds/xen-orchestra-202208311948/packages/xo-server/src/xo-mixins/api.mjs:389:19)"
      }
      

      I tried to interpret the error message, as I understand it is missing required parameters. I don't understand which parameter is missing. Hoping that the community be able to point what I have missed and learn from this.

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

        Please update to the latest commit on master, rebuild and test again. If it persists, then we'll investigate 🙂

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

          Hi,

          As usual for anyone asking for help, if you don't provide anything regarding your XO version, it's hard to assist. Have you read https://xen-orchestra.com/docs/community.html first?

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            ashinobi @olivierlambert
            last edited by

            @olivierlambert

            My apologies for not providing that information. Here is commit hash: d7f29

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

              Please update to the latest commit on master, rebuild and test again. If it persists, then we'll investigate 🙂

              A 2 Replies Last reply Reply Quote 1
              • A Offline
                ashinobi @olivierlambert
                last edited by

                @olivierlambert

                Will do. Thanks.

                1 Reply Last reply Reply Quote 0
                • A Offline
                  ashinobi @olivierlambert
                  last edited by

                  @olivierlambert

                  You are right I should have checked first there is a newer version. Again thank you so much for big help.

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

                    Does it fix the issue?

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      ashinobi @olivierlambert
                      last edited by

                      @olivierlambert

                      Apologies for the late reply, yes it did.

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

                        Perfect, problem solved then!

                        A 1 Reply Last reply Reply Quote 0
                        • olivierlambertO olivierlambert marked this topic as a question on
                        • olivierlambertO olivierlambert has marked this topic as solved on
                        • A Offline
                          ashinobi @olivierlambert
                          last edited by

                          @olivierlambert

                          Yes, thank you so much for the big help.

                          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