XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. marcoi
    3. Posts
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 24
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: XO Community edition backups dont work as of build 6b263

      @RobWhalley I think in the beginning i had that option enabled in my backup jobs, but found it was a hassle to move VMs between hosts with it on so i turned it off for all backups. Might be why my jobs worked because i had already done that switch in the past.

      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263

      scratch that prior comment. My backups are all setup as delta backup with schedule 2nd run that forces full backup. So i believe both are working correctly.

      354b8995-e51b-4e02-9b0e-9de5fff0f06e-image.png
      8b8b764b-698a-4538-9d6b-c9b8484ea3c5-image.png
      8410c029-8e0e-463a-9065-d3128482d6a0-image.png

      if you can also try deleting all the backup snapshots of the VMs in the backup and running full backup then the delta backup jobs.

      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263

      @RobWhalley lol i forgot to test deltas - let me see on that.

      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263

      @RobWhalley Okay you have similar setup to me then. Can you confirm NFS share for backup is working and enabled?
      it under settings -->Remote
      43439813-609e-4425-b968-d074a45c9a05-image.png

      Make sure the enabled is green and try clicking on the test icon in far right.

      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263

      @RobWhalley I see in the error it mentioning NDB, do your backups have that enabled?
      6930a2fe-8e9c-48f9-973e-32d3d5f4b690-image.png

      can you try disabling it and testing backup if you do have it on? I think i saw someone else post issue with NDB code in the forums.

      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263

      @RobWhalley to see if it's behaving the same as what I saw on prior versions can you do the following steps?

      1. open tasks in a new browser window so you can monitor it. If you can keep the backup window and task window side by side you can see if the export command comes and goes quickly.
        1.a If you go between backup and tasks in the same window, ive noticed the prior task history clears out.

      2. ssh into the VM running XO and monitor the syslog
        tail -100f /var/log/syslog
        #may need root then try sudo tail -100f /var/log/syslog

      3. In primary window kick off a backup then watch the task window to see if export command comes and goes.
        c7563916-882b-4077-87eb-7591b871b057-image.png

      4. If the task disappears then click on previous tasks and see if you even had export command come up.

      5. reply with the results of how task shows export step and any errors in the syslog file.

      Hopefully that helps the devs figure out whats going on in your system.

      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263

      @RobWhalley did you try to restart the service or reboot the server running XO? I have a nightly crontab job that updates the OS, updates XO and then reboots the server.

      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263

      looks like Xen Orchestra, commit fcefa might have fixed the backup issue. I am running a backup test now and it showing export step running
      61668884-b733-4650-961d-1d171e83e2ce-image.png

      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263

      @itservices
      also the same with Xen Orchestra, commit 2effd

      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263

      I got this from the syslog file. some error are showing up when i ran backup job.

      2025-06-27T09:40:56.178745-04:00 xen xo-server[2283]: (node:2283) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
      2025-06-27T09:40:56.178843-04:00 xen xo-server[2283]: (Use `node --trace-deprecation ...` to show where the warning was created)
      2025-06-27T09:40:56.182409-04:00 xen xo-server[2283]: 2025-06-27T13:40:56.178Z xo:xo-server WARN Node warning {
      2025-06-27T09:40:56.182468-04:00 xen xo-server[2283]:   error: DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
      2025-06-27T09:40:56.182496-04:00 xen xo-server[2283]:       at IncomingMessage.flash (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/connect-flash/lib/flash.js:67:16)
      2025-06-27T09:40:56.182526-04:00 xen xo-server[2283]:       at file:///opt/xo/xo-builds/xen-orchestra-202506270848/packages/xo-server/src/index.mjs:322:11
      2025-06-27T09:40:56.182552-04:00 xen xo-server[2283]:       at Layer.handle [as handle_request] (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/layer.js:95:5)
      2025-06-27T09:40:56.182580-04:00 xen xo-server[2283]:       at trim_prefix (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/index.js:328:13)
      2025-06-27T09:40:56.182603-04:00 xen xo-server[2283]:       at /opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/index.js:286:9
      2025-06-27T09:40:56.182633-04:00 xen xo-server[2283]:       at Function.process_params (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/index.js:346:12)
      2025-06-27T09:40:56.182656-04:00 xen xo-server[2283]:       at next (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/index.js:280:10)
      2025-06-27T09:40:56.182679-04:00 xen xo-server[2283]:       at Xo._handleHttpRequest (file:///opt/xo/xo-builds/xen-orchestra-202506270848/packages/xo-server/src/xo.mjs:173:7)
      2025-06-27T09:40:56.182704-04:00 xen xo-server[2283]:       at Layer.handle [as handle_request] (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/layer.js:95:5)
      2025-06-27T09:40:56.182744-04:00 xen xo-server[2283]:       at trim_prefix (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/index.js:328:13)
      2025-06-27T09:40:56.182767-04:00 xen xo-server[2283]:       at /opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/index.js:286:9
      2025-06-27T09:40:56.182822-04:00 xen xo-server[2283]:       at Function.process_params (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/index.js:346:12)
      2025-06-27T09:40:56.182845-04:00 xen xo-server[2283]:       at next (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/index.js:280:10)
      2025-06-27T09:40:56.182883-04:00 xen xo-server[2283]:       at initialize (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/passport/lib/middleware/initialize.js:98:5)
      2025-06-27T09:40:56.182907-04:00 xen xo-server[2283]:       at Layer.handle [as handle_request] (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/layer.js:95:5)
      2025-06-27T09:40:56.182945-04:00 xen xo-server[2283]:       at trim_prefix (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/index.js:328:13)
      2025-06-27T09:40:56.182970-04:00 xen xo-server[2283]:       at /opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/index.js:286:9
      2025-06-27T09:40:56.182994-04:00 xen xo-server[2283]:       at Function.process_params (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/index.js:346:12)
      2025-06-27T09:40:56.183018-04:00 xen xo-server[2283]:       at next (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/index.js:280:10)
      2025-06-27T09:40:56.183041-04:00 xen xo-server[2283]:       at urlencodedParser (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/body-parser/lib/types/urlencoded.js:94:7)
      2025-06-27T09:40:56.183072-04:00 xen xo-server[2283]:       at Layer.handle [as handle_request] (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/layer.js:95:5)
      2025-06-27T09:40:56.183105-04:00 xen xo-server[2283]:       at trim_prefix (/opt/xo/xo-builds/xen-orchestra-202506270848/node_modules/express/lib/router/index.js:328:13) {
      2025-06-27T09:40:56.183136-04:00 xen xo-server[2283]:     code: 'DEP0044'
      2025-06-27T09:40:56.183166-04:00 xen xo-server[2283]:   }
      2025-06-27T09:40:56.183212-04:00 xen xo-server[2283]: }
      2025-06-27T09:41:16.131076-04:00 xen xo-server[2352]: 2025-06-27T13:41:16.129Z xo:backups:worker INFO starting backup
      2025-06-27T09:41:16.842684-04:00 xen xo-server[2352]: 2025-06-27T13:41:16.842Z xo:backups:MixinBackupWriter INFO deleting temporary VHD {
      2025-06-27T09:41:16.842762-04:00 xen xo-server[2352]:   path: '/xo-vm-backups/4b999d5b-6bbf-78b5-93f2-83747c879be6/vdis/79a021e6-9637-40f0-871f-ab122f104d65/9aa754da-084f-4cc3-a494-2de58e17387c/.20250627T130633Z.vhd'
      2025-06-27T09:41:16.842806-04:00 xen xo-server[2352]: }
      2025-06-27T09:41:16.843337-04:00 xen xo-server[2352]: 2025-06-27T13:41:16.843Z xo:backups:MixinBackupWriter INFO deleting temporary VHD {
      2025-06-27T09:41:16.843372-04:00 xen xo-server[2352]:   path: '/xo-vm-backups/1c29eb9f-5b4b-2a63-dee2-47b738701058/vdis/79a021e6-9637-40f0-871f-ab122f104d65/a48c797e-39b2-4d9a-84a1-d4323436430f/.20250627T130627Z.vhd'
      2025-06-27T09:41:16.843415-04:00 xen xo-server[2352]: }
      2025-06-27T09:41:16.847122-04:00 xen xo-server[2352]: 2025-06-27T13:41:16.846Z xo:backups:MixinBackupWriter INFO deleting unused VHD {
      2025-06-27T09:41:16.847160-04:00 xen xo-server[2352]:   path: '/xo-vm-backups/4b999d5b-6bbf-78b5-93f2-83747c879be6/vdis/79a021e6-9637-40f0-871f-ab122f104d65/9aa754da-084f-4cc3-a494-2de58e17387c/.20250627T130633Z.vhd'
      2025-06-27T09:41:16.847178-04:00 xen xo-server[2352]: }
      2025-06-27T09:41:16.847260-04:00 xen xo-server[2352]: 2025-06-27T13:41:16.847Z xo:backups:MixinBackupWriter INFO deleting unused VHD {
      2025-06-27T09:41:16.847311-04:00 xen xo-server[2352]:   path: '/xo-vm-backups/1c29eb9f-5b4b-2a63-dee2-47b738701058/vdis/79a021e6-9637-40f0-871f-ab122f104d65/a48c797e-39b2-4d9a-84a1-d4323436430f/.20250627T130627Z.vhd'
      2025-06-27T09:41:16.847334-04:00 xen xo-server[2352]: }
      2025-06-27T09:41:18.829536-04:00 xen xo-server[2352]: 2025-06-27T13:41:18.828Z xo:backups:worker WARN possibly unhandled rejection {
      2025-06-27T09:41:18.829591-04:00 xen xo-server[2352]:   error: TypeError: this.source.readBlock is not a function
      2025-06-27T09:41:18.829612-04:00 xen xo-server[2352]:       at XapiDiskSource.readBlock (file:///opt/xo/xo-builds/xen-orchestra-202506270848/@xen-orchestra/disk-transform/dist/DiskPassthrough.mjs:70:28)
      2025-06-27T09:41:18.829627-04:00 xen xo-server[2352]:       at XapiDiskSource.buildDiskBlockGenerator (file:///opt/xo/xo-builds/xen-orchestra-202506270848/@xen-orchestra/disk-transform/dist/Disk.mjs:69:28)
      2025-06-27T09:41:18.829642-04:00 xen xo-server[2352]:       at buildDiskBlockGenerator.next (<anonymous>)
      2025-06-27T09:41:18.829658-04:00 xen xo-server[2352]:       at XapiDiskSource.diskBlocks (file:///opt/xo/xo-builds/xen-orchestra-202506270848/@xen-orchestra/disk-transform/dist/Disk.mjs:27:39)
      2025-06-27T09:41:18.829673-04:00 xen xo-server[2352]:       at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
      2025-06-27T09:41:18.829687-04:00 xen xo-server[2352]:       at async Promise.all (index 0)
      2025-06-27T09:41:18.829705-04:00 xen xo-server[2352]: }
      2025-06-27T09:41:27.192451-04:00 xen xo-server[2352]: 2025-06-27T13:41:27.192Z xo:backups:worker WARN possibly unhandled rejection {
      2025-06-27T09:41:27.192549-04:00 xen xo-server[2352]:   error: TypeError: this.source.readBlock is not a function
      2025-06-27T09:41:27.192576-04:00 xen xo-server[2352]:       at XapiDiskSource.readBlock (file:///opt/xo/xo-builds/xen-orchestra-202506270848/@xen-orchestra/disk-transform/dist/DiskPassthrough.mjs:70:28)
      2025-06-27T09:41:27.192606-04:00 xen xo-server[2352]:       at XapiDiskSource.buildDiskBlockGenerator (file:///opt/xo/xo-builds/xen-orchestra-202506270848/@xen-orchestra/disk-transform/dist/Disk.mjs:69:28)
      2025-06-27T09:41:27.192627-04:00 xen xo-server[2352]:       at buildDiskBlockGenerator.next (<anonymous>)
      2025-06-27T09:41:27.192657-04:00 xen xo-server[2352]:       at XapiDiskSource.diskBlocks (file:///opt/xo/xo-builds/xen-orchestra-202506270848/@xen-orchestra/disk-transform/dist/Disk.mjs:27:39)
      2025-06-27T09:41:27.192686-04:00 xen xo-server[2352]:       at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
      2025-06-27T09:41:27.192715-04:00 xen xo-server[2352]:       at async Promise.all (index 0)
      2025-06-27T09:41:27.192750-04:00 xen xo-server[2352]: }
      
      
      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263

      Here are the tasks that show up when i try running a full backup.
      a64ee111-7acb-412d-a89a-11af0f9c77f8-image.png

      Seems it does not do anything after the snap shot.
      Im current running Xen Orchestra, commit 1cb9c
      Will update to the latest commit and see what it does.

      here part of the log of backup while it sitting in Started. you see tasks are sitting in pending.

             {
                "data": {
                  "id": "f992fff1-e245-48f7-8eb3-25987ecbfbd4",
                  "isFull": true,
                  "type": "remote"
                },
                "id": "1751028165392:0",
                "message": "export",
                "start": 1751028165392,
                "status": "pending",
                "tasks": [
                  {
                    "id": "1751028165994",
                    "message": "transfer",
                    "start": 1751028165994,
                    "status": "pending"
                  }
      

      Update 2 ( i updated to latest Xen Orchestra, commit 54141)
      I deleted the snaps of prior backup attempts from each VM and ran a full backup job again.
      You can see it did the snap tasks (create/cleanup) but it still pending on export and transfer.

           "id": "1751028772562",
            "message": "backup VM",
            "start": 1751028772562,
            "status": "pending",
            "tasks": [
              {
                "id": "1751028772569",
                "message": "clean-vm",
                "start": 1751028772569,
                "status": "success",
                "end": 1751028772628,
                "result": {
                  "merge": false
                }
              },
              {
                "id": "1751028772999",
                "message": "snapshot",
                "start": 1751028772999,
                "status": "success",
                "end": 1751028778291,
                "result": "db1a49fb-10af-026d-7d27-4ff0f5da97c6"
              },
              {
                "data": {
                  "id": "f992fff1-e245-48f7-8eb3-25987ecbfbd4",
                  "isFull": true,
                  "type": "remote"
                },
                "id": "1751028778291:0",
                "message": "export",
                "start": 1751028778291,
                "status": "pending",
                "tasks": [
                  {
                    "id": "1751028778863",
                    "message": "transfer",
                    "start": 1751028778863,
                    "status": "pending"
      
      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263

      @florent
      are you asking about logs available in the gui or are there any logs stored locally under XO install for example?

      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263

      rollbacked to Xen Orchestra, commit bda87 and same issue. Trying to see if i can go further back.

      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263
      {
        "data": {
          "mode": "delta",
          "reportWhen": "failure"
        },
        "id": "1750967273856",
        "jobId": "79a021e6-9637-40f0-871f-ab122f104d65",
        "jobName": "2D. Dev VM - 6AM - Full: Sunday - Daily:M-F",
        "message": "backup",
        "scheduleId": "60635a8f-6aa9-4988-96eb-376faaabf740",
        "start": 1750967273856,
        "status": "pending",
        "infos": [
          {
            "data": {
              "vms": [
                "4b999d5b-6bbf-78b5-93f2-83747c879be6",
                "1c29eb9f-5b4b-2a63-dee2-47b738701058"
              ]
            },
            "message": "vms"
          }
      

      So I deleted the backup snap shot of one of the two VMs in this backup job. I then did full backup and the job shows running but stuck in pending mode. I do see two folders on my NAS with the same vms ids, which are empty. So its just not doing the backup process.

      c8654207-3c33-4dbd-81c9-95132346da78-image.png

      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263

      Seems like backup are broken again for me. I tried the latest build.
      Xen Orchestra, commit d8370

      Im seeing two kinds of errors:
      Error 1 The job starts and does nothing. I do see it creating a snap shot as I deleted the existing snapshot as part of testing

      Error2: The job runs and fails with http error.

      Testing so far:
      XO config backup still work fine.

      f6d51b31-0b35-4e5d-a234-7d8dc4700b72-image.png

      a1ed0564-6e9c-46e2-872b-3636ce5c3616-image.png

      posted in Backup
      marcoiM
      marcoi
    • RE: XO Community edition backups dont work as of build 6b263

      posted in the other thread as well but Xen Orchestra, commit 1a7b5 backups are working again. I tested configure and vm backups. They are being backup to NFS share.

      posted in Backup
      marcoiM
      marcoi
    • RE: Backups not working

      Backup done to NFS share

      Xen Orchestra, commit fb9bd - backup work

      Xen Orchestra, commit 6b263 - backup broken

      Xen Orchestra, commit 1a7b5 - backup working

      looks like the issue might been resolved with the latest build.

      posted in Backup
      marcoiM
      marcoi
    • RE: Backups not working

      @Greg_E
      I didnt try any changes to backup settings to test if any form of the backups would work on the latest commit. I just went back to an earlier version to perform backups using original settings.

      posted in Backup
      marcoiM
      marcoi
    • RE: Backups not working

      same issue going to disable backup for now until either bug fixed or i figure out how to go back to an older version.

      update - went to Xen Orchestra, commit fb9bd and backup working again.

      posted in Backup
      marcoiM
      marcoi
    • RE: API call: host.isPubKeyTooShort messages when host if offline

      @gduperrey Awesome news - thanks for quick reply.

      posted in Management
      marcoiM
      marcoi