ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

I have completed the deployment of all source code and it has been successfully running, but I am still encountering a "gateway timeout" issue. Please provide guidance to resolve this problem.

Open henry19801109 opened this issue 9 months ago • 6 comments

Describe your problem

Deployment Environment: Windows 11 Deployment Method: Source Code Deployment

Completed Tasks:

1、git clone 2、Git pull updated to the latest version 3、docker compose -f docker/docker-compose-base.yml up -d 4、 (1)127.0.0.1 es01 infinity mysql minio redis (2) conf/service_conf.yaml  host  127.0.0.1 5、npm install 6、Npm run dev How to solve the above issue, thank you all the great ones. Image Image Image Image Image

henry19801109 avatar Feb 25 '25 01:02 henry19801109

I have a question regarding Step 4 (1): How should I modify or which file should I update to configure 127.0.0.1 es01 infinity mysql minio redis properly? Thanks

midilandlu avatar Feb 25 '25 03:02 midilandlu

I don't think ragflow-server is up.

Image

KevinHuSh avatar Feb 25 '25 03:02 KevinHuSh

I have a question regarding Step 4 (1): How should I modify or which file should I update to configure 127.0.0.1 es01 infinity mysql minio redis properly? Thanks

Image

henry19801109 avatar Feb 25 '25 10:02 henry19801109

In my case somehow nginx doesn't catch configs. nginx -s reload in ragflow container did the trick. Will dig why this happening.

blumfontein avatar Feb 25 '25 16:02 blumfontein

up

henry19801109 avatar Feb 26 '25 11:02 henry19801109

up

I've encountered the same issue. Have u solved it?

qwweewwee avatar Feb 27 '25 17:02 qwweewwee

同样的问题,但是这其实并不是一个问题,感谢上面截图的人,让我明白这是因为服务并没有完全启动,我在等待了20分钟后,终于完成了

init web data success:129.53459000587463

在这之后,服务就可用了!这是一次漫长的等待。

Image

xiongying1994 avatar Mar 19 '25 11:03 xiongying1994

同样的问题,但是这其实并不是一个问题,感谢上面截图的人,让我明白这是因为服务并没有完全启动,我在等待了20分钟后,终于完成了

init web data success:129.53459000587463

在这之后,服务就可用了!这是一次漫长的等待。

Image

忘了说了,第一次完成init之后,再次启动的init时间就非常短了,所以不用担心每次都要等这么久

Image

xiongying1994 avatar Mar 19 '25 11:03 xiongying1994

Hello, are there those who managed to run ragflow from the source? I will be glad to talk, I have a couple of questions and I will be grateful! Contact for communication [email protected]

SimZis avatar Apr 12 '25 18:04 SimZis

First My English is poor I use Ubuntu server also have this problem,but I solved Do this: see this page: https://blog.gitcode.com/64f240f84a3b8459eba0a76694eee62b.html

running enverment: source .venv/bin/activate export PYTHONPATH=$(pwd)

check code: python3 api/ragflow_server.py ---very import

and my wrong is: (ragflow) root@cyw:/home/cyw/ragflow# python3 api/ragflow_server.py 2025-05-01 06:38:45,111 INFO 36148 ragflow_server log path: /home/cyw/ragflow/logs/ragflow_server.log, log levels: {'peewee': 'WARNING', 'pdfminer': 'WARNING', 'root': 'INFO'} 2025-05-01 06:38:46,234 INFO 36148 found 0 gpus 2025-05-01 06:38:47,513 INFO 36148 init database on cluster mode successfully 2025-05-01 06:38:48,745 INFO 36148 load_model /home/cyw/ragflow/rag/res/deepdoc/det.onnx uses CPU 2025-05-01 06:38:48,805 INFO 36148 load_model /home/cyw/ragflow/rag/res/deepdoc/rec.onnx uses CPU Traceback (most recent call last): File "/home/cyw/ragflow/api/ragflow_server.py", line 36, in from api.apps import app File "/home/cyw/ragflow/api/apps/init.py", line 137, in client_urls_prefix = [ File "/home/cyw/ragflow/api/apps/init.py", line 138, in register_page(path) for dir in pages_dir for path in search_pages_path(dir) File "/home/cyw/ragflow/api/apps/init.py", line 120, in register_page spec.loader.exec_module(page) File "/home/cyw/ragflow/api/apps/canvas_app.py", line 20, in from api.db.services.canvas_service import CanvasTemplateService, UserCanvasService File "/home/cyw/ragflow/api/db/services/canvas_service.py", line 20, in from agent.canvas import Canvas File "/home/cyw/ragflow/agent/canvas.py", line 23, in from agent.component import component_class File "/home/cyw/ragflow/agent/component/init.py", line 41, in from .exesql import ExeSQL, ExeSQLParam File "/home/cyw/ragflow/agent/component/exesql.py", line 24, in import pyodbc ImportError: libodbc.so.2: cannot open shared object file: No such file or directory (ragflow) root@cyw:/home/cyw/ragflow#

Claude 3.5 tell me to install sudo apt-get update sudo apt-get install -y unixodbc unixodbc-dev

then everything is ok!

have a good day everyone!

Water19C avatar May 01 '25 06:05 Water19C