Skip to content

plugin_daemon kept crash-restart looping #729

@roykteo

Description

@roykteo

Versions

  1. dify-1.14.0

Describe the bug
The plugin_daemon is stuck in a crash-restart loop (kept trying to start and failing)
The error confirms: it's still looking for db_postgres which doesn't exist
This loop is slowing down everything else, which is why Dify is taking forever to load

To Reproduce
Steps to reproduce the behavior:

  1. Just download from this GitHub (for self-hosting): https://github.com/langgenius/dify/releases
  2. Followed the instructions for this Self-Hosting Documentation: https://docs.dify.ai/getting-started/install-self-hosted
  3. Under Access, I entered this on Google Chrome browser: http://localhost/install
  4. Noticed the loading was taking to long, went to Docker to take a look at the container status
  5. Went to docker to check, noticed the plugin_daemon keep crash-restart looping.

Expected behavior
The Dify should have load on the browser, and I would be able to set up an account.

Screenshots

Image

I'm not sure if the screenshot works, but here's the error message.

failed to initialize database, got error failed to connect to host=db_postgres user=postgres database=postgres: hostname resolving error (lookup db_postgres on 127.0.0.11:53: no such host)
ERROR failed to init dify plugin db error="failed to connect to host=db_postgres user=postgres database=postgres: hostname resolving error (lookup db_postgres on 127.0.0.11:53: no such host)"
panic: failed to init dify plugin db

Additional context
I'm new here, so I do apologize if this is a newbie mistake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions