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

ML-9 Bootstrap Error: Invalid coercion: on external-security at ml.rb line 170 #706

Closed
dmccreary opened this issue Nov 28, 2016 · 4 comments

Comments

@dmccreary
Copy link

dmccreary commented Nov 28, 2016

I am getting errors when I use Roxy to do bootstraps on ML-9. I am using the DEV branch.

When I make some changes in the ml.config file and then re-run "ml local bootstrap" I get the following errors:

$ ml local bootstrap
Bootstrapping your project into MarkLogic 9 on localhost...
ERROR: XDMP-AS: (err:XPTY0004) $val as node()? -- Invalid coercion: (..., ...) as node()?
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

'"]

After this error occurs ALL of my roxy bootstrap projects will stop working, even on unrelated databases.

The only fix is to do a ml local wipe, reboot the server and reload all the content.

I have worked with Rob Szkutak on this and he has confirmed that there are no problems with the ml.config file.

A sample of one my ml.config files is here:

https://github.com/dmccreary/marklogic-business-glossary/blob/master/deploy/ml-config.xml

Thanks! - Dan

@RobertSzkutak RobertSzkutak added this to the 1.7.5 milestone Nov 28, 2016
@RobertSzkutak
Copy link
Contributor

RobertSzkutak commented Nov 28, 2016

Dan and I have chatted back and forth a bit about this. He hasn't figured out how to reproduce this yet. But it seems that bootstraps "randomly" stop working for him for all projects on ML9. Could be indicative of a larger issue but I'm not sure. Could also be caused by manual changes being made to ML9.

Dan, could you also share your error log here? I remember we saw that it looked like bootstrap was failing on setting up external security which was odd because your ml-config.xml didn't use external security.

@dmcassel dmcassel added the bug label Nov 28, 2016
@RobertSzkutak RobertSzkutak modified the milestones: 1.7.6, 1.7.5 Jan 30, 2017
@dmcassel dmcassel modified the milestones: 1.7.6, April 2017 Jan 30, 2017
@RobertSzkutak
Copy link
Contributor

I believe this was solved. Re-open if not.

@grtjn
Copy link
Contributor

grtjn commented Jun 1, 2017

I wouldn't be surprised if it just was some instability with ML9 EA, or maybe even ML9 nightly. I have seen some quirks too, but thought I logged all..

@grtjn grtjn added wontfix and removed help wanted labels Jun 9, 2017
@grtjn
Copy link
Contributor

grtjn commented Jun 9, 2017

I could also imagine something like this happening after upgrading ML9 EA (which is officially not supported)

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

No branches or pull requests

4 participants