Skip to content

[Bug]: Login RAGFlow with error code 502 #4815

Description

@Jackytfy

Is there an existing issue for the same bug?

  • I have checked the existing issues.

RAGFlow workspace code commit ID

20250209

RAGFlow image version

v0.16.0

Other environment information

OS type:centos7.9
Hardware parameters: 处理器8 内存16

Actual behavior

centos7.9根据https://ragflow.io/docs/dev/ 描述部署安装后,修改了docker/.env 中相应地更新变量 RAGFLOW_IMAGE=infiniflow/ragflow:v0.16.0
;登录页面输入邮箱密码,点击登录没有反应,f12查看后502错误,

Image

Expected behavior

No response

Steps to reproduce

根据以下官网连接步骤执行:https://ragflow.io/docs/dev/

Additional information

以下是具体的命令调试:
[root@localhost ragflow]# docker compose -f docker/docker-compose.yml up -d
WARN[0000] The "HF_ENDPOINT" variable is not set. Defaulting to a blank string.
WARN[0000] The "MACOS" variable is not set. Defaulting to a blank string.
[+] Running 4/4
✔ Container ragflow-minio Running 0.0s
✔ Container ragflow-mysql Healthy 0.5s
✔ Container ragflow-redis Running 0.0s
✔ Container ragflow-server Running 0.0s
[root@localhost ragflow]# docker compose ps
no configuration file provided: not found
[root@localhost ragflow]# cd ..
[root@localhost tianfy]# docker compose ps
no configuration file provided: not found
[root@localhost tianfy]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
90d53f253bf1 infiniflow/ragflow:v0.16.0 "./entrypoint.sh" 52 minutes ago Up 41 minutes 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:9380->9380/tcp, :::9380->9380/tcp ragflow-server
ff0640fc359e quay.io/minio/minio:RELEASE.2023-12-20T01-00-02Z "/usr/bin/docker-ent…" 52 minutes ago Up 30 minutes 0.0.0.0:9000-9001->9000-9001/tcp, :::9000-9001->9000-9001/tcp ragflow-minio
f1861338dad1 mysql:8.0.39 "docker-entrypoint.s…" 52 minutes ago Up 30 minutes (healthy) 33060/tcp, 0.0.0.0:5455->3306/tcp, :::5455->3306/tcp ragflow-mysql
45d3e0172772 valkey/valkey:8 "docker-entrypoint.s…" 52 minutes ago Up 30 minutes 0.0.0.0:6379->6379/tcp, :::6379->6379/tcp ragflow-redis
[root@localhost tianfy]# docker restart 90d
90d
[root@localhost tianfy]# docker -v
Docker version 26.1.4, build 5650f9b
[root@localhost tianfy]# docker-compose --version
bash: docker-compose: command not found...
[root@localhost tianfy]# cd ragflow
[root@localhost ragflow]# ls
agent conf deepdoc Dockerfile Dockerfile.scratch.oc9 download_deps.py graphrag intergrations pyproject.toml README_id.md README_ko.md README_pt_br.md README_zh.md SECURITY.md uv.lock
api CONTRIBUTING.md docker Dockerfile.deps docs example helm LICENSE rag README_ja.md README.md README_tzh.md sdk show_env.sh web
[root@localhost ragflow]# cd docker
[root@localhost docker]# ls
docker-compose-base.yml docker-compose-gpu-CN-oc9.yml docker-compose-macos.yml entrypoint-parser.sh infinity_conf.toml launch_backend_service.sh ragflow-logs service_conf.yaml.template
docker-compose-CN-oc9.yml docker-compose-gpu.yml docker-compose.yml entrypoint.sh init.sql nginx README.md
[root@localhost docker]# cat nginx
cat: nginx: Is a directory
[root@localhost docker]# cd nginx
[root@localhost nginx]# ls
nginx.conf proxy.conf ragflow.conf
[root@localhost nginx]# cat nginx.conf
user root;
worker_processes auto;

error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;

events {
worker_connections 1024;
}

http {
include /etc/nginx/mime.types;
default_type application/octet-stream;

log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
                  '$status $body_bytes_sent "$http_referer" '
                  '"$http_user_agent" "$http_x_forwarded_for"';

access_log  /var/log/nginx/access.log  main;

sendfile        on;
#tcp_nopush     on;

keepalive_timeout  65;

#gzip  on;
client_max_body_size 128M;

include /etc/nginx/conf.d/ragflow.conf;

}

[root@localhost nginx]# cd..
bash: cd..: command not found...
[root@localhost nginx]# cd ..
[root@localhost docker]# cd ..
[root@localhost ragflow]# docker compose -f docker/docker-compose.yml up -d
WARN[0000] The "HF_ENDPOINT" variable is not set. Defaulting to a blank string.
WARN[0000] The "MACOS" variable is not set. Defaulting to a blank string.
[+] Running 4/4
✔ Container ragflow-redis Running 0.0s
✔ Container ragflow-mysql Healthy 0.5s
✔ Container ragflow-minio Running 0.0s
✔ Container ragflow-server Running

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working, pull request that fix bug.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions