Docker安装dify报错,有遇到的么

docker compose ps

检查你的插件守护进程的镜像是否正在运行

目前还是报错,docker安装dify后 进入界面就一直报如下的两个错

Failed to request plugin daemon, url: plugin/5a017356-6fa9-4536-8863-a1ff7d4ee2ba/management/install/tasks

Failed to request plugin daemon, url:plugin/5a017356-6fa9-4536-8863-a1ff7d4ee2ba/management/models

localhost:docker qingfeng$ docker logs ceb1b1183b5f

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

2026/01/27 12:20:48 pool.go:32: [INFO]init routine pool, size: 10000

2026/01/27 12:20:49 init.go:103: [INFO]dify plugin db initialized

2026/01/27 12:20:49 manager.go:114: [INFO]start plugin manager daemon…

2026/01/27 12:20:49 watcher.go:17: [INFO]start to handle new plugins in path: plugin

2026/01/27 12:20:49 watcher.go:18: [INFO]Launching plugins with max concurrency: 2

2026/01/27 12:20:49 init.go:20: [INFO]Persistence initialized

[gnet] 2026-01-27T12:20:49.875181162Z INFO logging/logger.go:256 Launching gnet with 8 event-loops, listening on: tcp://0.0.0.0:5003

2026/01/27 12:21:49 cluster_lifetime.go:113: [INFO]current node has become the master of the cluster

2026/01/27 12:22:19 node.go:213: [INFO]node 930caa3c-8d81-4d10-b8d1-faa519677117 has been removed from the cluster due to being disconnected

2026/01/27 13:14:27 node.go:213: [INFO]node 65c32b9c-43c1-49bf-884f-ecb867e6fb83 has been removed from the cluster due to being disconnected

2026/01/27 13:48:16 node.go:213: [INFO]node 65c32b9c-43c1-49bf-884f-ecb867e6fb83 has been removed from the cluster due to being disconnected

2026/01/27 14:04:31 node.go:213: [INFO]node 65c32b9c-43c1-49bf-884f-ecb867e6fb83 has been removed from the cluster due to being disconnected

2026/01/27 14:08:18 node.go:213: [INFO]node 65c32b9c-43c1-49bf-884f-ecb867e6fb83 has been removed from the cluster due to being disconnected

我看到了你的日志

但“因断开连接而被从集群中移除”这句话不太清楚

你应该检查其他插件(例如,Redis等中间件和网络组件)

或者检查你的服务配置是否满足需求

麻烦问下:【Redis等中间件和网络组件】这个不需要额外安装Redis中间件吧,我是docker启动dify后直接就报错了,我试了两个版本:dify-1.11.4 和 dify-1.8.0,启动后登陆进去 直接就报错了,一个插件也没有安装,插件页面一直loading,一直有报错提示,关闭报错提示,一会儿就又弹出了。主要是如下错误:

Failed to request plugin daemon, url: plugin/5a017356-6fa9-4536-8863-a1ff7d4ee2ba/management/list

Failed to request plugin daemon, url:plugin/5a017356-6fa9-4536-8863-a1ff7d4ee2ba/management/models

ailed to request plugin daemon, url: plugin/5a017356-6fa9-4536-8863-a1ff7d4ee2ba/management/install/tasks

首先,如果你使用 docker compose 启动 Dify
你必须有 redis 镜像和 docker 网络
然后检查 redis 是否有错误日志
检查 docker-compose.yml 中配置的网段和端口是否与主机环境或其他应用程序冲突
最后检查服务器配置

image

感谢您的耐心解答!目前还是不行,现象就是登陆进去后右上角一直提示报错:

Failed to request plugin daemon, url: plugin/5a017356-6fa9-4536-8863-a1ff7d4ee2ba/management/list

Failed to request plugin daemon, url:plugin/5a017356-6fa9-4536-8863-a1ff7d4ee2ba/management/models

Failed to request plugin daemon, url: plugin/5a017356-6fa9-4536-8863-a1ff7d4ee2ba/management/install/tasks

目前是dify-1.8.0的版本,配置文件docker-compose.yml我没有动,docker网络是如下的配置。

试了好几个版本(比如1.11.3、 1.8.0、 1.2.0)都是页面都是报同样的错。

redis启动时正常的。我看日志是success

docker-plugin_daemon-1这里,不同版本日志错误日志不一样:

1.8版本docker-plugin_daemon-1报这个错:

2026/01/28 08:30:05 watcher.go:18: [INFO]Launching plugins with max concurrency: 2

2026/01/28 08:30:05 init.go:20: [INFO]Persistence initialized

[gnet] 2026-01-28T08:30:05.516768271Z INFO logging/logger.go:256 Launching gnet with 8 event-loops, listening on: tcp://0.0.0.0:5003

2026/01/28 08:31:05 cluster_lifetime.go:113: [INFO]current node has become the master of the cluster

2026/01/28 08:31:05 node.go:213: [INFO]node f07bf1ad-49eb-4fd0-8705-8459a7cb1145 has been removed from the cluster due to being disconnected

2026/01/28 08:31:05 node.go:213: [INFO]node 6e81c5ba-9e88-4875-b60f-e72a384e53bf has been removed from the cluster due to being disconnected

1.2版本 docker-plugin_daemon-1 一直restarting 启动不了,看日志是下面的错:

[PANIC]Error processing environment variables: envconfig.Process: assigning S3_USE_AWS_MANAGED_IAM to S3UseAwsManagedIam: converting ‘’ to type bool. details: strconv.ParseBool: parsing “”: invalid syntax
panic: [PANIC]Error processing environment variables: envconfig.Process: assigning S3_USE_AWS_MANAGED_IAM to S3UseAwsManagedIam: converting ‘’ to type bool. details: strconv.ParseBool: parsing “”: invalid syntax

我认为你可以先进入节点
检查节点间的通信是否正常

如果通信失败,你需要考虑修改 yml 中的网络配置
另外,还有一种可能性是你分配的资源不足以启动所有节点

@Zendesk_Dify_Bot :eyes::eyes:

:white_check_mark: 新工单已创建

我也碰到这个问题,后来是怎么解决的呢?是不是因为资源不足 ?