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

    issue with xoa and netbox config

    Scheduled Pinned Locked Moved Advanced features
    5 Posts 2 Posters 265 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.
    • M Offline
      mbriet
      last edited by olivierlambert

      hello,
      I try to configure my XOA with a fresh install of netbox.
      I have the error code Code: -32000
      Message: Cannot read properties of undefined (reading 'includes')

      {
        "message": "Cannot read properties of undefined (reading 'includes')",
        "name": "TypeError",
        "stack": "TypeError: Cannot read properties of undefined (reading 'includes')\n    at some (/usr/local/lib/node_modules/xo-server-netbox/src/index.js:215:43)\n    at Array.some (<anonymous>)\n    at Netbox.#checkCustomFields (/usr/local/lib/node_modules/xo-server-netbox/src/index.js:215:23)\n    at Netbox.test (/usr/local/lib/node_modules/xo-server-netbox/src/index.js:109:5)\n    at default.testPlugin (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/plugins.mjs:285:5)\n    at Xo.test (file:///usr/local/lib/node_modules/xo-server/src/api/plugin.mjs:109:3)\n    at Api.#callApiMethod (file:///usr/local/lib/node_modules/xo-server/src/xo-mixins/api.mjs:366:20)
      

      Can you help me
      DO I need to create the subnet before sync ?

      regards

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

        Hi,

        Are you using Netbox 4.x?

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          mbriet @olivierlambert
          last edited by

          @olivierlambert
          hello yes 4.0.5

          regards

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

            Next XOA release will provide Netbox 4.x support 🙂

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              mbriet @olivierlambert
              last edited by

              @olivierlambert
              thanks for the feedback

              regards

              1 Reply Last reply Reply Quote 0
              • First post
                Last post