[Question]: ragflow-server failed to start: OSError: [Errno loading yaml file config from /ragflow/conf/service_conf.yaml failed:] [Errno 2] No such file or directory: '/ragflow/conf/service_conf.yaml'
Describe your problem
想运行带embedding的镜像,按照readme里面的方式,修改了RAGFLOW_IMAGE=infiniflow/ragflow:dev,启动ragflow-server会报错找不到service_conf这个文件,我手动把这个文件拷进去,运行则会报错连不上es01,这是为什么?我运行dev-slim这个版本是没有问题可以正常使用的。
We didn't meet this issue before. Try to follow the install instruction to setup the environment again.
As for the ES connection issues, following reasons can be considered:
- ES is 'down'
- Domain name can be resolved, check if /etc/hosts is updated. Or IP address / port is mismatched.
Same issue. Solved by using: RAGFLOW_IMAGE=swr.cn-north-4.myhuaweicloud.com/infiniflow/ragflow:dev
遇到了相同的问题,v0.13.0版本,进入argflow-server容器内,进入/ragflow/conf/service_conf.yaml,文件链接到/ragflow/docker/service.yaml,发现并没有这个路径及文件存在
Same here. v0.13.0 and 0.13.0-slim didn't work, dev and dev-slim works.
docker pull the dev version of image and git pull the latest code.
Describe your problem
想运行带embedding的镜像,按照readme里面的方式,修改了RAGFLOW_IMAGE=infiniflow/ragflow:dev,启动ragflow-server会报错找不到service_conf这个文件,我手动把这个文件拷进去,运行则会报错连不上es01,这是为什么?我运行dev-slim这个版本是没有问题可以正常使用的。
运行slim会出现这个情况,但是运行老版本就没有问题
last slim version, same issue, help!
试试看是不是文件结构错误,我在云平台使用git拉取后,没有ragflow文件夹,我尝试手动构建ragflow,然后将其他文件放入这个目录后,再次使用docker-compose.yml 运行后,日志显示服务启动成功
2025-03-04 02:16:30,739 WARNING 26463 Missing synonym.json
2025-03-04 02:16:30,739 WARNING 26463 Realtime synonym is disabled, since no redis connection.
2025-03-04 02:16:30,739 WARNING 26463 Fail to load synonym
2025-03-04 02:16:30,739 INFO 26463 MAX_CONTENT_LENGTH: 134217728
2025-03-04 02:16:30,739 INFO 26463 SERVER_QUEUE_MAX_LEN: 1024
2025-03-04 02:16:30,739 INFO 26463 SERVER_QUEUE_RETENTION: 3600
2025-03-04 02:16:30,739 INFO 26463 MAX_FILE_COUNT_PER_USER: 0
2025-03-04 02:16:32,196 INFO 26463 init web data success:1.20560622215271
2025-03-04 02:16:32,197 INFO 26463 RAGFlow HTTP server start...
2025-03-04 02:16:32,198 INFO 26463 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
2025-03-04 02:16:32,198 INFO 26463 Press CTRL+C to quit
2025-03-04 02:16:34,807 INFO 26464 generated new fontManager
2025-03-04 02:16:46,850 INFO 26464
______ __ ______ __
/_ __/___ ______/ /__ / ____/ _____ _______ __/ /_____ _____
/ / / __ `/ ___/ //_/ / __/ | |/_/ _ \/ ___/ / / / __/ __ \/ ___/
/ / / /_/ (__ ) ,< / /____> </ __/ /__/ /_/ / /_/ /_/ / /
/_/ \__,_/____/_/|_| /_____/_/|_|\___/\___/\__,_/\__/\____/_/
|ragflow/ |---agent/ |----api/ |--docker/ |----conf/ |-- ..../
我用华为云拉取的镜像,ragflow-servier报相同的错误:OSError: [Errno loading yaml file config from /ragflow/conf/service_conf.yaml failed:] [Errno 2] No such file or directory: '/ragflow/conf/service_conf.yaml' 但是进入容器查看文件是存在的
我用华为云拉取的镜像,ragflow-servier报相同的错误:OSError: [Errno loading yaml file config from /ragflow/conf/service_conf.yaml failed:] [Errno 2] 没有这样的文件或目录: '/ragflow/conf/service_conf.yaml' 但是进入容器查看文件是存在的
![]()
您好,问题解决了吗,我也是这种情况