Skip to content

Opensearch is not starting (unhealthy) and it's causing problems #1343

Answered by dosubot bot
amorim-dm asked this question in Q&A
Discussion options

You must be logged in to vote

Your issue with Opensearch being unhealthy is a known problem in the docker-magento setup, and there are a few targeted solutions you can try:

  1. Check for the _JAVA_OPTIONS: -XX:UseSVE=0 line in env/opensearch.env
    This Java option is only needed for ARM64/Apple Silicon (M-series) chips. If you are on Intel or AMD, having this line can cause Opensearch to fail.

    • Remove or comment out this line in your env/opensearch.env file if it exists.
    • This fix was recently merged and resolved similar issues for others
      [source]
      [changelog].
  2. Update your healthcheck configuration
    The default healthcheck may not give Opensearch enough time to start, causing it to be marked as unhealthy.

    • In your compos…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@amorim-dm
Comment options

Answer selected by amorim-dm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant