-
Notifications
You must be signed in to change notification settings - Fork 45
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
MageOS 1.0.4 is not compatible with ES 7, and shoudl drop ES7 modules and support #105
Comments
A further issue has been discovered in teh out-the-box usage of ES 8 with 2.4.7-p2 (unsure if on prior to -p2, have not tested) All products disappear from display.
so, to fix, one must adjust ES8 service with a config change
|
I just ran into the same ES compatibility issue on a site where the host installs ES 8.6 by default. I switched to |
In case this isn't known yet, this has been documented in Magento's docs since December 2022, see: https://experienceleague.adobe.com/en/docs/commerce-operations/upgrade-guide/prepare/prerequisites#upgrade-elasticsearch |
The big diff now looks like ES 8 has it disabled, by default. This is a change people will soon become aware of. |
Summary
Building a new project, using MageOS 1.0.4, I ran into the problem that certain category views would fail.
This was duplicated in a clean luma 2.4.7 install with sample data, as well as a clean mageOS 1.0.4 install with sample data.
The issue can be tracked down to the fact that 2.4.7 (1.0.4) uses 'must' in the query, and that is an ES 8 convention
So, this is not at all compatible with ES7, and ES 8 is required.
However, once one upgrades ES to v8, a new error is presented:
This can be fixed by setting magento to use 'elasticsearch8' as the needed engine, BUT, that is not possible out-the-box.
Only ES 7 modules are included on base install, and one is required to manually install the ES 8 packages via composer.
This in itself presented a new issue, in the fact that there seems to no mageOS version of the needed package (I know this will be easy to solve, and will need to be solved for the proposed solution)
results in:
so, to get around this for now, I had to add magento repos back into composer
however, this then presented a whole new problem:
which then requires one to replace the magento/module-elasticsearch-7 module in composer
and then only can one install the needed ES 8 module, and then setup the needed config to use, and overcome the error
This is extremely convoluted to get ES 8 to work.
Examples
See description
Proposed solution
I propose that the module
mage-os/module-elasticsearch-7
be removed permanently from mageOS-1.0.4+ and replaced with the v8 version.End users should not need to go through the whole issue. It should work out-th-box with ES8, as that is the minimum requirement
There should be no need to keep the ES7 module code in the system. It is defunct.
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: