3 Replies Latest reply on Jul 27, 2017 1:56 AM by 945312

    Endeca 11.3 migration from 11.2  Import Application failing

    1049229

      I am trying to migrate ATG 11.2 Endeca app to Endeca 11.3 .

      My application is cas based . As per migration document when i tried to execute

       

      "runCommand.sh IFCR importApplication <Path name >"

       

      Import  throwing error stating  "Zip payload file contain disallowed extensions".

      Its look like as in 11.3 xml based catrages configuration is moved to json file only.I suspect due to my 11.2 application contain all xml based catrages , importing it in 11.3 endeca not allowing it.

       

      Updated

      Update:  I just removed two file dataservice.json.org and endecaBrowserService.json.org , now error is solved. Again new Error is coming stating ,

       

      [SEVERE: Caught an exception while invoking method 'importApplication' on object 'IFCR'. Releasing locks.

      Failed with error Bad Request (400): 

      "The following 10 validation failures occurred:

      [/sites/RCSMIGen/configuration/tools/preview] Property 'height' does not exist.

      [/sites/RCSMIGen/configuration/tools/preview] Property 'width' does not exist.

      [/sites/RCSMIGen/configuration/tools/preview] Property 'height' does not exist.

      [/sites/RCSMIGen/configuration/tools/preview] Property 'width' does not exist.

      [/sites/RCSMIGen/configuration/tools/preview] Property 'height' does not exist.

      [/sites/RCSMIGen/configuration/tools/preview] Property 'width' does not exist.

      [/sites/RCSMIGen/configuration/tools/preview] Property 'height' does not exist.

      [/sites/RCSMIGen/configuration/tools/preview] Property 'width' does not exist.

      [/sites/RCSMIGen/pages] Invalid defaultSiteId '/RCSMIGen' specified[/sites/RCSMIGen/redirects/Default]

      Invalid property 'mdexMerchRuleID' specified for the node 'redirect-entry'.

      A 'redirect-entry' cannot have properties other than

      '[ecr:type, ecr:lastModified, ecr:lastModifiedBy, ecr:createDate, matchmode, url, searchTerms, enableStemming]'"

       

       

      Any help will be highly appreciated .

       

       

      Thanks

        • 1. Re: Endeca 11.3 migration from 11.2  Import Application failing "Zip payload file contain disallowed extensions"
          Daciano

          Hello,

          version 11.3 changed the working format by converting all xml files to json. I believe that an old zip import (xml) will not work.

           

          In the process of migrating from 11.2 to 11.3, in our environment all xml files were converted to json automatically. What I would suggest would be to try to generate a new export with the new version and retake the test.

           

          att

          • 2. Re: Endeca 11.3 migration from 11.2  Import Application failing
            1049229

            Hi, I am working on Migration only. As per document it should import old xml file and once import is competed I am suppose to export application which export only json file and no xml file.

             

            But I am stuck while importing it . The error how ever is changed now with,

             

            [SEVERE: Caught an exception while invoking method 'importApplication' on object 'IFCR'. Releasing locks.

            Failed with error Bad Request (400): 

            "The following 10 validation failures occurred:

            [/sites/RCSMIGen/configuration/tools/preview] Property 'height' does not exist.

            [/sites/RCSMIGen/configuration/tools/preview] Property 'width' does not exist.

            [/sites/RCSMIGen/configuration/tools/preview] Property 'height' does not exist.

            [/sites/RCSMIGen/configuration/tools/preview] Property 'width' does not exist.

            [/sites/RCSMIGen/configuration/tools/preview] Property 'height' does not exist.

            [/sites/RCSMIGen/configuration/tools/preview] Property 'width' does not exist.

            [/sites/RCSMIGen/configuration/tools/preview] Property 'height' does not exist.

            [/sites/RCSMIGen/configuration/tools/preview] Property 'width' does not exist.

            [/sites/RCSMIGen/pages] Invalid defaultSiteId '/RCSMIGen' specified[/sites/RCSMIGen/redirects/Default]

            Invalid property 'mdexMerchRuleID' specified for the node 'redirect-entry'.

            A 'redirect-entry' cannot have properties other than

            '[ecr:type, ecr:lastModified, ecr:lastModifiedBy, ecr:createDate, matchmode, url, searchTerms, enableStemming]'"

             

             

            As per document I have folder named migrate_config on config directory which have all need to be migrated data.

            This folder does contain xml file as well. Are you indicating that before first time importing migrated app you have all your xml file converted to json?

            • 3. Re: Endeca 11.3 migration from 11.2  Import Application failing
              945312

              go to configuration/tools/preview/_.json

               

              add height and width property in device json tag

               

                "devices": [

                      {

                          "skin": "iphone-landscape",

                          "width": 400,

                          "name": "Handheld (Landscape)",

                          "userAgent": "Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A537a Safari/419.3",

                          "height": 680

                      },

                      {

                          "skin": "iphone-portrait",

                          "width": 400,

                          "name": "Handheld (Portrait)",

                          "userAgent": "Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A537a Safari/419.3",

                          "height": 68

                      },

                      {

                          "skin": "ipad-landscape",

                         "width": 400,

                          "name": "Tablet (Landscape)",

                          "userAgent": "Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10",

                          "height": 68

                      },

                      {

                          "skin": "ipad-portrait",

                         "width": 400,

                          "name": "Tablet (Portrait)",

                          "userAgent": "Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.10",

                         "height": 68

                      }

                  ]

               

               

              Import content after modifying _.json file. Let me know if this help.