使用自己的github ID的插件安裝時plugin_unique_identifier is not valid #31

Closed
opened 2026-02-22 17:16:25 -05:00 by yindo · 5 comments
Owner

Originally created by @darknessWONG on GitHub (Apr 18, 2025).

問題

我在安裝自己編寫的插件的時候,author字段使用自己的github ID時會報plugin_unique_identifier is not valid錯誤。

嘗試

  1. 在dify的.env環境中加入FORCE_VERIFYING_SIGNATURE=false重啟container也沒有變化
  2. 嘗試使用langgenius group的某個成員的github ID 來替換我的github ID,打包出來的程序可以正確安裝。

版本

Dify版本 1.0.1
Dify-plugin版本 0.0.7

Originally created by @darknessWONG on GitHub (Apr 18, 2025). # 問題 我在安裝自己編寫的插件的時候,author字段使用自己的github ID時會報plugin_unique_identifier is not valid錯誤。 # 嘗試 1. 在dify的.env環境中加入FORCE_VERIFYING_SIGNATURE=false重啟container也沒有變化 2. 嘗試使用langgenius group的某個成員的github ID 來替換我的github ID,打包出來的程序可以正確安裝。 # 版本 Dify版本 1.0.1 Dify-plugin版本 0.0.7
yindo closed this issue 2026-02-22 17:16:28 -05:00
Author
Owner

@jingfelix commented on GitHub (Apr 23, 2025):

plugin 的 author 不可包含大写字母
ref:
author must be alphanumeric and less than 64 characters: ^[a-z0-9_-]{1,64}$'

@jingfelix commented on GitHub (Apr 23, 2025): plugin 的 author 不可包含大写字母 ref: `author must be alphanumeric and less than 64 characters: ^[a-z0-9_-]{1,64}$'`
Author
Owner

@darknessWONG commented on GitHub (Apr 23, 2025):

解決了。謝謝!

@darknessWONG commented on GitHub (Apr 23, 2025): 解決了。謝謝!
Author
Owner

@AfterTheStars commented on GitHub (May 18, 2025):

我想问一下打包后的本地插件在使用的时候一直处于加载,执行不了, 但是在调试过程中没有这个问题,你知道怎么处理吗

@AfterTheStars commented on GitHub (May 18, 2025): 我想问一下打包后的本地插件在使用的时候一直处于加载,执行不了, 但是在调试过程中没有这个问题,你知道怎么处理吗
Author
Owner

@jingfelix commented on GitHub (May 19, 2025):

我想问一下打包后的本地插件在使用的时候一直处于加载,执行不了, 但是在调试过程中没有这个问题,你知道怎么处理吗

加载是指「插件已经正常安装」后,在调用时执行不了吗?可以检查一下 requirements.txt 中是否把所有依赖项都写进去了。
如果是本地 Docker 部署的话,可以用 docker compose logs -f plugin_daemon 看一下报错日志

@jingfelix commented on GitHub (May 19, 2025): > 我想问一下打包后的本地插件在使用的时候一直处于加载,执行不了, 但是在调试过程中没有这个问题,你知道怎么处理吗 加载是指「插件已经正常安装」后,在调用时执行不了吗?可以检查一下 requirements.txt 中是否把所有依赖项都写进去了。 如果是本地 Docker 部署的话,可以用 `docker compose logs -f plugin_daemon` 看一下报错日志
Author
Owner

@AfterTheStars commented on GitHub (Jun 3, 2025):

已经解决了,这个是环境配置问题🙏

发自我的iPhone

------------------ 原始邮件 ------------------
发件人: Tianyi Jing @.>
发送时间: 2025年5月19日 16:57
收件人: langgenius/dify-plugins @.
>
抄送: le @.>, Comment @.>
主题: Re: [langgenius/dify-plugins] 使用自己的github ID的插件安裝時plugin_unique_identifier is not valid (Issue #373)

jingfelix left a comment (langgenius/dify-plugins#373)

我想问一下打包后的本地插件在使用的时候一直处于加载,执行不了, 但是在调试过程中没有这个问题,你知道怎么处理吗

加载是指「插件已经正常安装」后,在调用时执行不了吗?可以检查一下 requirements.txt 中是否把所有依赖项都写进去了。
如果是本地 Docker 部署的话,可以用 docker compose logs -f plugin_daemon 看一下报错日志


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

@AfterTheStars commented on GitHub (Jun 3, 2025): 已经解决了,这个是环境配置问题🙏 发自我的iPhone ------------------ 原始邮件 ------------------ 发件人: Tianyi Jing ***@***.***> 发送时间: 2025年5月19日 16:57 收件人: langgenius/dify-plugins ***@***.***> 抄送: le ***@***.***>, Comment ***@***.***> 主题: Re: [langgenius/dify-plugins] 使用自己的github ID的插件安裝時plugin_unique_identifier is not valid (Issue #373) jingfelix left a comment (langgenius/dify-plugins#373) 我想问一下打包后的本地插件在使用的时候一直处于加载,执行不了, 但是在调试过程中没有这个问题,你知道怎么处理吗 加载是指「插件已经正常安装」后,在调用时执行不了吗?可以检查一下 requirements.txt 中是否把所有依赖项都写进去了。 如果是本地 Docker 部署的话,可以用 docker compose logs -f plugin_daemon 看一下报错日志 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: ***@***.***>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugins#31