-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Catalog search index process error indexation process #38254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @dariovranjkovic. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @dariovranjkovic , It is an issue related to updated ea-libxml2 package. Please downgrade that package using command
and retry running reindex. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
@devbikash07 Thanks for your contribution & collaboration over here. Hi @dariovranjkovic, Thank you for reporting and collaboration. Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots. Could you please refer this comment #38254 (comment) Thanks. |
It is true that downgrading xmllib to a version below 2.12.0 will resolve the problem but only because those versions of libxml allowed invalid XML schemas. See this issue for more info. I am not an expert on XSD's so I could be wrong but this would suggest the XSD is actually invalid and should be corrected. |
@ainigma32 Thanks for your contribution & collaboration over here. @dariovranjkovic Could you please refer this document #38254 (comment) and please let us know if you are still facing any issue. Thanks. |
I am facing the same issue , @dariovranjkovic can you find out any solution ? |
@Kishorchhugani yes we found solution It is an issue related to updated ea-libxml2 package. Please downgrade that package using command |
Thanks for that temporary fix. Hopefully the details @ainigma32 provided will let the Magento team provide a more permanent fix. Currently this issue reoccurs daily due to our server host forcing WHM to update daily with no apparent way to disable this any more. |
This Works For me , remove one line check it |
Yes that also works and as long as you don't add any invalid esconfig.xml files it should be fine. |
As per this #38254 (comment) we are closing this issue.As issue has been resolved. Thanks. |
Sorry, but downgrading a built in library that actually implements a correct schema checking for XML is not a fix. This will break any magento installs for anyone with automatic updates enabled who runs EasyApache on WHM and also anyone else who updates libxml. Can this be reopened please? |
@engcom-Bravo please see my above comment re the "solution" that was accepted. |
Issue makes sense, seems like core bug, @engcom-Bravo or @ihor-sviziev, can we get this reopened? If I understand it correctly, it's because this code in the xsd file: <xs:element type="xs:string" name="default" minOccurs="1" maxOccurs="1" />
<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" /> It first says: we need an element Out of curiosity, does changing |
Alas, no, it does not. |
See also: https://stackoverflow.com/questions/37486498/xsdany-other-elements-inside-choice In particular, it says that using
Given that:
It looks like using an XSD that requires XML Schema 1.1 is out of the question, at least in the short term. I think the we should comment out |
Hi @engcom-November. Thank you for working on this issue.
|
✅ Jira issue https://jira.corp.adobe.com/browse/AC-10838 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-November. Thank you for verifying the issue. |
I've just send in this PR: #38553 which seems to fix this problem. Feedback would be appreciated :) |
Hi, Internal team has started to work on it Thanks. |
Hello, As I can see this issue got fixed in the scope of the internal Jira ticket AC-10838 by the internal team Thanks |
Using latest Magento 2.4.7-p4. This error still happens. In the Storefront as well as in the indexing process. |
Preconditions and environment
Steps to reproduce
Expected result
Reindex without error messages
Actual result
Catalog Search index process error during indexation process:
Processed schema file: public_html/vendor/magento/module-elasticsearch/etc/esconfig.xsd
complex type 'mixedDataType': The content model is not determinist.
Additional information
Site was working fine long time, and after run re-index I got error message:
Catalog Search index process error during indexation process:
Processed schema file: public_html/vendor/magento/module-elasticsearch/etc/esconfig.xsd
complex type 'mixedDataType': The content model is not determinist.
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: