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

Could not validate a connection to the OpenSearch error when executing bin/setup magento.test. #1274

Open
cynault opened this issue Dec 24, 2024 · 1 comment

Comments

@cynault
Copy link

cynault commented Dec 24, 2024

Description

Could not validate a connection to the OpenSearch error when executing bin/setup magento.test.
Steps To Reproduce

  1. mkdir -p ~/Sites/magento
  2. cd $_
  3. curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template | bash
  4. bin/download community 2.4.7-p3
  5. bin/setup magento.test

Expected Result
install successful

Actual Result
Installing search configuration...
In SearchConfig.php line 81:

Could not validate a connection to the OpenSearch. No alive nodes found in
your cluster

docker ps
CONTAINER ID   IMAGE                                  COMMAND                  CREATED       STATUS                   PORTS                                                                                                                                                 NAMES
cd37d0f9f0d2   markoshust/magento-nginx:1.24-0        "/docker-entrypoint.…"   2 hours ago   Up 8 minutes (healthy)   80/tcp, 0.0.0.0:80->8000/tcp, :::80->8000/tcp, 0.0.0.0:443->8443/tcp, :::443->8443/tcp                                                                docker-app-1
409a3c42b233   markoshust/magento-php:8.3-fpm-3       "docker-php-entrypoi…"   2 hours ago   Up 8 minutes             9000/tcp                                                                                                                                              docker-phpfpm-1
a7f1b96ca21c   mariadb:10.6                           "docker-entrypoint.s…"   2 hours ago   Up 8 minutes (healthy)   0.0.0.0:3306->3306/tcp, :::3306->3306/tcp                                                                                                             docker-db-1
39d60869981b   sj26/mailcatcher                       "mailcatcher --foreg…"   2 hours ago   Up 8 minutes (healthy)   1025/tcp, 0.0.0.0:1080->1080/tcp, :::1080->1080/tcp                                                                                                   docker-mailcatcher-1
143054d4ab7d   markoshust/magento-rabbitmq:3.13-0     "docker-entrypoint.s…"   2 hours ago   Up 8 minutes (healthy)   4369/tcp, 5671/tcp, 0.0.0.0:5672->5672/tcp, :::5672->5672/tcp, 15671/tcp, 15691-15692/tcp, 25672/tcp, 0.0.0.0:15672->15672/tcp, :::15672->15672/tcp   docker-rabbitmq-1
7771455f767d   redis:7.2-alpine                       "docker-entrypoint.s…"   2 hours ago   Up 8 minutes (healthy)   0.0.0.0:6379->6379/tcp, :::6379->6379/tcp                                                                                                             docker-redis-1
3bdf95b90fe6   markoshust/magento-opensearch:2.12-0   "./opensearch-docker…"   2 hours ago   Up 8 minutes (healthy)   0.0.0.0:9200->9200/tcp, :::9200->9200/tcp, 9600/tcp, 0.0.0.0:9300->9300/tcp, :::9300->9300/tcp, 9650/tcp                                              docker-opensearch-1
@markshust
Copy link
Owner

I'm unable to replicate this... does this happen for anyone else?

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

No branches or pull requests

2 participants