Skip to content
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

Open Search and Elastic Search Containers are failing #1288

Open
artmuscode opened this issue Feb 2, 2025 · 2 comments
Open

Open Search and Elastic Search Containers are failing #1288

artmuscode opened this issue Feb 2, 2025 · 2 comments
Labels

Comments

@artmuscode
Copy link

Description
Ran the proper setup and all containers build but OpenSearch or Elastic Search. I'm using newest Mac OS, M4 processor, Latest Docker Desktop

Steps To Reproduce
1.
Created the folder structure Sites/magento
Ran the curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test community 2.4.7-p3
Expected Result
Expecting these containers to be running but don't

Actual Result
Containers for both OpenSearch and Elastic Search fail

@artmuscode artmuscode changed the title Open Search and Elastioc Search Containers are failing Open Search and Elastic Search Containers are failing Feb 2, 2025
Copy link

dosubot bot commented Feb 2, 2025

Hey @artmuscode! I'm here to help you with any bugs, questions, or contributions you have. Let's get to the bottom of this together!

There is a known issue with OpenSearch and Elastic Search containers failing to run on Apple Silicon processors, such as the M4, due to a Java Runtime Environment error. This can be resolved by adding a specific environment variable to your OpenSearch container configuration:

environment:
  - "_JAVA_OPTIONS=-XX:UseSVE=0"

This change addresses compatibility issues with the processor architecture and has been confirmed to work on Apple Silicon processors, including M-series chips [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosubot dosubot bot added the bug label Feb 2, 2025
@artmuscode
Copy link
Author

artmuscode commented Feb 2, 2025

Okay that fixed the OpenSearch issue, THANKS! I had to install through the manual process to get everything to install, deploy and compile correctly.

Always a roadblock when setting up a new development environment on my M4 Mac.

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

No branches or pull requests

1 participant