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

    Plugin transport-email (v0.6.0) broken ?

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    20 Posts 6 Posters 2.1k Views 1 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.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by olivierlambert

      There's no master on XOA, it's only stable and latest. They aren't Git branches but release channels with validate with QA specifically on our virtual appliance.

      1 Reply Last reply Reply Quote 0
      • D Offline
        DustinB @Meth0d
        last edited by

        @meth0d said in Plugin transport-email (v0.6.0) broken ?:

        @olivierlambert said in Plugin transport-email (v0.6.0) broken ?:

        Can you test on XOA latest then? This will help to see if it's only on master

        Never done that, can i switch back and forth between master and latest on the same install?
        I will have to wait as i am currently running full backups after delta keeps failing on me again (f** that).

        Just go through this to use XOA Trial https://xen-orchestra.com/blog/xen-orchestra-free-trial/

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

          I have same problem on community edition updated to the latest release.
          There is error from log file:

          {
            "message": "strict mode: unknown keyword: \"enumNames\"",
            "name": "Error",
            "stack": "Error: strict mode: unknown keyword: \"enumNames\"
              at checkStrictMode (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/util.ts:211:28)
              at checkUnknownRules (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/util.ts:27:22)
              at Object.alwaysValidSchema (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/util.ts:17:3)
              at /opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/vocabularies/applicator/properties.ts:23:48
              at Array.filter (<anonymous>)
              at Object.code (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/vocabularies/applicator/properties.ts:23:33)
              at keywordCode (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/validate/index.ts:519:9)
              at /opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/validate/index.ts:265:9
              at CodeGen.code (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/codegen/index.ts:525:33)
              at CodeGen.block (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/codegen/index.ts:680:20)
              at iterateKeywords (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/validate/index.ts:262:7)
              at groupKeywords (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/validate/index.ts:241:7)
              at /opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/validate/index.ts:233:38
              at CodeGen.code (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/codegen/index.ts:525:33)
              at CodeGen.block (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/codegen/index.ts:680:20)
              at schemaKeywords (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/validate/index.ts:232:7)
              at typeAndKeywords (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/validate/index.ts:162:3)
              at subSchemaObjCode (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/validate/index.ts:148:3)
              at subschemaCode (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/validate/index.ts:125:7)
              at KeywordCxt.subschema (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/compile/validate/index.ts:487:5)
              at applyPropertySchema (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/vocabularies/applicator/properties.ts:45:11)
              at Object.code (/opt/xen-orchestra/packages/xo-server/node_modules/ajv/lib/vocabularies/applicator/properties.ts:32:9)"
          }
          
          julien-fJ 1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Have you checked this @Alexander-0 ? https://xen-orchestra.com/docs/community.html

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

              I'm also pinging @julien-f or @badrAZ if it rings any bell to them 🙂

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

                @olivierlambert I made this operations from list and have the same result.

                1 Reply Last reply Reply Quote 0
                • julien-fJ Offline
                  julien-f Vates 🪐 Co-Founder XO Team @Alexander 0
                  last edited by

                  @alexander-0 Thank for this report, taking a look ASAP.

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    Alexander 0 @julien-f
                    last edited by

                    @julien-f I found that there is no folder lib in /opt/xen-orchestra/packages/xo-server/node_modules/ajv/
                    May be this will help in resolving

                    julien-fJ 1 Reply Last reply Reply Quote 0
                    • julien-fJ Offline
                      julien-f Vates 🪐 Co-Founder XO Team @Alexander 0
                      last edited by

                      Thank you all for your reports, should be fixed 🙂

                      https://github.com/vatesfr/xen-orchestra/commit/3cc9fd2782de353dbd866471a793366748c0c098

                      0 julien-f committed to vatesfr/xen-orchestra
                      fix(xo-server/api): log instead of rejecting  non-strict schemas
                      
                      Fixes https://xcp-ng.org/forum/topic/4439/plugin-transport-email-v0-6-0-broken
                      A gskgerG 2 Replies Last reply Reply Quote 2
                      • A Offline
                        Alexander 0 @julien-f
                        last edited by

                        @julien-f Plugin works! Thank you.

                        1 Reply Last reply Reply Quote 2
                        • gskgerG Offline
                          gskger Top contributor @julien-f
                          last edited by

                          @julien-f yes, works well (even with the 3td party script 😇 ). Nice job and fast as usual 👍. Thanks @Alexander-0 for helping to pin it down 👏

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