Files
dify-docs/plugin-dev-ja/0331-faq.mdx
2025-07-16 16:42:34 +08:00

47 lines
2.5 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
dimensions:
type:
primary: operational
detail: maintenance
level: beginner
standard_title: Faq
language: ja
title: よくある質問
description: Author Allen このドキュメントでは、Difyプラグインの開発とインストールプロセスにおける一般的な質問に答えます。これには、プラグインのアップロード失敗の解決策authorフィールドの変更や、プラグインインストール中の検証例外の対処法FORCE_VERIFYING_SIGNATURE環境変数の設定が含まれます。
---
## プラグインインストール時にアップロード失敗と表示された場合の対処法は?
**エラー詳細**`PluginDaemonBadRequestError: plugin_unique_identifier is not valid` というエラーが表示されます。
**解決策**:プラグインプロジェクト下の `manifest.yaml` ファイルおよび `/provider` パス下の `.yaml` ファイル内の `author` フィールドを GitHub ID に変更します。
プラグインのパッケージングコマンドを再実行し、新しいプラグインパッケージをインストールします。
## プラグインインストール時に例外が発生した場合の対処法は?
**問題の説明**:プラグインインストール時に例外メッセージ:`plugin verification has been enabled, and the plugin you want to install has a bad signature` が表示された場合、どうすればよいですか?
**解決策**`/docker/.env` 設定ファイルの末尾に `FORCE_VERIFYING_SIGNATURE=false` フィールドを追加し、以下のコマンドを実行してDifyサービスを再起動します
```bash
cd docker
docker compose down
docker compose up -d
```
このフィールドを追加すると、DifyプラットフォームはDify Marketplaceに未登録未審査のすべてのプラグインのインストールを許可するようになり、セキュリティ上のリスクが生じる可能性があります。
テスト環境またはサンドボックス環境でプラグインをインストールし、安全性を確認してから本番環境にインストールすることをお勧めします。
{/*
Contributing Section
DO NOT edit this section!
It will be automatically generated by the script.
*/}
---
[このページを編集する](https://github.com/langgenius/dify-docs/edit/main/plugin-dev-ja/0331-faq.mdx) | [問題を報告する](https://github.com/langgenius/dify-docs/issues/new?template=docs.yml)