ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Bug]: Issues Encountered During RAGFlow Deployment

Open ypwcharles opened this issue 1 year ago • 9 comments

Is there an existing issue for the same bug?

  • [X] I have checked the existing issues.

RAGFlow workspace code commit ID

097aab0

RAGFlow image version

v0.15.1

Other environment information

Hardware parameters:AMD Ryzen 7 5800H,16gb ram
OS type:windows11 22631.4602;docker.desktop 4.37.1
Others:

Actual behavior

I'm currently in the process of deploying RAGFlow and have encountered several issues. Below are the detailed logs and the observed problems

Expected behavior

No response

Steps to reproduce

1.Clone the RAGFlow repository to local machine.
2.Navigate to the project directory in the powershell.
3.Run the deployment script with huaweicloud image
4.Docker container all green
5.Use docker logs -f ragflow-server
6.Observe the console output and note down the warnings and errors that occur during the process.

Additional information

Log Details The following is the log output during the deployment process: 2024-12-27 01:16:17,320 INFO 19 ____ ___ ______ ______ __ / __ \ / | / // // / _ __ / // // /| | / / __ / / / // __ | | /| / / / , // ___ |/ // // __/ / // // /| |/ |/ / // ||// ||_/// // _/ |/|__/

2024-12-27 01:16:17,322 INFO 19 RAGFlow version: v0.15.1 full 2024-12-27 01:16:17,323 INFO 19 project base: /ragflow 2024-12-27 01:16:17,324 INFO 19 Current configs, from /ragflow/conf/service_conf.yaml: ragflow: {'host': '0.0.0.0', 'http_port': 9380} mysql: {'name': 'rag_flow', 'user': 'root', 'password': '', 'host': 'mysql', 'port': 3306, 'max_connections': 100, 'stale_timeout': 30} minio: {'user': 'rag_flow', 'password': '', 'host': 'minio:9000'} es: {'hosts': 'http://es01:9200', 'username': 'elastic', 'password': ''} infinity: {'uri': 'infinity:23817', 'db_name': 'default_db'} redis: {'db': 1, 'password': '', 'host': 'redis:6379'} 2024-12-27 01:16:17,325 INFO 19 Use Elasticsearch http://es01:9200 as the doc engine. 2024-12-27 01:16:17,441 INFO 19 GET http://es01:9200/ [status:200 duration:0.114s] 2024-12-27 01:16:17,448 INFO 19 HEAD http://es01:9200/ [status:200 duration:0.006s] 2024-12-27 01:16:17,451 INFO 19 Elasticsearch http://es01:9200 is healthy. 2024-12-27 01:16:17,461 WARNING 19 Load term.freq FAIL! 2024-12-27 01:16:17,473 WARNING 19 Realtime synonym is disabled, since no redis connection. 2024-12-27 01:16:17,487 WARNING 19 Load term.freq FAIL! 2024-12-27 01:16:17,500 WARNING 19 Realtime synonym is disabled, since no redis connection. 2024-12-27 01:16:17,501 INFO 19 MAX_CONTENT_LENGTH: 134217728 2024-12-27 01:16:17,501 INFO 19 SERVER_QUEUE_MAX_LEN: 1024 2024-12-27 01:16:17,502 INFO 19 SERVER_QUEUE_RETENTION: 3600 2024-12-27 01:16:17,503 INFO 19 MAX_FILE_COUNT_PER_USER: 0 2024-12-27 01:16:25,645 INFO 19 init web data success:6.846513271331787 2024-12-27 01:16:25,650 INFO 19 RAGFlow HTTP server start... 2024-12-27 01:16:25,653 INFO 19 WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:9380
  • Running on http://172.18.0.6:9380 2024-12-27 01:16:25,655 INFO 19 Press CTRL+C to quit 2024-12-27 01:16:26,863 INFO 20 generated new fontManager 2024-12-27 01:16:45,274 INFO 20

/_ /_ / / / / _____ _______ / / _____ / / / __ `/ / /// / __/ | |// _ / / / / / __/ __ / / / / / // ( ),< / /> </ / // // / // // / / // _,///|| /_____//||_/_/_,/_/___//

2024-12-27 01:16:45,275 INFO 20 TaskExecutor: RAGFlow version: v0.15.1 full 2024-12-27 01:16:45,276 INFO 20 Use Elasticsearch http://es01:9200 as the doc engine. 2024-12-27 01:16:45,288 INFO 20 GET http://es01:9200/ [status:200 duration:0.010s] 2024-12-27 01:16:45,294 INFO 20 HEAD http://es01:9200/ [status:200 duration:0.004s] 2024-12-27 01:16:45,296 INFO 20 Elasticsearch http://es01:9200 is healthy. 2024-12-27 01:16:45,302 WARNING 20 Load term.freq FAIL! 2024-12-27 01:16:45,307 WARNING 20 Realtime synonym is disabled, since no redis connection. 2024-12-27 01:16:45,313 WARNING 20 Load term.freq FAIL! 2024-12-27 01:16:45,318 WARNING 20 Realtime synonym is disabled, since no redis connection. 2024-12-27 01:16:45,319 INFO 20 MAX_CONTENT_LENGTH: 134217728 2024-12-27 01:16:45,320 INFO 20 SERVER_QUEUE_MAX_LEN: 1024 2024-12-27 01:16:45,321 INFO 20 SERVER_QUEUE_RETENTION: 3600 2024-12-27 01:16:45,322 INFO 20 MAX_FILE_COUNT_PER_USER: 0 2024-12-27 01:16:45,353 WARNING 20 RedisDB.queue_info rag_flow_svr_queue got exception: no such key

ypwcharles avatar Dec 26 '24 17:12 ypwcharles

Please check the redis container status

JinHai-CN avatar Dec 27 '24 02:12 JinHai-CN

Please check the redis container status

redis container seems good image image

ypwcharles avatar Dec 28 '24 15:12 ypwcharles

is there any progress? Same problems to me, the page has no response

YuleZhang avatar Jan 08 '25 14:01 YuleZhang

Same for me, unable to run ragflow using docker

Ankur-singh avatar Jan 21 '25 22:01 Ankur-singh

Same

zhibinQiu avatar Jan 22 '25 07:01 zhibinQiu

2025-02-12 20:14:49.409967+00:002025-02-13 04:14:49,409 INFO     21 TaskExecutor: RAGFlow version: v0.16.0 slim
2025-02-12 20:14:49.410091+00:002025-02-13 04:14:49,409 INFO     21 Use Elasticsearch http://es01:9200 as the doc engine.
2025-02-12 20:14:49.413692+00:002025-02-13 04:14:49,413 INFO     21 GET http://es01:9200/ [status:200 duration:0.003s]
2025-02-12 20:14:49.415244+00:002025-02-13 04:14:49,415 INFO     21 HEAD http://es01:9200/ [status:200 duration:0.001s]
2025-02-12 20:14:49.415485+00:002025-02-13 04:14:49,415 INFO     21 Elasticsearch http://es01:9200 is healthy.
2025-02-12 20:14:49.419039+00:002025-02-13 04:14:49,418 WARNING  21 Load term.freq FAIL!
2025-02-12 20:14:49.421985+00:002025-02-13 04:14:49,421 WARNING  21 Realtime synonym is disabled, since no redis connection.
2025-02-12 20:14:49.425214+00:002025-02-13 04:14:49,425 WARNING  21 Load term.freq FAIL!
2025-02-12 20:14:49.427613+00:002025-02-13 04:14:49,427 WARNING  21 Realtime synonym is disabled, since no redis connection.
2025-02-12 20:14:49.427705+00:002025-02-13 04:14:49,427 INFO     21 MAX_CONTENT_LENGTH: 134217728
2025-02-12 20:14:49.427788+00:002025-02-13 04:14:49,427 INFO     21 SERVER_QUEUE_MAX_LEN: 1024
2025-02-12 20:14:49.427853+00:002025-02-13 04:14:49,427 INFO     21 SERVER_QUEUE_RETENTION: 3600
2025-02-12 20:14:49.427947+00:002025-02-13 04:14:49,427 INFO     21 MAX_FILE_COUNT_PER_USER: 0
2025-02-12 20:14:49.432569+00:002025-02-13 04:14:49,432 WARNING  21 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2025-02-12 20:14:49.432806+00:002025-02-13 04:14:49,432 INFO     21 task_consumer_0 reported heartbeat: {"name": "task_consumer_0", "now": "2025-02-13T04:14:49.432+08:00", "boot_at": "2025-02-13T04:14:49.409+08:00", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": null}

一样的情况,使用docker。

redis是正常的

2025-02-12 20:13:59.915365+00:001:C 12 Feb 2025 20:13:59.915 * oO0OoO0OoO0Oo Valkey is starting oO0OoO0OoO0Oo
2025-02-12 20:13:59.915413+00:001:C 12 Feb 2025 20:13:59.915 * Valkey version=8.0.2, bits=64, commit=00000000, modified=0, pid=1, just started
2025-02-12 20:13:59.915420+00:001:C 12 Feb 2025 20:13:59.915 * Configuration loaded
2025-02-12 20:13:59.915670+00:001:M 12 Feb 2025 20:13:59.915 * monotonic clock: POSIX clock_gettime
2025-02-12 20:13:59.916356+00:001:M 12 Feb 2025 20:13:59.916 * Running mode=standalone, port=6379.
2025-02-12 20:13:59.916873+00:001:M 12 Feb 2025 20:13:59.916 * Server initialized
2025-02-12 20:13:59.917014+00:001:M 12 Feb 2025 20:13:59.916 * Ready to accept connections tcp

KevinZjYang avatar Feb 12 '25 20:02 KevinZjYang

Image did you get the same error code on browser like this : ERR_SSL_PROTOCOL_ERROR?

wyl250 avatar Feb 16 '25 12:02 wyl250

有什么进展吗,我也是这个问题

RubyRose2001 avatar Feb 17 '25 12:02 RubyRose2001

+1

wyqmath avatar Feb 19 '25 23:02 wyqmath

+1

Miiiikasa avatar Mar 27 '25 02:03 Miiiikasa

+1

TluffyX avatar Mar 31 '25 01:03 TluffyX