From 08c4f75ddc92ae502c7caa8b87bf2cd0284b4daf Mon Sep 17 00:00:00 2001 From: Arthur Loupforest Date: Mon, 5 Aug 2019 15:00:22 +0200 Subject: [PATCH 1/2] Add increase max virtual memory areas --- akeneo/3.1-demo/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/akeneo/3.1-demo/README.md b/akeneo/3.1-demo/README.md index 5408ca2..314e554 100644 --- a/akeneo/3.1-demo/README.md +++ b/akeneo/3.1-demo/README.md @@ -69,6 +69,19 @@ services: image: elasticsearch:6.5.4 ``` +You may have to increase max virtual memory areas if you see the following error: +``` +docker-compose logs --tail 100 -f elasticsearch +... +elasticsearch_1_2bad8dfeda81 | ERROR: [1] bootstrap checks failed +elasticsearch_1_2bad8dfeda81 | [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] +... +``` +Run the following command to increase max virtual memory areas to the required size: +``` +sudo sysctl -w vm.max_map_count=262144 +``` + Run `docker-composer exec php /usr/local/bin/pim-init-db.sh` to initialize database, and load demo data. Then open http://localhost:3380. From 4bf2c0f0bbe249e4387fbfba5f7586a54ebb7298 Mon Sep 17 00:00:00 2001 From: Arthur Loupforest Date: Mon, 5 Aug 2019 15:00:54 +0200 Subject: [PATCH 2/2] Change docker-composer to docker-compose --- akeneo/3.1-demo/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akeneo/3.1-demo/README.md b/akeneo/3.1-demo/README.md index 314e554..c7ddb1f 100644 --- a/akeneo/3.1-demo/README.md +++ b/akeneo/3.1-demo/README.md @@ -82,7 +82,7 @@ Run the following command to increase max virtual memory areas to the required s sudo sysctl -w vm.max_map_count=262144 ``` -Run `docker-composer exec php /usr/local/bin/pim-init-db.sh` to initialize database, and load demo data. +Run `docker-compose exec php /usr/local/bin/pim-init-db.sh` to initialize database, and load demo data. Then open http://localhost:3380.