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

    The "paths[1]" argument must be of type string. Received undefined

    Scheduled Pinned Locked Moved Backup
    7 Posts 3 Posters 1.3k 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.
    • Tristis OrisT Offline
      Tristis Oris Top contributor
      last edited by Tristis Oris

      commit 9939c, xen 8.2.1.
      after latest update, one VM at one job failed with interesting error.

      8cea41a4-293a-490d-b7f6-e6f7e434a692-image.png

          {
            "data": {
              "type": "VM",
              "id": "6feb8e90-2595-3585-8338-24b6aae17f9a",
              "name_label": "name"
            },
            "id": "1732179827258",
            "message": "backup VM",
            "start": 1732179827258,
            "status": "failure",
            "tasks": [
              {
                "id": "1732179827332",
                "message": "clean-vm",
                "start": 1732179827332,
                "status": "failure",
                "warnings": [
                  {
                    "data": {
                      "path": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241107T090318Z.alias.vhd",
                      "error": {
                        "generatedMessage": true,
                        "code": "ERR_ASSERTION",
                        "actual": false,
                        "expected": true,
                        "operator": "=="
                      }
                    },
                    "message": "VHD check error"
                  },
                  {
                    "data": {
                      "alias": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241107T090318Z.alias.vhd"
                    },
                    "message": "missing target of alias"
                  }
                ],
                "end": 1732180079109,
                "result": {
                  "code": "ERR_INVALID_ARG_TYPE",
                  "message": "The \"paths[1]\" argument must be of type string. Received undefined",
                  "name": "TypeError",
                  "stack": "TypeError [ERR_INVALID_ARG_TYPE]: The \"paths[1]\" argument must be of type string. Received undefined\n    at resolve (node:path:1169:7)\n    at normalize (/opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/fs/dist/path.js:21:27)\n    at NfsHandler.__unlink (/opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/fs/dist/abstract.js:412:32)\n    at NfsHandler.unlink (/opt/xo/xo-builds/xen-orchestra-202411191133/node_modules/limit-concurrency-decorator/index.js:97:24)\n    at checkAliases (file:///opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/backups/_cleanVm.mjs:132:25)\n    at async Array.<anonymous> (file:///opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/backups/_cleanVm.mjs:284:5)\n    at async Promise.all (index 0)\n    at async RemoteAdapter.cleanVm (file:///opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/backups/_cleanVm.mjs:283:3)"
                }
              },
              {
                "id": "1732179827338",
                "message": "clean-vm",
                "start": 1732179827338,
                "status": "failure",
                "warnings": [
                  {
                    "data": {
                      "path": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241107T090318Z.alias.vhd",
                      "error": {
                        "generatedMessage": true,
                        "code": "ERR_ASSERTION",
                        "actual": false,
                        "expected": true,
                        "operator": "=="
                      }
                    },
                    "message": "VHD check error"
                  },
                  {
                    "data": {
                      "alias": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241107T090318Z.alias.vhd"
                    },
                    "message": "missing target of alias"
                  }
                ],
                "end": 1732180078116,
                "result": {
                  "code": "ERR_INVALID_ARG_TYPE",
                  "message": "The \"paths[1]\" argument must be of type string. Received undefined",
                  "name": "TypeError",
                  "stack": "TypeError [ERR_INVALID_ARG_TYPE]: The \"paths[1]\" argument must be of type string. Received undefined\n    at resolve (node:path:1169:7)\n    at normalize (/opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/fs/dist/path.js:21:27)\n    at NfsHandler.__unlink (/opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/fs/dist/abstract.js:412:32)\n    at NfsHandler.unlink (/opt/xo/xo-builds/xen-orchestra-202411191133/node_modules/limit-concurrency-decorator/index.js:97:24)\n    at checkAliases (file:///opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/backups/_cleanVm.mjs:132:25)\n    at async Array.<anonymous> (file:///opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/backups/_cleanVm.mjs:284:5)\n    at async Promise.all (index 5)\n    at async RemoteAdapter.cleanVm (file:///opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/backups/_cleanVm.mjs:283:3)"
                }
              },
              {
                "id": "1732180081190",
                "message": "snapshot",
                "start": 1732180081190,
                "status": "success",
                "end": 1732180083668,
                "result": "ab331405-2ae3-af13-1c6d-3482cfcf1f3a"
              },
              {
                "data": {
                  "id": "4b6d24a3-0b1e-48d5-aac2-a06e3a8ee485",
                  "isFull": false,
                  "type": "remote"
                },
                "id": "1732180083668:0",
                "message": "export",
                "start": 1732180083668,
                "status": "success",
                "tasks": [
                  {
                    "id": "1732180087479",
                    "message": "transfer",
                    "start": 1732180087479,
                    "status": "success",
                    "end": 1732180165572,
                    "result": {
                      "size": 6172148736
                    }
                  },
                  {
                    "id": "1732180539007",
                    "message": "clean-vm",
                    "start": 1732180539007,
                    "status": "success",
                    "warnings": [
                      {
                        "data": {
                          "parent": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241107T090318Z.alias.vhd",
                          "child": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241107T170223Z.alias.vhd"
                        },
                        "message": "parent VHD is missing"
                      },
                      {
                        "data": {
                          "parent": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241107T170223Z.alias.vhd",
                          "child": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241108T010229Z.alias.vhd"
                        },
                        "message": "parent VHD is missing"
                      },
                      {
                        "data": {
                          "parent": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241108T010229Z.alias.vhd",
                          "child": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241108T090332Z.alias.vhd"
                        },
                        "message": "parent VHD is missing"
                      },
                      {
                        "data": {
                          "parent": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241108T090332Z.alias.vhd",
                          "child": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241108T170238Z.alias.vhd"
                        },
                        "message": "parent VHD is missing"
                      },
                      {
                        "data": {
                          "parent": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241108T170238Z.alias.vhd",
                          "child": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241109T010253Z.alias.vhd"
                        },
                        "message": "parent VHD is missing"
                      },
                      {
                        "data": {
                          "parent": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241109T010253Z.alias.vhd",
                          "child": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241109T090400Z.alias.vhd"
                        },
                        "message": "parent VHD is missing"
                      },
                      {
                        "data": {
                          "parent": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241109T090400Z.alias.vhd",
                          "child": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241109T170401Z.alias.vhd"
                        },
                        "message": "parent VHD is missing"
                      },
                      {
                        "data": {
                          "parent": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241109T170401Z.alias.vhd",
                          "child": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241110T010358Z.alias.vhd"
                        },
                        "message": "parent VHD is missing"
                      },
                      {
                        "data": {
                          "parent": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241110T010358Z.alias.vhd",
                          "child": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241110T090459Z.alias.vhd"
                        },
                        "message": "parent VHD is missing"
                      },
                      {
                        "data": {
                          "parent": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241110T090459Z.alias.vhd",
                          "child": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241110T170554Z.alias.vhd"
                        },
                        "message": "parent VHD is missing"
                      },
                      {
                        "data": {
                          "backup": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/20241108T170238Z.json",
                          "missingVhds": [
                            "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241108T170238Z.alias.vhd"
                          ]
                        },
                        "message": "some VHDs linked to the backup are missing"
                      },
                      {
                        "data": {
                          "backup": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/20241109T010253Z.json",
                          "missingVhds": [
                            "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241109T010253Z.alias.vhd"
                          ]
                        },
                        "message": "some VHDs linked to the backup are missing"
                      },
                      {
                        "data": {
                          "backup": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/20241107T170223Z.json",
                          "missingVhds": [
                            "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241107T170223Z.alias.vhd"
                          ]
                        },
                        "message": "some VHDs linked to the backup are missing"
                      },
                      {
                        "data": {
                          "backup": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/20241108T090332Z.json",
                          "missingVhds": [
                            "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241108T090332Z.alias.vhd"
                          ]
                        },
                        "message": "some VHDs linked to the backup are missing"
                      },
                      {
                        "data": {
                          "backup": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/20241108T010229Z.json",
                          "missingVhds": [
                            "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241108T010229Z.alias.vhd"
                          ]
                        },
                        "message": "some VHDs linked to the backup are missing"
                      },
                      {
                        "data": {
                          "backup": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/20241109T090400Z.json",
                          "missingVhds": [
                            "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241109T090400Z.alias.vhd"
                          ]
                        },
                        "message": "some VHDs linked to the backup are missing"
                      },
                      {
                        "data": {
                          "backup": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/20241109T170401Z.json",
                          "missingVhds": [
                            "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241109T170401Z.alias.vhd"
                          ]
                        },
                        "message": "some VHDs linked to the backup are missing"
                      },
                      {
                        "data": {
                          "backup": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/20241110T170554Z.json",
                          "missingVhds": [
                            "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241110T170554Z.alias.vhd"
                          ]
                        },
                        "message": "some VHDs linked to the backup are missing"
                      },
                      {
                        "data": {
                          "backup": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/20241110T010358Z.json",
                          "missingVhds": [
                            "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241110T010358Z.alias.vhd"
                          ]
                        },
                        "message": "some VHDs linked to the backup are missing"
                      },
                      {
                        "data": {
                          "backup": "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/20241110T090459Z.json",
                          "missingVhds": [
                            "/xo-vm-backups/6feb8e90-2595-3585-8338-24b6aae17f9a/vdis/8b3f311e-90dd-495d-8626-819df32958f6/06681026-471a-4243-ac6b-ce6d173d687a/20241110T090459Z.alias.vhd"
                          ]
                        },
                        "message": "some VHDs linked to the backup are missing"
                      }
                    ],
                    "end": 1732180651483,
                    "result": {
                      "merge": false
                    }
                  }
                ],
                "end": 1732180651497
              },
      
      stephane-m-devS 1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        Thanks for the report. It's probably related to https://github.com/vatesfr/xen-orchestra/pull/8085.

        stephane-m-dev opened this pull request in vatesfr/xen-orchestra

        closed fix(xen-orchestra/fs): nfs port #8085

        1 Reply Last reply Reply Quote 0
        • stephane-m-devS Offline
          stephane-m-dev Vates 🪐 @Tristis Oris
          last edited by

          @Tristis-Oris said in The "paths[1]" argument must be of type string. Received undefined:

          @xen-orchestra/fs/dist/abstract.js:412

          Hi @Tristis-Oris

          Can you show the settings you used for your NFS mount?

          Tristis OrisT 1 Reply Last reply Reply Quote 0
          • Tristis OrisT Offline
            Tristis Oris Top contributor @stephane-m-dev
            last edited by

            @stephane-m-dev
            Device: \\1.2.3.4.:Port:/backupVM
            Options: vers=4,nconnect=16,noauto,x-systemd.automount,x-systemd.device-timeout=10,x-systemd.idle-timeout=1min

            stephane-m-devS 1 Reply Last reply Reply Quote 0
            • stephane-m-devS Offline
              stephane-m-dev Vates 🪐 @Tristis Oris
              last edited by

              Device: \\1.2.3.4.:Port:/backupVM
              Options: vers=4,nconnect=16,noauto,x-systemd.automount,x-systemd.device-timeout=10,x-systemd.idle-timeout=1min

              I tried mounting and backing up with the same settings and didn't notice anything special. The changes in the update only concerned the case where a port number was entered.

              The NFS mount is done correctly and the error only occurs at the time of backup, is that it?

              Tristis OrisT 2 Replies Last reply Reply Quote 0
              • Tristis OrisT Offline
                Tristis Oris Top contributor @stephane-m-dev
                last edited by

                @stephane-m-dev for now it single error.

                1 Reply Last reply Reply Quote 0
                • Tristis OrisT Offline
                  Tristis Oris Top contributor @stephane-m-dev
                  last edited by

                  @stephane-m-dev that happens again for 1 vm.

                      {
                        "data": {
                          "type": "VM",
                          "id": "316e7303-c9c9-9bb6-04ef-83948ee1b19e",
                          "name_label": "name"
                        },
                        "id": "1732299284886",
                        "message": "backup VM",
                        "start": 1732299284886,
                        "status": "failure",
                        "tasks": [
                          {
                            "id": "1732299284997",
                            "message": "clean-vm",
                            "start": 1732299284997,
                            "status": "failure",
                            "warnings": [
                              {
                                "data": {
                                  "path": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241101T181520Z.alias.vhd",
                                  "error": {
                                    "generatedMessage": true,
                                    "code": "ERR_ASSERTION",
                                    "actual": false,
                                    "expected": true,
                                    "operator": "=="
                                  }
                                },
                                "message": "VHD check error"
                              },
                              {
                                "data": {
                                  "alias": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241101T181520Z.alias.vhd"
                                },
                                "message": "missing target of alias"
                              }
                            ],
                            "end": 1732299341663,
                            "result": {
                              "code": "ERR_INVALID_ARG_TYPE",
                              "message": "The \"paths[1]\" argument must be of type string. Received undefined",
                              "name": "TypeError",
                              "stack": "TypeError [ERR_INVALID_ARG_TYPE]: The \"paths[1]\" argument must be of type string. Received undefined\n    at resolve (node:path:1169:7)\n    at normalize (/opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/fs/dist/path.js:21:27)\n    at NfsHandler.__unlink (/opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/fs/dist/abstract.js:412:32)\n    at NfsHandler.unlink (/opt/xo/xo-builds/xen-orchestra-202411191133/node_modules/limit-concurrency-decorator/index.js:97:24)\n    at checkAliases (file:///opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/backups/_cleanVm.mjs:132:25)\n    at async Array.<anonymous> (file:///opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/backups/_cleanVm.mjs:284:5)\n    at async Promise.all (index 1)\n    at async RemoteAdapter.cleanVm (file:///opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/backups/_cleanVm.mjs:283:3)"
                            }
                          },
                          {
                            "id": "1732299285125",
                            "message": "clean-vm",
                            "start": 1732299285125,
                            "status": "failure",
                            "warnings": [
                              {
                                "data": {
                                  "path": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241101T181520Z.alias.vhd",
                                  "error": {
                                    "generatedMessage": true,
                                    "code": "ERR_ASSERTION",
                                    "actual": false,
                                    "expected": true,
                                    "operator": "=="
                                  }
                                },
                                "message": "VHD check error"
                              },
                              {
                                "data": {
                                  "alias": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241101T181520Z.alias.vhd"
                                },
                                "message": "missing target of alias"
                              }
                            ],
                            "end": 1732299343111,
                            "result": {
                              "code": "ERR_INVALID_ARG_TYPE",
                              "message": "The \"paths[1]\" argument must be of type string. Received undefined",
                              "name": "TypeError",
                              "stack": "TypeError [ERR_INVALID_ARG_TYPE]: The \"paths[1]\" argument must be of type string. Received undefined\n    at resolve (node:path:1169:7)\n    at normalize (/opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/fs/dist/path.js:21:27)\n    at NfsHandler.__unlink (/opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/fs/dist/abstract.js:412:32)\n    at NfsHandler.unlink (/opt/xo/xo-builds/xen-orchestra-202411191133/node_modules/limit-concurrency-decorator/index.js:97:24)\n    at checkAliases (file:///opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/backups/_cleanVm.mjs:132:25)\n    at async Array.<anonymous> (file:///opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/backups/_cleanVm.mjs:284:5)\n    at async Promise.all (index 3)\n    at async RemoteAdapter.cleanVm (file:///opt/xo/xo-builds/xen-orchestra-202411191133/@xen-orchestra/backups/_cleanVm.mjs:283:3)"
                            }
                          },
                          {
                            "id": "1732299343953",
                            "message": "snapshot",
                            "start": 1732299343953,
                            "status": "success",
                            "end": 1732299346495,
                            "result": "ee646d05-83b2-31d8-e54b-0d3b0cf7df1d"
                          },
                          {
                            "data": {
                              "id": "4b6d24a3-0b1e-48d5-aac2-a06e3a8ee485",
                              "isFull": false,
                              "type": "remote"
                            },
                            "id": "1732299346495:0",
                            "message": "export",
                            "start": 1732299346495,
                            "status": "success",
                            "tasks": [
                              {
                                "id": "1732299353253",
                                "message": "transfer",
                                "start": 1732299353253,
                                "status": "success",
                                "end": 1732299450434,
                                "result": {
                                  "size": 9674571776
                                }
                              },
                              {
                                "id": "1732299501828:0",
                                "message": "clean-vm",
                                "start": 1732299501828,
                                "status": "success",
                                "warnings": [
                                  {
                                    "data": {
                                      "parent": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241101T181520Z.alias.vhd",
                                      "child": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241102T180758Z.alias.vhd"
                                    },
                                    "message": "parent VHD is missing"
                                  },
                                  {
                                    "data": {
                                      "parent": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241102T180758Z.alias.vhd",
                                      "child": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241103T180648Z.alias.vhd"
                                    },
                                    "message": "parent VHD is missing"
                                  },
                                  {
                                    "data": {
                                      "parent": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241103T180648Z.alias.vhd",
                                      "child": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241104T180802Z.alias.vhd"
                                    },
                                    "message": "parent VHD is missing"
                                  },
                                  {
                                    "data": {
                                      "parent": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241104T180802Z.alias.vhd",
                                      "child": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241105T181019Z.alias.vhd"
                                    },
                                    "message": "parent VHD is missing"
                                  },
                                  {
                                    "data": {
                                      "backup": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/20241104T180802Z.json",
                                      "missingVhds": [
                                        "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241104T180802Z.alias.vhd"
                                      ]
                                    },
                                    "message": "some VHDs linked to the backup are missing"
                                  },
                                  {
                                    "data": {
                                      "backup": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/20241102T180758Z.json",
                                      "missingVhds": [
                                        "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241102T180758Z.alias.vhd"
                                      ]
                                    },
                                    "message": "some VHDs linked to the backup are missing"
                                  },
                                  {
                                    "data": {
                                      "backup": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/20241103T180648Z.json",
                                      "missingVhds": [
                                        "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241103T180648Z.alias.vhd"
                                      ]
                                    },
                                    "message": "some VHDs linked to the backup are missing"
                                  },
                                  {
                                    "data": {
                                      "backup": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/20241105T181019Z.json",
                                      "missingVhds": [
                                        "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241105T181019Z.alias.vhd"
                                      ]
                                    },
                                    "message": "some VHDs linked to the backup are missing"
                                  }
                                ],
                                "end": 1732299518747,
                                "result": {
                                  "merge": false
                                }
                              }
                            ],
                            "end": 1732299518760
                          },
                          {
                            "data": {
                              "id": "8da40b08-636f-450d-af15-3264b9692e1f",
                              "isFull": false,
                              "type": "remote"
                            },
                            "id": "1732299346496",
                            "message": "export",
                            "start": 1732299346496,
                            "status": "success",
                            "tasks": [
                              {
                                "id": "1732299353244",
                                "message": "transfer",
                                "start": 1732299353244,
                                "status": "success",
                                "end": 1732299450546,
                                "result": {
                                  "size": 9674571776
                                }
                              },
                              {
                                "id": "1732299451765",
                                "message": "clean-vm",
                                "start": 1732299451765,
                                "status": "success",
                                "warnings": [
                                  {
                                    "data": {
                                      "parent": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241101T181520Z.alias.vhd",
                                      "child": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241102T180758Z.alias.vhd"
                                    },
                                    "message": "parent VHD is missing"
                                  },
                                  {
                                    "data": {
                                      "parent": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241102T180758Z.alias.vhd",
                                      "child": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241103T180648Z.alias.vhd"
                                    },
                                    "message": "parent VHD is missing"
                                  },
                                  {
                                    "data": {
                                      "parent": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241103T180648Z.alias.vhd",
                                      "child": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241104T180802Z.alias.vhd"
                                    },
                                    "message": "parent VHD is missing"
                                  },
                                  {
                                    "data": {
                                      "parent": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241104T180802Z.alias.vhd",
                                      "child": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241105T181019Z.alias.vhd"
                                    },
                                    "message": "parent VHD is missing"
                                  },
                                  {
                                    "data": {
                                      "backup": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/20241103T180648Z.json",
                                      "missingVhds": [
                                        "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241103T180648Z.alias.vhd"
                                      ]
                                    },
                                    "message": "some VHDs linked to the backup are missing"
                                  },
                                  {
                                    "data": {
                                      "backup": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/20241104T180802Z.json",
                                      "missingVhds": [
                                        "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241104T180802Z.alias.vhd"
                                      ]
                                    },
                                    "message": "some VHDs linked to the backup are missing"
                                  },
                                  {
                                    "data": {
                                      "backup": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/20241102T180758Z.json",
                                      "missingVhds": [
                                        "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241102T180758Z.alias.vhd"
                                      ]
                                    },
                                    "message": "some VHDs linked to the backup are missing"
                                  },
                                  {
                                    "data": {
                                      "backup": "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/20241105T181019Z.json",
                                      "missingVhds": [
                                        "/xo-vm-backups/316e7303-c9c9-9bb6-04ef-83948ee1b19e/vdis/90d0b5ca-9364-4011-adc4-b8c74a534da9/53843891-126f-4f0c-b645-8e8aa0a41b36/20241105T181019Z.alias.vhd"
                                      ]
                                    },
                                    "message": "some VHDs linked to the backup are missing"
                                  }
                                ],
                                "end": 1732299501791,
                                "result": {
                                  "merge": false
                                }
                              }
                            ],
                            "end": 1732299501828
                          }
                        ],
                        "infos": [
                          {
                            "message": "Transfer data using NBD"
                          }
                        ],
                        "end": 1732299518760
                      }
                    ],
                    "end": 1732299518761
                  }
                  
                  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