[Bug]:无法启动ragflow

cotxawn7  于 3个月前  发布在  其他
关注(0)|答案(3)|浏览(46)

是否存在相同错误的现有问题?

  • 我已经检查了现有的问题。

分支名称

main

提交ID

58e95f7

其他环境信息

Linux 5.10.0-1.0.0.30 #1 SMP Wed Sep 6 10:38:35 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
CentOS Linux release 7.9.2009 (Core)

实际行为

ragflow-server | IndentationError: unindent does not match any outer indentation level
ragflow-server | [WARNING] [2024-07-18 01:58:28,934] [synonym.init] [line:40]: Realtime synonym is disabled, since no redis connection.
ragflow-server | [WARNING] Load term.freq FAIL!
ragflow-server | Traceback (most recent call last):
ragflow-server | File "/ragflow/api/ragflow_server.py", line 26, in
ragflow-server | from api.apps import app
ragflow-server | File "/ragflow/api/apps/init.py", line 96, in
ragflow-server | client_urls_prefix = [
ragflow-server | File "/ragflow/api/apps/init.py", line 97, in
ragflow-server | register_page(path)
ragflow-server | File "/ragflow/api/apps/init.py", line 83, in register_page
ragflow-server | spec.loader.exec_module(page)
ragflow-server | File "/ragflow/api/apps/canvas_app.py", line 26, in
ragflow-server | from graph.canvas import Canvas
ragflow-server | File "/ragflow/graph/canvas.py", line 25, in
ragflow-server | from graph.component import component_class
ragflow-server | File "/ragflow/graph/component/init.py", line 13, in
ragflow-server | from .duckduckgo import DuckDuckGo, DuckDuckGoParam
ragflow-server | File "/ragflow/graph/component/duckduckgo.py", line 60
ragflow-server | if not duck_res:
ragflow-server | ^

预期行为

  • 无响应*

重现步骤

1. download this code
2. run "cd /ragflow/docker" and run "docker compose up"

其他信息

  • 无响应*
c2e8gylq

c2e8gylq1#

修复后,这个问题可能会再次出现。

nkoocmlb

nkoocmlb2#

你需要更新docker镜像。

我们使用命令 "docker compose up/down"。

是否存在相同错误的现有问题?

  • 我已检查了现有的问题。

分支名称

main

提交ID

58e95f7

其他环境信息

Linux 5.10.0-1.0.0.30 #1 SMP Wed Sep 6 10:38:35 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
CentOS Linux release 7.9.2009 (Core)

实际行为


ragflow-server | IndentationError: unindent does not match any outer indentation level ragflow-server | [WARNING] [2024-07-18 01:58:28,934] [synonym.init] [line:40]: Realtime synonym is disabled, since no redis connection. ragflow-server | [WARNING] Load term.freq FAIL! ragflow-server | Traceback (most recent call last): ragflow-server | File "/ragflow/api/ragflow_server.py", line 26, in ragflow-server | from api.apps import app ragflow-server | File "/ragflow/api/apps/init.py", line 96, in ragflow-server | client_urls_prefix = [ ragflow-server | File "/ragflow/api/apps/init.py", line 97, in ragflow-server | register_page(path) ragflow-server | File "/ragflow/api/apps/init.py", line 83, in register_page ragflow-server | spec.loader.exec_module(page) ragflow-server | File "/ragflow/api/apps/canvas_app.py", line 26, in ragflow-server | from graph.canvas import Canvas ragflow-server | File "/ragflow/graph/canvas.py", line 25, in ragflow-server | from graph.component import component_class ragflow-server | File "/ragflow/graph/component/init.py", line 13, in ragflow-server | from .duckduckgo import DuckDuckGo, DuckDuckGoParam ragflow-server | File "/ragflow/graph/component/duckduckgo.py", line 60 ragflow-server | if not duck_res: ragflow-server | ^

预期行为

  • 无响应*

重现步骤

1. download this code
2. run "cd /ragflow/docker" and run "docker compose up"

其他信息

  • 无响应*

相关问题