我在安装Akeneo v2.3(使用docker)时遇到了问题。
我按照以下步骤进行安装:https://docs.akeneo.com/2.3/install_pim/docker/installation_docker.html,直到执行以下命令:
我按照以下步骤进行安装:https://docs.akeneo.com/2.3/install_pim/docker/installation_docker.html,直到执行以下命令:
docker-compose exec fpm bin/console --env=prod pim:install --force --symlink --clean
但是我遇到了以下错误:
通过命令Reset elasticsearch indexes
In StaticNoPingConnectionPool.php line 51:
No alive nodes found in your cluster
The command terminated with an error code: 1. Error during PIM installation. The command terminated with an error code: 1.
docker-compose exec elasticsearch bash
然后 curl -X GET 'localhost:9200/?pretty'
我可以看到elasticsearch服务正在运行并给出了正面的响应:
我做错了什么呢?{ "name" : "PEA3LJM", "cluster_name" : "docker-cluster",
"cluster_uuid" : "yOqBWRxwShKajvjwyTkf0A", "version" : { "number" : "5.5.3", "build_hash" : "9305a5e", "build_date" : "2017-09-07T15:56:59.599Z", "build_snapshot" : false, "lucene_version" : "6.6.0" }, "tagline" : "You Know, for Search" }