Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Bootstrap issue with ML9 when using Roxy 1.7.4 #885

Open
rskainth82 opened this issue May 25, 2018 · 2 comments
Open

Bootstrap issue with ML9 when using Roxy 1.7.4 #885

rskainth82 opened this issue May 25, 2018 · 2 comments

Comments

@rskainth82
Copy link

rskainth82 commented May 25, 2018

Hi,

When we bootstrap to ML 9.0.4 using Roxy 1.7.4, the path-range-indexes in the configuration file need to have collation element (empty or with value) irrespective of the scalar-type (string, int, dateTime) without which it is going to give error while bootstrap.

Error
C:\clearcase project\Path5_GENERIC_FRAMEWORK_ML_2\eie_ML_Generic_Framework\ML_Generic_Framework>ml dev6 bootstrap
Bootstrapping your project into MarkLogic 9 on xmlsboxm1d.aetna.com...
ERROR: ADMIN-INVALIDCONFIG: (err:FOER0000) Invalid configuration: range-path-index is missing collation See MarkLogic Server error log for more details.
ERROR: ... Bootstrap FAILED
ERROR: exit
ERROR: ["deploy/lib/ml.rb:170:in `exit'", "deploy/lib/ml.rb:170:in `<main>'"]

We had to update all the path-range-index with the collation element, irrespective of type of the index as shown below, in order to do successful bootstrap.

       <range-path-index>
          <scalar-type>dateTime</scalar-type>
           <collation />
          <path-expression>/hlthplcytsm:EDHTSMHealthPolicy/hlthplcytsm:healthPolicy/ofrofr:HealthPolicy/ofrofr:policyEffectiveDate/ofrss:EffectivePeriod/ofrss:datetimeBegin</path-expression>
          <range-value-positions>false</range-value-positions>
          <invalid-values>ignore</invalid-values>
        </range-path-index>

Which Operating System are you using? During our POC, where we are testing the compatibility of moving to MarkLogic 9.0-4, we tried bootstrapping from Windows machine. Not sure, whether this will make any difference though, if we change to do bootstrap from a Linux VM, as this issue seems to be related to Roxy or XQuery code behind it, which is expecting collation element to be provided, irrespective of scalar type for the path range index

Which version of MarkLogic are you using? ML 9.0-4

Which version of Roxy are you using (see version.txt)? 1.7.4

Thanks,
Rupinder

@grtjn
Copy link
Contributor

grtjn commented Aug 24, 2018

Apologies for not getting back earlier. We lost track of this issue during the holiday season. Have you tried upgrading to latest master or dev version? And did that resolve the issue?

@msbakya
Copy link

msbakya commented Mar 21, 2019

I see the same issue after upgrading to ML 9. It was fine with ML 8

ml local bootstrap
Bootstrapping your project into MarkLogic 9 on localhost...
ERROR: ADMIN-INVALIDCONFIG: (err:FOER0000) Invalid configuration: range-path-index is missing collation
See MarkLogic Server error log for more details.
ERROR: ... Bootstrap FAILED
ERROR: exit
ERROR: ["deploy/lib/ml.rb:170:in exit'", "deploy/lib/ml.rb:170:in

'"]

collation

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants