Skip to content

[Bug]: Failed to resolve 'es01' #4875

Closed
@lichaorong

Description

@lichaorong

Is there an existing issue for the same bug?

  • I have checked the existing issues.

RAGFlow workspace code commit ID

fe9e9a6

RAGFlow image version

v0.16.0

Other environment information

centos7.9

Actual behavior

"$ cd ragflow
$ docker compose -f docker/docker-compose.yml up -d"
When you operate according to the following document, the ragflow-server will report an error :"Failed to resolve 'es01'"
You need to do this to avoid errors and successfully download the Elasticsearch image and deploy it :

$ cd ragflow/docker
$ docker compose -f docker-compose.yml up -d

Because the file 'ragflow/docker/docker-compose.yml' indicates "include: - ./docker-compose-base.yml", this file contains the configuration for deploying Elasticsearch and this address is a relative path.
So if you deploy according to the document command, it will cause an error "Failed to resolve 'es01'", which is actually due to the fact that the service was not deployed before the error occurred.

Expected behavior

No response

Steps to reproduce

"$ cd ragflow
$ docker compose -f docker/docker-compose.yml up -d"

be careful! The above command is an incorrect operation

Additional information

No response


Actually, my problem was solved before it was raised, and there are my ideas and commands for solving it in the article.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions