Skip to content

Plugin installation on multi-instances #390

@plutonji

Description

@plutonji

Self Checks

To make sure we get to you in time, please check the following :)

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • "Please do not modify this template :) and fill in all the required fields."

Versions

  1. dify-plugin-daemon 0.1.3
  2. dify-api Version 1.5.1

Describe the bug
I am running two instances of daemon_plugin in the system to achieve high availability (HA), with HAProxy acting as the load balancer at the traffic entry point.

However, a problem has arisen: when I install a plugin through the Dify interface, the plugin is only installed on one of the instances, and the other instance remains without it.

As a result, errors occur when requests are distributed by HAProxy to the instance where the plugin is not installed.

To Reproduce
Steps to reproduce the behavior:

  1. Startup two instances of plugin_daemon.
  2. Install Plugin via dify web.
  3. Test it.

Expected behavior
It should work.

Screenshots

Image Image

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions