From 25399e7f7ebad0c19bf8ed763de32cdf37978fa0 Mon Sep 17 00:00:00 2001 From: Yingfeng Date: Mon, 22 Apr 2024 11:01:51 +0800 Subject: [PATCH 1/4] Adjust the structure of FAQ (#478) ### Type of change - [x] Documentation Update --- docs/faq.md | 195 ++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 136 insertions(+), 59 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 7aa97fcf3d7..2b830c54610 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -2,99 +2,150 @@ ## General -### What sets RAGFlow apart from other RAG products? +### 1. What sets RAGFlow apart from other RAG products? The "garbage in garbage out" status quo remains unchanged despite the fact that LLMs have advanced Natural Language Processing (NLP) significantly. In response, RAGFlow introduces two unique features compared to other Retrieval-Augmented Generation (RAG) products. - Fine-grained document parsing: Document parsing involves images and tables, with the flexibility for you to intervene as needed. - Traceable answers with reduced hallucinations: You can trust RAGFlow's responses as you can view the citations and references supporting them. -### Which languages does RAGFlow support? +### 2. Which languages does RAGFlow support? English, simplified Chinese, traditional Chinese for now. ## Performance -### Why does it take longer for RAGFlow to parse a document than LangChain? +### 1. Why does it take longer for RAGFlow to parse a document than LangChain? We put painstaking effort into document pre-processing tasks like layout analysis, table structure recognition, and OCR (Optical Character Recognition) using our vision model. This contributes to the additional time required. +### 2. Why RAGFlow requires more resources than other products? + +Because RAGFlow has a series of built-in models for document structure parsing, these models require extra computational resources. + ## Feature -### Which architectures or devices does RAGFlow support? +### 1. Which architectures or devices does RAGFlow support? -ARM64 and Ascend GPU are not supported. +Currently, only x86 CPU and Nvidia GPU are supported. -### Do you offer an API for integration with third-party applications? +### 2. Do you offer an API for integration with third-party applications? -These APIs are still in development. Contributions are welcome. +Yes, APIs are ready and could be accessed from [here](./conversation_api.md). -### Do you support stream output? +### 3. Do you support stream output? No, this feature is still in development. Contributions are welcome. -### Is it possible to share dialogue through URL? +### 4. Is it possible to share dialogue through URL? -This feature and the related APIs are still in development. Contributions are welcome. +Yes, dialogue could be embedded into other applications through URL directly. -### Do you support multiple rounds of dialogues, i.e., referencing previous dialogues as context for the current dialogue? +### 5. Do you support multiple rounds of dialogues, i.e., referencing previous dialogues as context for the current dialogue? This feature and the related APIs are still in development. Contributions are welcome. -## Configurations -### How to increase the length of RAGFlow responses? - -1. Right click the desired dialog to display the **Chat Configuration** window. -2. Switch to the **Model Setting** tab and adjust the **Max Tokens** slider to get the desired length. -3. Click **OK** to confirm your change. +## Troubleshooting +### 1. Problems on docker images. -### What does Empty response mean? How to set it? +#### 1.1 How to build docker images? -You limit what the system responds to what you specify in **Empty response** if nothing is retrieved from your knowledge base. If you do not specify anything in **Empty response**, you let your LLM improvise, giving it a chance to hallucinate. +``` +$ git clone https://github.com/infiniflow/ragflow.git +$ cd ragflow/ +$ docker build -t infiniflow/ragflow:v0.3.0 . +$ cd ragflow/docker +$ chmod +x ./entrypoint.sh +$ docker compose up -d +``` -### Can I set the base URL for OpenAI somewhere? +#### 1.2 `process "/bin/sh -c cd ./web && npm i && npm run build"` did not complete successfully. -![](https://github.com/infiniflow/ragflow/assets/93570324/8cfb6fa4-8a97-415d-b9fa-b6f405a055f3) +1. First of all, you need to test whether the network could work within docker through such commands as `curl https://hf-mirror.com`. +2. If the network does not have any problems, it means that there is a problem within the docker network configuration, adjust the docker building accordingly: +``` +# Original: +docker build -t infiniflow/ragflow:v0.3.0 . +# Current: +docker build -t infiniflow/ragflow:v0.3.0 . --network host +``` -### How to run RAGFlow with a locally deployed LLM? +### 2. Problems on huggingface models. -You can use Ollama to deploy local LLM. See [here](https://github.com/infiniflow/ragflow/blob/main/docs/ollama.md) for more information. +#### 2.1. `MaxRetryError: HTTPSConnectionPool(host='hf-mirror.com', port=443)` -### How to link up ragflow and ollama servers? +This error suggests that you do not have Internet access or are unable to connect to hf-mirror.com. Try the following: -- If RAGFlow is locally deployed, ensure that your RAGFlow and Ollama are in the same LAN. -- If you are using our online demo, ensure that the IP address of your Ollama server is public and accessible. +1. Manually download the resource files from [huggingface.co/InfiniFlow/deepdoc](https://huggingface.co/InfiniFlow/deepdoc) to your local folder **~/deepdoc**. +2. Add a volumes to **docker-compose.yml**, for example: +``` +- ~/deepdoc:/ragflow/rag/res/deepdoc +``` -### How to configure RAGFlow to respond with 100% matched results, rather than utilizing LLM? +#### 2.2 `FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/huggingface/hub/models--InfiniFlow--deepdoc/snapshots/FileNotFoundError: [Errno 2] No such file or directory: '/ragflow/rag/res/deepdoc/ocr.res'be0c1e50eef6047b412d1800aa89aba4d275f997/ocr.res'` -1. Click the **Knowledge Base** tab in the middle top of the page. -2. Right click the desired knowledge base to display the **Configuration** dialogue. -3. Choose **Q&A** as the chunk method and click **Save** to confirm your change. +1. First of all, you need to test whether the network could work within docker through such commands as `curl https://hf-mirror.com`. +2. Using `ifconfig` to see the `mtu` value under your environments. If the `mtu` of the server is `1450`, while the `mtu` of the NIC in the container is `1500`, it will lead to the unstable networking. Modify the `mtu` policy as follows: +``` +vim docker-compose-base.yml +# Original configuration: +networks: + ragflow: + driver: bridge +# Modified configuration: +networks: + ragflow: + driver: bridge + driver_opts: + com.docker.network.driver.mtu: 1450 +``` -## Debugging +### 3. Problems on RAGFlow servers -### `WARNING: can't find /raglof/rag/res/borker.tm` +#### 3.1 `WARNING: can't find /raglof/rag/res/borker.tm` Ignore this warning and continue. All system warnings can be ignored. -### `dependency failed to start: container ragflow-mysql is unhealthy` +#### 3.2 Could not login and see the networking error message on the login window. -`dependency failed to start: container ragflow-mysql is unhealthy` means that your MySQL container failed to start. If you are using a Mac with an M1/M2 chip, replace `mysql:5.7.18` with `mariadb:10.5.8` in **docker-compose-base.yml**. +You can only log in after the server has been initialized after you see the following message through `docker logs -f ragflow-server`: -### `Realtime synonym is disabled, since no redis connection` +``` + ____ ______ __ + / __ \ ____ _ ____ _ / ____// /____ _ __ + / /_/ // __ `// __ `// /_ / // __ \| | /| / / + / _, _// /_/ // /_/ // __/ / // /_/ /| |/ |/ / +/_/ |_| \__,_/ \__, //_/ /_/ \____/ |__/|__/ + /____/ + + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:9380 + * Running on http://x.x.x.x:9380 + INFO:werkzeug:Press CTRL+C to quit +``` + + +### 4. Problems on backend services within RAGFlow. + +#### 4.1 `dependency failed to start: container ragflow-mysql is unhealthy` + +`dependency failed to start: container ragflow-mysql is unhealthy` means that your MySQL container failed to start. You could try to replace `mysql:5.7.18` with `mariadb:10.5.8` in **docker-compose-base.yml** if mysql could not start. + + +#### 4.2 `Realtime synonym is disabled, since no redis connection` Ignore this warning and continue. All system warnings can be ignored. ![](https://github.com/infiniflow/ragflow/assets/93570324/ef5a6194-084a-4fe3-bdd5-1c025b40865c) -### Why does it take so long to parse a 2MB document? +#### 4.3 Why does it take so long to parse a 2MB document? Parsing requests have to wait in queue due to limited server resources. We are currently enhancing our algorithms and increasing computing power. -### Why does my document parsing stall at under one percent? +#### 4.4 Why does my document parsing stall at under one percent? ![stall](https://github.com/infiniflow/ragflow/assets/93570324/3589cc25-c733-47d5-bbfc-fedb74a3da50) @@ -107,27 +158,18 @@ docker logs -f ragflow-server 2. Check if the **tast_executor.py** process exist. 3. Check if your RAGFlow server can access hf-mirror.com or huggingface.com. -### `MaxRetryError: HTTPSConnectionPool(host='hf-mirror.com', port=443)` - -This error suggests that you do not have Internet access or are unable to connect to hf-mirror.com. Try the following: -1. Manually download the resource files from [huggingface.co/InfiniFlow/deepdoc](https://huggingface.co/InfiniFlow/deepdoc) to your local folder **~/deepdoc**. -2. Add a volumes to **docker-compose.yml**, for example: -``` -- ~/deepdoc:/ragflow/rag/res/deepdoc -``` - -### `Index failure` +#### 4.5 `Index failure` An index failure usually indicates an unavailable Elasticsearch service. -### How to check the log of RAGFlow? +#### 4.6 How to check the log of RAGFlow? ```bash tail -f path_to_ragflow/docker/ragflow-logs/rag/*.log ``` -### How to check the status of each component in RAGFlow? +#### 4.7 How to check the status of each component in RAGFlow? ```bash $ docker ps @@ -141,7 +183,7 @@ d8c86f06c56b mysql:5.7.18 "docker-entrypoint.s…" 7 days ago Up cd29bcb254bc quay.io/minio/minio:RELEASE.2023-12-20T01-00-02Z "/usr/bin/docker-ent…" 2 weeks ago Up 11 hours 0.0.0.0:9001->9001/tcp, :::9001->9001/tcp, 0.0.0.0:9000->9000/tcp, :::9000->9000/tcp ragflow-minio ``` -### `Exception: Can't connect to ES cluster` +#### 4.8 `Exception: Can't connect to ES cluster` 1. Check the status of your Elasticsearch component: @@ -153,7 +195,8 @@ $ docker ps 91220e3285dd docker.elastic.co/elasticsearch/elasticsearch:8.11.3 "/bin/tini -- /usr/l…" 11 hours ago Up 11 hours (healthy) 9300/tcp, 0.0.0.0:9200->9200/tcp, :::9200->9200/tcp ragflow-es-01 ``` -2. If your container keeps restarting, ensure `vm.max_map_count` >= 262144 as per [this README](https://github.com/infiniflow/ragflow?tab=readme-ov-file#-start-up-the-server). +2. If your container keeps restarting, ensure `vm.max_map_count` >= 262144 as per [this README](https://github.com/infiniflow/ragflow?tab=readme-ov-file#-start-up-the-server). You also need to edit `/etc/sysctl.conf` to guarantee the value of `vm.max_map_count`. + 3. If your issue persists, ensure that the ES host setting is correct: @@ -169,22 +212,22 @@ $ docker ps ``` -### `{"data":null,"retcode":100,"retmsg":""}` +#### 4.9 `{"data":null,"retcode":100,"retmsg":""}` Your IP address or port number may be incorrect. If you are using the default configurations, enter http:// (**NOT `localhost`, NOT 9380, AND NO PORT NUMBER REQUIRED!**) in your browser. This should work. -### `Ollama - Mistral instance running at 127.0.0.1:11434 but cannot add Ollama as model in RagFlow` +#### 4.10 `Ollama - Mistral instance running at 127.0.0.1:11434 but cannot add Ollama as model in RagFlow` A correct Ollama IP address and port is crucial to adding models to Ollama: - If you are on demo.ragflow.io, ensure that the server hosting Ollama has a publicly accessible IP address.Note that 127.0.0.1 is not a publicly accessible IP address. - If you deploy RAGFlow locally, ensure that Ollama and RAGFlow are in the same LAN and can comunicate with each other. -### Do you offer examples of using deepdoc to parse PDF or other files? +#### 4.11 Do you offer examples of using deepdoc to parse PDF or other files? Yes, we do. See the Python files under the **rag/app** folder. -### Why did I fail to upload a 10MB+ file to my locally deployed RAGFlow? +#### 4.12 Why did I fail to upload a 10MB+ file to my locally deployed RAGFlow? You probably forgot to update the **MAX_CONTENT_LENGTH** environment variable: @@ -196,14 +239,14 @@ MAX_CONTENT_LENGTH=100000000 ``` environment: - MAX_CONTENT_LENGTH=${MAX_CONTENT_LENGTH} -``` +``` 3. Restart the RAGFlow server: ``` docker compose up ragflow -d ``` *Now you should be able to upload files of sizes less than 100MB.* -### `Table 'rag_flow.document' doesn't exist` +#### 4.13 `Table 'rag_flow.document' doesn't exist` This exception occurs when starting up the RAGFlow server. Try the following: @@ -226,10 +269,44 @@ This exception occurs when starting up the RAGFlow server. Try the following: docker compose up ``` -### `hint : 102 Fail to access model Connection error` +#### 4.14 `hint : 102 Fail to access model Connection error` ![hint102](https://github.com/infiniflow/ragflow/assets/93570324/6633d892-b4f8-49b5-9a0a-37a0a8fba3d2) 1. Ensure that the RAGFlow server can access the base URL. 2. Do not forget to append **/v1/** to **http://IP:port**: - **http://IP:port/v1/** \ No newline at end of file + **http://IP:port/v1/** + + +## Usage + +### 1. How to increase the length of RAGFlow responses? + +1. Right click the desired dialog to display the **Chat Configuration** window. +2. Switch to the **Model Setting** tab and adjust the **Max Tokens** slider to get the desired length. +3. Click **OK** to confirm your change. + + +### 2. What does Empty response mean? How to set it? + +You limit what the system responds to what you specify in **Empty response** if nothing is retrieved from your knowledge base. If you do not specify anything in **Empty response**, you let your LLM improvise, giving it a chance to hallucinate. + +### 3. Can I set the base URL for OpenAI somewhere? + +![](https://github.com/infiniflow/ragflow/assets/93570324/8cfb6fa4-8a97-415d-b9fa-b6f405a055f3) + + +### 4. How to run RAGFlow with a locally deployed LLM? + +You can use Ollama to deploy local LLM. See [here](https://github.com/infiniflow/ragflow/blob/main/docs/ollama.md) for more information. + +### 5. How to link up ragflow and ollama servers? + +- If RAGFlow is locally deployed, ensure that your RAGFlow and Ollama are in the same LAN. +- If you are using our online demo, ensure that the IP address of your Ollama server is public and accessible. + +### 6. How to configure RAGFlow to respond with 100% matched results, rather than utilizing LLM? + +1. Click the **Knowledge Base** tab in the middle top of the page. +2. Right click the desired knowledge base to display the **Configuration** dialogue. +3. Choose **Q&A** as the chunk method and click **Save** to confirm your change. From c309bcdf7ee644baf0058b42781224375629f580 Mon Sep 17 00:00:00 2001 From: Yingfeng Zhang Date: Mon, 22 Apr 2024 12:43:45 +0800 Subject: [PATCH 2/4] Fix --- docs/faq.md | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 2b830c54610..9b6abd72d89 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -19,19 +19,19 @@ English, simplified Chinese, traditional Chinese for now. We put painstaking effort into document pre-processing tasks like layout analysis, table structure recognition, and OCR (Optical Character Recognition) using our vision model. This contributes to the additional time required. -### 2. Why RAGFlow requires more resources than other products? +### 2. Why does RAGFlow require more resources than other projects? -Because RAGFlow has a series of built-in models for document structure parsing, these models require extra computational resources. +RAGFlow has a number of built-in models for document structure parsing, which account for the additional computational resources. ## Feature ### 1. Which architectures or devices does RAGFlow support? -Currently, only x86 CPU and Nvidia GPU are supported. +Currently, we only support x86 CPU and Nvidia GPU. ### 2. Do you offer an API for integration with third-party applications? -Yes, APIs are ready and could be accessed from [here](./conversation_api.md). +The corresponding APIs are now available. See the [Conversation API](./conversation_api.md) for more information. ### 3. Do you support stream output? @@ -39,7 +39,7 @@ No, this feature is still in development. Contributions are welcome. ### 4. Is it possible to share dialogue through URL? -Yes, dialogue could be embedded into other applications through URL directly. +Yes, this feature is now available.. ### 5. Do you support multiple rounds of dialogues, i.e., referencing previous dialogues as context for the current dialogue? @@ -48,23 +48,27 @@ This feature and the related APIs are still in development. Contributions are we ## Troubleshooting -### 1. Problems on docker images. +### 1. Issues with docker images. -#### 1.1 How to build docker images? +#### 1.1 Due to the fast iteration of RAGFlow updates, it is recommended to build the image from scratch. ``` $ git clone https://github.com/infiniflow/ragflow.git -$ cd ragflow/ +$ cd ragflow $ docker build -t infiniflow/ragflow:v0.3.0 . $ cd ragflow/docker $ chmod +x ./entrypoint.sh $ docker compose up -d ``` -#### 1.2 `process "/bin/sh -c cd ./web && npm i && npm run build"` did not complete successfully. +#### 1.2 `process "/bin/sh -c cd ./web && npm i && npm run build"` failed. -1. First of all, you need to test whether the network could work within docker through such commands as `curl https://hf-mirror.com`. -2. If the network does not have any problems, it means that there is a problem within the docker network configuration, adjust the docker building accordingly: +1. Check your network from within Docker, for example: +```bash +curl https://hf-mirror.com +``` + +2. If your network works fine, the issue lies with the Docker network configuration. Adjust the Docker building accordingly: ``` # Original: docker build -t infiniflow/ragflow:v0.3.0 . @@ -72,8 +76,7 @@ docker build -t infiniflow/ragflow:v0.3.0 . docker build -t infiniflow/ragflow:v0.3.0 . --network host ``` - -### 2. Problems on huggingface models. +### 2. Issues with huggingface models. #### 2.1. `MaxRetryError: HTTPSConnectionPool(host='hf-mirror.com', port=443)` @@ -87,8 +90,12 @@ This error suggests that you do not have Internet access or are unable to connec #### 2.2 `FileNotFoundError: [Errno 2] No such file or directory: '/root/.cache/huggingface/hub/models--InfiniFlow--deepdoc/snapshots/FileNotFoundError: [Errno 2] No such file or directory: '/ragflow/rag/res/deepdoc/ocr.res'be0c1e50eef6047b412d1800aa89aba4d275f997/ocr.res'` -1. First of all, you need to test whether the network could work within docker through such commands as `curl https://hf-mirror.com`. -2. Using `ifconfig` to see the `mtu` value under your environments. If the `mtu` of the server is `1450`, while the `mtu` of the NIC in the container is `1500`, it will lead to the unstable networking. Modify the `mtu` policy as follows: +1. Check your network from within Docker, for example: +```bash +curl https://hf-mirror.com +``` +2. Run `ifconfig` to check the `mtu` value. If the server's `mtu` is `1450` while the NIC's `mtu` in the container is `1500`, this mismatch may cause network instability. Adjust the `mtu` policy as follows: + ``` vim docker-compose-base.yml # Original configuration: @@ -103,7 +110,7 @@ networks: com.docker.network.driver.mtu: 1450 ``` -### 3. Problems on RAGFlow servers +### 3. Issues with RAGFlow servers #### 3.1 `WARNING: can't find /raglof/rag/res/borker.tm` @@ -128,7 +135,7 @@ You can only log in after the server has been initialized after you see the foll ``` -### 4. Problems on backend services within RAGFlow. +### 4. Issues with backend services within RAGFlow. #### 4.1 `dependency failed to start: container ragflow-mysql is unhealthy` From e030f3e5b43035054e2e4e3588512ea5e85bac2c Mon Sep 17 00:00:00 2001 From: Yingfeng Zhang Date: Mon, 22 Apr 2024 15:56:58 +0800 Subject: [PATCH 3/4] FIX --- docs/faq.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/docs/faq.md b/docs/faq.md index 9b6abd72d89..aa969112386 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -39,7 +39,7 @@ No, this feature is still in development. Contributions are welcome. ### 4. Is it possible to share dialogue through URL? -Yes, this feature is now available.. +Yes, this feature is now available. ### 5. Do you support multiple rounds of dialogues, i.e., referencing previous dialogues as context for the current dialogue? @@ -48,7 +48,7 @@ This feature and the related APIs are still in development. Contributions are we ## Troubleshooting -### 1. Issues with docker images. +### 1. Issues with docker images #### 1.1 Due to the fast iteration of RAGFlow updates, it is recommended to build the image from scratch. @@ -61,7 +61,7 @@ $ chmod +x ./entrypoint.sh $ docker compose up -d ``` -#### 1.2 `process "/bin/sh -c cd ./web && npm i && npm run build"` failed. +#### 1.2 `process "/bin/sh -c cd ./web && npm i && npm run build"` failed 1. Check your network from within Docker, for example: ```bash @@ -116,9 +116,13 @@ networks: Ignore this warning and continue. All system warnings can be ignored. -#### 3.2 Could not login and see the networking error message on the login window. +#### 3.2 `network anomaly There is an abnormality in your network and you cannot connect to the server.` -You can only log in after the server has been initialized after you see the following message through `docker logs -f ragflow-server`: +![anomaly](https://github.com/infiniflow/ragflow/assets/93570324/beb7ad10-92e4-4a58-8886-bfb7cbd09e5d) + +You will not log in to RAGFlow unless the server is fully initialized. Run `docker logs -f ragflow-server`. + +*The server is successfully initialized, if your system displays the following:* ``` ____ ______ __ @@ -135,12 +139,11 @@ You can only log in after the server has been initialized after you see the foll ``` -### 4. Issues with backend services within RAGFlow. +### 4. Issues with RAGFlow backend services #### 4.1 `dependency failed to start: container ragflow-mysql is unhealthy` -`dependency failed to start: container ragflow-mysql is unhealthy` means that your MySQL container failed to start. You could try to replace `mysql:5.7.18` with `mariadb:10.5.8` in **docker-compose-base.yml** if mysql could not start. - +`dependency failed to start: container ragflow-mysql is unhealthy` means that your MySQL container failed to start. Try replacing `mysql:5.7.18` with `mariadb:10.5.8` in **docker-compose-base.yml** if mysql fails to start. #### 4.2 `Realtime synonym is disabled, since no redis connection` @@ -202,8 +205,7 @@ $ docker ps 91220e3285dd docker.elastic.co/elasticsearch/elasticsearch:8.11.3 "/bin/tini -- /usr/l…" 11 hours ago Up 11 hours (healthy) 9300/tcp, 0.0.0.0:9200->9200/tcp, :::9200->9200/tcp ragflow-es-01 ``` -2. If your container keeps restarting, ensure `vm.max_map_count` >= 262144 as per [this README](https://github.com/infiniflow/ragflow?tab=readme-ov-file#-start-up-the-server). You also need to edit `/etc/sysctl.conf` to guarantee the value of `vm.max_map_count`. - +2. If your container keeps restarting, ensure `vm.max_map_count` >= 262144 as per [this README](https://github.com/infiniflow/ragflow?tab=readme-ov-file#-start-up-the-server). Updating the `vm.max_map_count` value in **/etc/sysctl.conf** is required, if you wish to keep your change permanent. This configuration is only useful for Linux. 3. If your issue persists, ensure that the ES host setting is correct: From e02bf0b27aee783ea425d964799edcae5150879b Mon Sep 17 00:00:00 2001 From: Yingfeng Zhang Date: Mon, 22 Apr 2024 16:06:53 +0800 Subject: [PATCH 4/4] Fix --- docs/faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/faq.md b/docs/faq.md index aa969112386..0666d0cbb72 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -205,7 +205,7 @@ $ docker ps 91220e3285dd docker.elastic.co/elasticsearch/elasticsearch:8.11.3 "/bin/tini -- /usr/l…" 11 hours ago Up 11 hours (healthy) 9300/tcp, 0.0.0.0:9200->9200/tcp, :::9200->9200/tcp ragflow-es-01 ``` -2. If your container keeps restarting, ensure `vm.max_map_count` >= 262144 as per [this README](https://github.com/infiniflow/ragflow?tab=readme-ov-file#-start-up-the-server). Updating the `vm.max_map_count` value in **/etc/sysctl.conf** is required, if you wish to keep your change permanent. This configuration is only useful for Linux. +2. If your container keeps restarting, ensure `vm.max_map_count` >= 262144 as per [this README](https://github.com/infiniflow/ragflow?tab=readme-ov-file#-start-up-the-server). Updating the `vm.max_map_count` value in **/etc/sysctl.conf** is required, if you wish to keep your change permanent. This configuration works only for Linux. 3. If your issue persists, ensure that the ES host setting is correct: