Replies: 4 comments 2 replies
-
Hi @xqin-ls! I'm Dosu and I’m helping the ragflow team. The Redis queue warning ( If you want to clear the warning, upload and parse a file into a knowledge base; this will create the necessary Redis queue and the warning will disappear (details). If you're not seeing any actual failures, you can safely ignore this message (details). If task processing is stuck, check that Redis is running and accessible from inside your container (for example, with The HTTP port and Redis queue logic are completely independent in the codebase and config (details). To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
cc @yongtenglei |
Beta Was this translation helpful? Give feedback.
-
this is actually a classic infra failure caused by improper startup order — your ragserver likely tried to pull from Redis before the queue was actually ready or namespaced properly. we’ve categorized this issue in our open-source ProblemMap under:
our fix involves semantic startup sequencing and runtime safeguards — it's open-source under MIT, and also received a star from the creator of Tesseract.js. if you need the repo or implementation details, feel free to ask. |
Beta Was this translation helpful? Give feedback.
-
Hi, @xqin-ls Try: $ docker exec -it ragflow-redis /bin/bash
# In container
$ redis-cli -a infini_rag_flow
# In redis-cli
XGROUP CREATE rag_flow_svr_queue rag_flow_svr_task_broker $ MKSTREAM This issue has been fixed in #9223. But you can still have a try to fix it by your own. Cheers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
docker logs ragflow-server
Starting nginx...
Starting ragflow_server...
Starting 1 task executor(s) on host 'eb342804f976'...
2025-07-21 01:13:08,655 INFO 36 ragflow_server log path: /ragflow/logs/ragflow_server.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
2025-07-21 01:13:09,054 INFO 36 can't import package 'torch'
2025-07-21 01:13:11,617 INFO 36 init database on cluster mode successfully
2025-07-21 01:13:13,564 INFO 36 load_model /ragflow/rag/res/deepdoc/det.onnx uses CPU
2025-07-21 01:13:13,613 INFO 36 load_model /ragflow/rag/res/deepdoc/rec.onnx uses CPU
2025-07-21 01:13:17,350 INFO 36
____ ___ ______ ______ __
/ __ \ / | / // // / _ __
/ // // /| | / / __ / / / // __ | | /| / /
/ , // ___ |/ // // __/ / // // /| |/ |/ /
// ||// ||_/// // _/ |/|__/
2025-07-21 01:13:17,350 INFO 36 RAGFlow version: v0.19.1 slim
2025-07-21 01:13:17,350 INFO 36 project base: /ragflow
2025-07-21 01:13:17,350 INFO 36 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': 900, 'stale_timeout': 300}
minio: {'user': 'rag_flow', 'password': '', 'host': 'minio:9000'}
es: {'hosts': 'http://es01:9200', 'username': 'elastic', 'password': ''}
os: {'hosts': 'http://opensearch01:9201', 'username': 'admin', 'password': ''}
infinity: {'uri': 'infinity:23817', 'db_name': 'default_db'}
redis: {'db': 1, 'password': '********', 'host': 'redis:6379'}
2025-07-21 01:13:17,350 WARNING 36 SECURITY WARNING: Using auto-generated SECRET_KEY. Generated key: b91cc4a0795bb6083ae34800cf33c68c147b920d9060aab6cf0837178f3b4862
2025-07-21 01:13:17,350 INFO 36 Use Elasticsearch http://es01:9200 as the doc engine.
2025-07-21 01:13:17,406 INFO 36 GET http://es01:9200/ [status:200 duration:0.055s]
2025-07-21 01:13:17,407 INFO 36 HEAD http://es01:9200/ [status:200 duration:0.001s]
2025-07-21 01:13:17,408 INFO 36 Elasticsearch http://es01:9200 is healthy.
2025-07-21 01:13:17,410 WARNING 36 Load term.freq FAIL!
2025-07-21 01:13:17,411 WARNING 36 Realtime synonym is disabled, since no redis connection.
2025-07-21 01:13:17,413 WARNING 36 Load term.freq FAIL!
2025-07-21 01:13:17,414 WARNING 36 Realtime synonym is disabled, since no redis connection.
2025-07-21 01:13:17,414 INFO 36 MAX_CONTENT_LENGTH: 134217728
2025-07-21 01:13:17,414 INFO 36 MAX_FILE_COUNT_PER_USER: 0
2025-07-21 01:13:22,941 INFO 47 task_executor_eb342804f976_0 log path: /ragflow/logs/task_executor_eb342804f976_0.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'}
2025-07-21 01:13:22,942 INFO 47
/_ /_ / / / / _____ _______ / / _____
/ / / __ `/ / /// / __/ | |// _ / / / / / __/ __ / /
/ / / // ( ) ,< / /> </ / // // / // // / /
// _,///|| /_____//||_/_/_,/_/___//
2025-07-21 01:13:22,942 INFO 47 TaskExecutor: RAGFlow version: v0.19.1 slim
2025-07-21 01:13:22,942 WARNING 47 SECURITY WARNING: Using auto-generated SECRET_KEY. Generated key: c51c61cf2d2e136c8ad2c21826f2e758aa0852cc4d34d3dee2a9c0715af334a0
2025-07-21 01:13:22,942 INFO 47 Use Elasticsearch http://es01:9200 as the doc engine.
2025-07-21 01:13:22,947 INFO 47 GET http://es01:9200/ [status:200 duration:0.004s]
2025-07-21 01:13:22,948 INFO 47 HEAD http://es01:9200/ [status:200 duration:0.001s]
2025-07-21 01:13:22,948 INFO 47 Elasticsearch http://es01:9200 is healthy.
2025-07-21 01:13:22,950 WARNING 47 Load term.freq FAIL!
2025-07-21 01:13:22,952 WARNING 47 Realtime synonym is disabled, since no redis connection.
2025-07-21 01:13:22,955 WARNING 47 Load term.freq FAIL!
2025-07-21 01:13:22,956 WARNING 47 Realtime synonym is disabled, since no redis connection.
2025-07-21 01:13:22,957 INFO 47 MAX_CONTENT_LENGTH: 134217728
2025-07-21 01:13:22,957 INFO 47 MAX_FILE_COUNT_PER_USER: 0
2025-07-21 01:13:22,958 WARNING 47 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2025-07-21 01:13:22,958 INFO 47 task_executor_eb342804f976_0 reported heartbeat: {"name": "task_executor_eb342804f976_0", "now": "2025-07-21T01:13:22.957+08:00", "boot_at": "2025-07-21T01:13:22.941+08:00", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": {}}
2025-07-21 01:13:22,958 WARNING 47 RedisDB.get_unacked_iterator queue rag_flow_svr_queue_1 doesn't exist
2025-07-21 01:13:22,958 WARNING 47 RedisDB.get_unacked_iterator queue rag_flow_svr_queue doesn't exist
2025-07-21 01:13:25,207 INFO 36 init web data success:3.0038788318634033
2025-07-21 01:13:25,208 INFO 36 Recursively importing plugins from path
/ragflow/plugin/embedded_plugins
2025-07-21 01:13:25,209 INFO 36 Loaded llm_tools plugin BadCalculatorPlugin version 1.0.0
2025-07-21 01:13:25,209 INFO 36 RAGFlow HTTP server start...
2025-07-21 01:13:25,210 INFO 36 WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
2025-07-21 01:13:25,210 INFO 36 Press CTRL+C to quit
2025-07-21 01:13:26,209 INFO 36 Starting update_progress thread (delayed)
2025-07-21 01:13:26,210 INFO 36 update_progress lock_value: eb888b56-7f71-447c-895b-873bb0d3ad6c
2025-07-21 01:13:52,965 WARNING 47 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2025-07-21 01:13:52,965 INFO 47 task_executor_eb342804f976_0 reported heartbeat: {"name": "task_executor_eb342804f976_0", "now": "2025-07-21T01:13:52.964+08:00", "boot_at": "2025-07-21T01:13:22.941+08:00", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": {}}
2025-07-21 01:14:22,971 WARNING 47 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2025-07-21 01:14:22,972 INFO 47 task_executor_eb342804f976_0 reported heartbeat: {"name": "task_executor_eb342804f976_0", "now": "2025-07-21T01:14:22.971+08:00", "boot_at": "2025-07-21T01:13:22.941+08:00", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": {}}
2025-07-21 01:14:52,979 WARNING 47 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2025-07-21 01:14:52,979 INFO 47 task_executor_eb342804f976_0 reported heartbeat: {"name": "task_executor_eb342804f976_0", "now": "2025-07-21T01:14:52.978+08:00", "boot_at": "2025-07-21T01:13:22.941+08:00", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": {}}
2025-07-21 01:15:22,985 WARNING 47 RedisDB.queue_info rag_flow_svr_queue got exception: no such key
2025-07-21 01:15:22,985 INFO 47 task_executor_eb342804f976_0 reported heartbeat: {"name": "task_executor_eb342804f976_0", "now": "2025-07-21T01:15:22.985+08:00", "boot_at": "2025-07-21T01:13:22.941+08:00", "pending": 0, "lag": 0, "done": 0, "failed": 0, "current": {}}
root@hal1:/home/xqin/ragflow/docker#
Beta Was this translation helpful? Give feedback.
All reactions