mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-03-27 13:28:32 +07:00
47 lines
2.5 KiB
Plaintext
47 lines
2.5 KiB
Plaintext
---
|
||
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)
|
||
|