Open esychoi opened 2 months ago
Check service_conf.yaml about the minio part. The port need to be altered.
Thanks for your answer.
Yes I have changed the minio port number in service_conf.yaml (the one in the docker/
folder and the one in the conf/
folder).
They are both exactly the same
ragflow:
host: 0.0.0.0
http_port: 9380
mysql:
name: 'rag_flow'
user: 'root'
password: 'infini_rag_flow'
host: 'mysql'
port: 3306
max_connections: 100
stale_timeout: 30
minio:
user: 'rag_flow'
password: 'infini_rag_flow'
host: 'minio:4000'
es:
hosts: 'http://es01:9200'
username: 'elastic'
password: 'infini_rag_flow'
redis:
db: 1
password: 'infini_rag_flow'
host: 'redis:6379'
user_default_llm:
factory: 'OpenAI'
api_key: 'sk-xxxxxxx'
base_url: ''
oauth:
github:
client_id: xxx
secret_key: xxx
url: xxx
authentication:
client:
switch: false
http_app_key:
http_secret_key:
site:
switch: false
permission:
switch: false
component: false
dataset: false
I can access minio when going to http://<MY-IP>:4001/browser
, but no bucket nor file is created.
Btw, in the settings, I have this:
I managed to clean my port 9000. Now I have MINIO_PORT=9000
and MINIO_CONSOLE_PORT=4001
and it works.
It seems that we can configure the MINIO_CONSOLE_PORT but not the MINIO_PORT (I don't know why though)
You can access minio by http://
Describe your problem
The port 9000 and 9001 are already taken by other containers, so I manually changed 9000 to 4000 (minio port) and 9001 to 4001 (minio console port) for minio settings in all relevant files in the
docker/
folder: .env, service_conf.yaml, docker-compose-base.yml.I launched the app by following the steps in the readme. The docker containers are seem working (ragflow-mysql and ragflow-es-01 are healthy, others are running).
However, when I upload a file in a knowledge base, I can't parse it. This error is shown when I hover the "Fail" button: [ERROR]Internal server error while chunking: Package not found at contexts.docx
Logs:
The embedding model is loaded, but it seems that the file I uploaded actually doesn't exist.
After searching other issues, I am guessing it has something to do with minio. Indeed, here is the minio.log:
How can I fix it, please ?