From 6463a9cb659ee8fd47a6f2d1918e824007c152cc Mon Sep 17 00:00:00 2001 From: hjhsalo Date: Thu, 1 Aug 2024 17:58:17 +0300 Subject: [PATCH] Add Elasticsearch troubleshooting tips --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 0dc0517..269bef0 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,14 @@ cp b2share.env .env docker-compose up ``` +## Troubleshooting + +If you get access right errors from Elasticsearch like `Unable to access 'path.data' (/usr/share/elasticsearch/data/elasticsearch)` +should create and chown ./data/elasticsearch-data : + +`$ chown 101:101 ./data/elasticsearch-data/` + + ## Usage with B2SHARE configloader With B2SHARE v2.3.0 a new configuration loader has been introduced. Because of this, all environment variables for b2share image has to start with prefix `B2SHARE_`