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

    Unable to update XOA

    Scheduled Pinned Locked Moved Management
    10 Posts 4 Posters 483 Views 4 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.
    • F Offline
      fred974
      last edited by

      Hi,

      I am currently running XCP-ng 8.3.0 / XOA version: 5.112.1 and when I tried to install the Debian 13 template I get the following error:

      cloud.downloadAndInstallResource
      {
        "namespace": "Debian13",
        "id": "8a0ed870-283b-4829-4476-9f778d9fc654",
        "version": "1.0.0",
        "sr": "ba4d0c59-fec5-02a2-4421-9444314e7f7c",
        "templateOnly": true
      }
      {
        "url": "http://localhost:9002/",
        "originalUrl": "http://localhost:9002/",
        "message": "HTTP connection has timed out",
        "name": "Error",
        "stack": "Error: HTTP connection has timed out
          at ClientRequest.<anonymous> (/usr/local/lib/node_modules/xo-server-xoa/node_modules/http-request-plus/index.js:61:25)
          at ClientRequest.emit (node:events:518:28)
          at ClientRequest.patchedEmit [as emit] (/usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/log/configure.js:52:17)
          at Socket.emitRequestTimeout (node:_http_client:849:9)
          at Object.onceWrapper (node:events:632:28)
          at Socket.emit (node:events:530:35)
          at Socket.patchedEmit [as emit] (/usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/log/configure.js:52:17)
          at Socket._onTimeout (node:net:595:8)
          at listOnTimeout (node:internal/timers:581:17)
          at processTimers (node:internal/timers:519:7)"
      }
      

      Could anyone please advice on how to resolve this issue?

      AtaxyaNetworkA 1 Reply Last reply Reply Quote 0
      • AtaxyaNetworkA Offline
        AtaxyaNetwork Ambassador @fred974
        last edited by

        @fred974 Hi !

        Do you see anything red in XOA check ? (XOA > Support) ? 46f7bc6b-8eae-4c87-ba11-70c1c261e45e-image.png

        1 Reply Last reply Reply Quote 0
        • P Offline
          Pilow
          last edited by

          do you see a task progressing / failing when installing the template from the Hub ?
          d7b52764-8ec9-450c-8a55-174e2bfca4a1-image.png

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            fred974 @Pilow
            last edited by

            @Pilow said in Unable to update XOA:

            do you see a task progressing / failing when installing the template from the Hub ?

            Yes I do.
            1b58695d-20e5-4ad4-be5e-5f88d310cb29-image.png

            {
              "id": "0min7179y",
              "properties": {
                "method": "cloud.getResourceCatalog",
                "params": {
                  "filters": {
                    "hub": true
                  }
                },
                "name": "API call: cloud.getResourceCatalog",
                "userId": "26d44a26-3ac5-4377-80ef-f8474ce94df3",
                "type": "api.call"
              },
              "start": 1764596227606,
              "status": "failure",
              "updatedAt": 1764596232622,
              "end": 1764596232621,
              "result": {
                "code": -32000,
                "message": "unknown error from the peer",
                "name": "JsonRpcError",
                "stack": "JsonRpcError: unknown error from the peer\n    at Peer._callee$ (/usr/local/lib/node_modules/xo-server-xoa/node_modules/json-rpc-peer/src/index.js:98:9)\n    at Peer.<anonymous> (/usr/local/lib/node_modules/xo-server-xoa/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:52:18)\n    at Generator.<anonymous> (/usr/local/lib/node_modules/xo-server-xoa/node_modules/@babel/runtime/helpers/regenerator.js:52:51)\n    at Generator.next (/usr/local/lib/node_modules/xo-server-xoa/node_modules/@babel/runtime/helpers/regeneratorDefine.js:11:21)\n    at asyncGeneratorStep (/usr/local/lib/node_modules/xo-server-xoa/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)\n    at _next (/usr/local/lib/node_modules/xo-server-xoa/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)\n    at /usr/local/lib/node_modules/xo-server-xoa/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7\n    at Promise._execute (/usr/local/lib/node_modules/xo-server/node_modules/bluebird/js/release/debuggability.js:384:9)\n    at Promise._resolveFromExecutor (/usr/local/lib/node_modules/xo-server/node_modules/bluebird/js/release/promise.js:518:18)\n    at new Promise (/usr/local/lib/node_modules/xo-server/node_modules/bluebird/js/release/promise.js:103:10)\n    at Peer.<anonymous> (/usr/local/lib/node_modules/xo-server-xoa/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)\n    at Peer.exec (/usr/local/lib/node_modules/xo-server-xoa/node_modules/json-rpc-peer/dist/index.js:182:20)\n    at Peer.write (/usr/local/lib/node_modules/xo-server-xoa/node_modules/json-rpc-peer/src/index.js:206:10)\n    at JsonRpcWebSocketClient.<anonymous> (/usr/local/lib/node_modules/xo-server-xoa/node_modules/jsonrpc-websocket-client/src/index.js:57:12)\n    at JsonRpcWebSocketClient.emit (node:events:518:28)\n    at JsonRpcWebSocketClient.emit (/usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/log/configure.js:52:17)\n    at WebSocket.<anonymous> (/usr/local/lib/node_modules/xo-server-xoa/node_modules/jsonrpc-websocket-client/src/websocket-client.js:179:20)\n    at callListener (/usr/local/lib/node_modules/xo-server-xoa/node_modules/ws/lib/event-target.js:290:14)\n    at WebSocket.onMessage (/usr/local/lib/node_modules/xo-server-xoa/node_modules/ws/lib/event-target.js:209:9)\n    at WebSocket.emit (node:events:518:28)\n    at WebSocket.patchedEmit [as emit] (/usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/log/configure.js:52:17)\n    at Receiver.receiverOnMessage (/usr/local/lib/node_modules/xo-server-xoa/node_modules/ws/lib/websocket.js:1220:20)"
              }
            }
            
            

            @AtaxyaNetwork said in Unable to update XOA:

            Do you see anything red in XOA check ? (XOA > Support) ?

            No everything is green except for the version
            daa30f12-39b5-4c5a-a23d-f5eaafa35e6f-image.png

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              Pilow @fred974
              last edited by

              @fred974 mmmm I tested on my 5.113.1 XOA to download this template and it did work as intended.

              could you verify the time/date on XOA, and XCP host where you want to deploy it ?

              does your XOA have good internet access ?

              P F 2 Replies Last reply Reply Quote 0
              • P Offline
                Pilow @Pilow
                last edited by

                or a good reboot of the XOA if there is no backups at this time πŸ˜ƒ

                F 1 Reply Last reply Reply Quote 0
                • F Offline
                  fred974 @Pilow
                  last edited by

                  @Pilow said in Unable to update XOA:

                  could you verify the time/date on XOA, and XCP host where you want to deploy it

                  My time is completely wrong.
                  XOA:

                  [09:08 01] xoa:xoa$ date
                  Mon Dec  1 09:08:42 AM EST 2025
                  

                  Hypervisor:

                  [14:06 uk-dc1-prod-hv1 ~]# date
                  Mon Dec  1 14:10:06 GMT 2025
                  

                  I just ran timedatectl set-timezone Europe/London but not sure how to sync time

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    fred974 @Pilow
                    last edited by

                    @Pilow said in Unable to update XOA:

                    or a good reboot of the XOA if there is no backups at this time

                    Rebooted XOA and Hypervisor. I managed to install the template. Any sugestion about the time sync issue?

                    P P 2 Replies Last reply Reply Quote 0
                    • P Offline
                      Pilow @fred974
                      last edited by

                      @fred974 you should have an ntp server configuration on both, XOA and XCP host

                      perhaps daemons are not started ?

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        ph7 @fred974
                        last edited by

                        @fred974
                        It used to be (and probably still is) that You have to be reasonably near correct time for NTP to accept any changes.

                        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