can't install plugins #148

Open
opened 2026-02-16 00:20:08 -05:00 by yindo · 18 comments
Owner

Originally created by @sofs2005 on GitHub (Jun 30, 2025).

Originally assigned to: @Yeuoly on GitHub.

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • 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.

Dify version

1.5.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I have tried many times to install plugins in 1.5.0, it always failed no matter is the plugins on market or offline.

✔️ Expected Behavior

No response

Actual Behavior

apilog:Image
daemonlog:

Image

Originally created by @sofs2005 on GitHub (Jun 30, 2025). Originally assigned to: @Yeuoly on GitHub. ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.5.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I have tried many times to install plugins in 1.5.0, it always failed no matter is the plugins on market or offline. ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior apilog:![Image](https://github.com/user-attachments/assets/6bfa0948-5acd-4fc4-8ae6-377047e109a0) daemonlog: ![Image](https://github.com/user-attachments/assets/6d5e8ad0-2800-48e0-8907-078bbb267868)
Author
Owner

@sofs2005 commented on GitHub (Jun 30, 2025):

Image
error on web

@sofs2005 commented on GitHub (Jun 30, 2025): ![Image](https://github.com/user-attachments/assets/6c985df2-2bee-4453-ac30-1a8daee91c52) error on web
Author
Owner

@dosubot[bot] commented on GitHub (Jun 30, 2025):

Based on your logs and the error on the web, there are a few likely causes for the plugin installation failure in your Docker-based Dify setup:

  1. The Pydantic validation error suggests a mismatch between the plugin manifest/schema and what Dify expects. This could mean the plugin package is corrupted or not compatible with your Dify version.
  2. The HTTP 404 error when requesting the plugin daemon usually means the plugin identifier is invalid or the resource is missing, possibly due to a failed or incomplete upload.
  3. The "Function not implemented" error in the daemon log often points to missing system dependencies or unsupported operations in the Docker container. Some plugins may require system libraries or kernel features not present in the default Docker image.
  4. Recent changes in Dify introduced stricter plugin installation permissions and scopes (like restricting to marketplace-only or official plugins). If your system is set to restrict plugin installations, this could block the process entirely. You can check and adjust these settings in your Dify configuration if needed (source, source).

Troubleshooting steps:

  • Make sure your Docker image is up to date and includes all required system libraries for the plugin (for example, some plugins need build tools or Python headers).
  • Double-check your plugin installation permissions and scopes in Dify’s settings.
  • If possible, try installing a different plugin to see if the issue is specific to 'langgenius/siliconflow' or affects all plugins.
  • If you have custom Docker restrictions (like seccomp or missing kernel features), try running the container with fewer restrictions to see if that resolves the "Function not implemented" error.

There’s no documentation or known issue specific to this plugin or Docker setup, so if these steps don’t help, you may want to check the plugin manifest for schema issues or try a fresh install with a clean Docker environment.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Jun 30, 2025): <!-- Answer --> Based on your logs and the error on the web, there are a few likely causes for the plugin installation failure in your Docker-based Dify setup: 1. The Pydantic validation error suggests a mismatch between the plugin manifest/schema and what Dify expects. This could mean the plugin package is corrupted or not compatible with your Dify version. 2. The HTTP 404 error when requesting the plugin daemon usually means the plugin identifier is invalid or the resource is missing, possibly due to a failed or incomplete upload. 3. The "Function not implemented" error in the daemon log often points to missing system dependencies or unsupported operations in the Docker container. Some plugins may require system libraries or kernel features not present in the default Docker image. 4. Recent changes in Dify introduced stricter plugin installation permissions and scopes (like restricting to marketplace-only or official plugins). If your system is set to restrict plugin installations, this could block the process entirely. You can check and adjust these settings in your Dify configuration if needed ([source](https://github.com/langgenius/dify/pull/19963), [source](https://github.com/langgenius/dify/pull/20014)). Troubleshooting steps: - Make sure your Docker image is up to date and includes all required system libraries for the plugin (for example, some plugins need build tools or Python headers). - Double-check your plugin installation permissions and scopes in Dify’s settings. - If possible, try installing a different plugin to see if the issue is specific to 'langgenius/siliconflow' or affects all plugins. - If you have custom Docker restrictions (like seccomp or missing kernel features), try running the container with fewer restrictions to see if that resolves the "Function not implemented" error. There’s no documentation or known issue specific to this plugin or Docker setup, so if these steps don’t help, you may want to check the plugin manifest for schema issues or try a fresh install with a clean Docker environment. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/d75187fd-58c3-40e1-ba11-0cdde8718f0a?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/d75187fd-58c3-40e1-ba11-0cdde8718f0a?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/d75187fd-58c3-40e1-ba11-0cdde8718f0a?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/d75187fd-58c3-40e1-ba11-0cdde8718f0a?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/d75187fd-58c3-40e1-ba11-0cdde8718f0a?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/d75187fd-58c3-40e1-ba11-0cdde8718f0a?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/d75187fd-58c3-40e1-ba11-0cdde8718f0a?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/21703)
Author
Owner

@sofs2005 commented on GitHub (Jun 30, 2025):

Image
when my daemon starting, it will raise this error, is this have somthing do to my issue?

@sofs2005 commented on GitHub (Jun 30, 2025): ![Image](https://github.com/user-attachments/assets/399aa8df-fa88-408d-b3ab-f097d275cf6f) when my daemon starting, it will raise this error, is this have somthing do to my issue?
Author
Owner

@sofs2005 commented on GitHub (Jun 30, 2025):

Image

Image

Image

Image

none of them can be installed. Ollama is offline installation file, also failed.

@sofs2005 commented on GitHub (Jun 30, 2025): ![Image](https://github.com/user-attachments/assets/6dfe0780-6676-42ee-9338-ca1125b2133a) ![Image](https://github.com/user-attachments/assets/a2931ed7-ca49-45bd-9c34-18a36abd9415) ![Image](https://github.com/user-attachments/assets/be50016c-7880-44dd-895d-8b36c261f7d4) ![Image](https://github.com/user-attachments/assets/ccee1972-86e2-4d55-a303-8be59d64e5a9) none of them can be installed. Ollama is offline installation file, also failed.
Author
Owner

@sofs2005 commented on GitHub (Jun 30, 2025):

this is my .env file setting:

# ------------------------------
# Plugin Daemon Configuration
# ------------------------------

DB_PLUGIN_DATABASE=dify_plugin
EXPOSE_PLUGIN_DAEMON_PORT=5002
PLUGIN_DAEMON_PORT=5002
PLUGIN_DAEMON_KEY=lYkiYYT6owG+71oLerGzA7GXCgOT++6ovaezWAjpCjf+Sjc3ZtU+qUEi
PLUGIN_DAEMON_URL=http://plugin_daemon:5002
PLUGIN_MAX_PACKAGE_SIZE=52428800
PLUGIN_PPROF_ENABLED=false

PLUGIN_DEBUGGING_HOST=0.0.0.0
PLUGIN_DEBUGGING_PORT=5003
EXPOSE_PLUGIN_DEBUGGING_HOST=localhost
EXPOSE_PLUGIN_DEBUGGING_PORT=5003

# If this key is changed, DIFY_INNER_API_KEY in plugin_daemon service must also be updated or agent node will fail.
PLUGIN_DIFY_INNER_API_KEY=QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1
PLUGIN_DIFY_INNER_API_URL=http://api:5001

ENDPOINT_URL_TEMPLATE=http://localhost/e/{hook_id}

MARKETPLACE_ENABLED=true
MARKETPLACE_API_URL=https://marketplace.dify.ai

FORCE_VERIFYING_SIGNATURE=false

PLUGIN_PYTHON_ENV_INIT_TIMEOUT=120
PLUGIN_MAX_EXECUTION_TIMEOUT=600
# PIP_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple
PIP_MIRROR_URL=

# https://github.com/langgenius/dify-plugin-daemon/blob/main/.env.example
# Plugin storage type, local aws_s3 tencent_cos azure_blob aliyun_oss volcengine_tos
PLUGIN_STORAGE_TYPE=local
PLUGIN_STORAGE_LOCAL_ROOT=/app/storage
PLUGIN_WORKING_PATH=/app/storage/cwd
PLUGIN_INSTALLED_PATH=plugin
PLUGIN_PACKAGE_CACHE_PATH=plugin_packages
PLUGIN_MEDIA_CACHE_PATH=assets
# Plugin oss bucket
PLUGIN_STORAGE_OSS_BUCKET=
# Plugin oss s3 credentials
PLUGIN_S3_USE_AWS=false
PLUGIN_S3_USE_AWS_MANAGED_IAM=false
PLUGIN_S3_ENDPOINT=
PLUGIN_S3_USE_PATH_STYLE=false
PLUGIN_AWS_ACCESS_KEY=
PLUGIN_AWS_SECRET_KEY=
PLUGIN_AWS_REGION=
# Plugin oss azure blob
PLUGIN_AZURE_BLOB_STORAGE_CONTAINER_NAME=
PLUGIN_AZURE_BLOB_STORAGE_CONNECTION_STRING=
# Plugin oss tencent cos
PLUGIN_TENCENT_COS_SECRET_KEY=
PLUGIN_TENCENT_COS_SECRET_ID=
PLUGIN_TENCENT_COS_REGION=
# Plugin oss aliyun oss
PLUGIN_ALIYUN_OSS_REGION=
PLUGIN_ALIYUN_OSS_ENDPOINT=
PLUGIN_ALIYUN_OSS_ACCESS_KEY_ID=
PLUGIN_ALIYUN_OSS_ACCESS_KEY_SECRET=
PLUGIN_ALIYUN_OSS_AUTH_VERSION=v4
PLUGIN_ALIYUN_OSS_PATH=
# Plugin oss volcengine tos
PLUGIN_VOLCENGINE_TOS_ENDPOINT=
PLUGIN_VOLCENGINE_TOS_ACCESS_KEY=
PLUGIN_VOLCENGINE_TOS_SECRET_KEY=
PLUGIN_VOLCENGINE_TOS_REGION=`


this is my compose file setting:
`# plugin daemon
  plugin_daemon:
    image: langgenius/dify-plugin-daemon:0.1.2-local
    restart: always
    environment:
      # Use the shared environment variables.
      <<: *shared-api-worker-env
      DB_DATABASE: ${DB_PLUGIN_DATABASE:-dify_plugin}
      SERVER_PORT: ${PLUGIN_DAEMON_PORT:-5002}
      SERVER_KEY: ${PLUGIN_DAEMON_KEY:-lYkiYYT6owG+71oLerGzA7GXCgOT++6ovaezWAjpCjf+Sjc3ZtU+qUEi}
      MAX_PLUGIN_PACKAGE_SIZE: ${PLUGIN_MAX_PACKAGE_SIZE:-52428800}
      PPROF_ENABLED: ${PLUGIN_PPROF_ENABLED:-false}
      DIFY_INNER_API_URL: ${PLUGIN_DIFY_INNER_API_URL:-http://api:5001}
      DIFY_INNER_API_KEY: ${PLUGIN_DIFY_INNER_API_KEY:-QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1}
      PLUGIN_REMOTE_INSTALLING_HOST: ${PLUGIN_DEBUGGING_HOST:-0.0.0.0}
      PLUGIN_REMOTE_INSTALLING_PORT: ${PLUGIN_DEBUGGING_PORT:-5003}
      PLUGIN_WORKING_PATH: ${PLUGIN_WORKING_PATH:-/app/storage/cwd}
      FORCE_VERIFYING_SIGNATURE: ${FORCE_VERIFYING_SIGNATURE:-true}
      PYTHON_ENV_INIT_TIMEOUT: ${PLUGIN_PYTHON_ENV_INIT_TIMEOUT:-120}
      PLUGIN_MAX_EXECUTION_TIMEOUT: ${PLUGIN_MAX_EXECUTION_TIMEOUT:-600}
      PIP_MIRROR_URL: ${PIP_MIRROR_URL:-}
      PLUGIN_STORAGE_TYPE: ${PLUGIN_STORAGE_TYPE:-local}
      PLUGIN_STORAGE_LOCAL_ROOT: ${PLUGIN_STORAGE_LOCAL_ROOT:-/app/storage}
      PLUGIN_INSTALLED_PATH: ${PLUGIN_INSTALLED_PATH:-plugin}
      PLUGIN_PACKAGE_CACHE_PATH: ${PLUGIN_PACKAGE_CACHE_PATH:-plugin_packages}
      PLUGIN_MEDIA_CACHE_PATH: ${PLUGIN_MEDIA_CACHE_PATH:-assets}
      PLUGIN_STORAGE_OSS_BUCKET: ${PLUGIN_STORAGE_OSS_BUCKET:-}
      S3_USE_AWS_MANAGED_IAM: ${PLUGIN_S3_USE_AWS_MANAGED_IAM:-false}
      S3_USE_AWS: ${PLUGIN_S3_USE_AWS:-}
      S3_ENDPOINT: ${PLUGIN_S3_ENDPOINT:-}
      S3_USE_PATH_STYLE: ${PLUGIN_S3_USE_PATH_STYLE:-false}
      AWS_ACCESS_KEY: ${PLUGIN_AWS_ACCESS_KEY:-}
      AWS_SECRET_KEY: ${PLUGIN_AWS_SECRET_KEY:-}
      AWS_REGION: ${PLUGIN_AWS_REGION:-}
      AZURE_BLOB_STORAGE_CONNECTION_STRING: ${PLUGIN_AZURE_BLOB_STORAGE_CONNECTION_STRING:-}
      AZURE_BLOB_STORAGE_CONTAINER_NAME: ${PLUGIN_AZURE_BLOB_STORAGE_CONTAINER_NAME:-}
      TENCENT_COS_SECRET_KEY: ${PLUGIN_TENCENT_COS_SECRET_KEY:-}
      TENCENT_COS_SECRET_ID: ${PLUGIN_TENCENT_COS_SECRET_ID:-}
      TENCENT_COS_REGION: ${PLUGIN_TENCENT_COS_REGION:-}
      ALIYUN_OSS_REGION: ${PLUGIN_ALIYUN_OSS_REGION:-}
      ALIYUN_OSS_ENDPOINT: ${PLUGIN_ALIYUN_OSS_ENDPOINT:-}
      ALIYUN_OSS_ACCESS_KEY_ID: ${PLUGIN_ALIYUN_OSS_ACCESS_KEY_ID:-}
      ALIYUN_OSS_ACCESS_KEY_SECRET: ${PLUGIN_ALIYUN_OSS_ACCESS_KEY_SECRET:-}
      ALIYUN_OSS_AUTH_VERSION: ${PLUGIN_ALIYUN_OSS_AUTH_VERSION:-v4}
      ALIYUN_OSS_PATH: ${PLUGIN_ALIYUN_OSS_PATH:-}
      VOLCENGINE_TOS_ENDPOINT: ${PLUGIN_VOLCENGINE_TOS_ENDPOINT:-}
      VOLCENGINE_TOS_ACCESS_KEY: ${PLUGIN_VOLCENGINE_TOS_ACCESS_KEY:-}
      VOLCENGINE_TOS_SECRET_KEY: ${PLUGIN_VOLCENGINE_TOS_SECRET_KEY:-}
      VOLCENGINE_TOS_REGION: ${PLUGIN_VOLCENGINE_TOS_REGION:-}
    ports:
      - "${EXPOSE_PLUGIN_DEBUGGING_PORT:-5003}:${PLUGIN_DEBUGGING_PORT:-5003}"
    volumes:
      - ./volumes/plugin_daemon:/app/storage
    depends_on:
      db:
        condition: service_healthy
    privileged: true
    networks:
      default: {}
      br0:
        ipv4_address: 10.6.6.135

and I have tried delete image and re-pull it many times, always the same.

@sofs2005 commented on GitHub (Jun 30, 2025): this is my .env file setting: ``` # ------------------------------ # Plugin Daemon Configuration # ------------------------------ DB_PLUGIN_DATABASE=dify_plugin EXPOSE_PLUGIN_DAEMON_PORT=5002 PLUGIN_DAEMON_PORT=5002 PLUGIN_DAEMON_KEY=lYkiYYT6owG+71oLerGzA7GXCgOT++6ovaezWAjpCjf+Sjc3ZtU+qUEi PLUGIN_DAEMON_URL=http://plugin_daemon:5002 PLUGIN_MAX_PACKAGE_SIZE=52428800 PLUGIN_PPROF_ENABLED=false PLUGIN_DEBUGGING_HOST=0.0.0.0 PLUGIN_DEBUGGING_PORT=5003 EXPOSE_PLUGIN_DEBUGGING_HOST=localhost EXPOSE_PLUGIN_DEBUGGING_PORT=5003 # If this key is changed, DIFY_INNER_API_KEY in plugin_daemon service must also be updated or agent node will fail. PLUGIN_DIFY_INNER_API_KEY=QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1 PLUGIN_DIFY_INNER_API_URL=http://api:5001 ENDPOINT_URL_TEMPLATE=http://localhost/e/{hook_id} MARKETPLACE_ENABLED=true MARKETPLACE_API_URL=https://marketplace.dify.ai FORCE_VERIFYING_SIGNATURE=false PLUGIN_PYTHON_ENV_INIT_TIMEOUT=120 PLUGIN_MAX_EXECUTION_TIMEOUT=600 # PIP_MIRROR_URL=https://pypi.tuna.tsinghua.edu.cn/simple PIP_MIRROR_URL= # https://github.com/langgenius/dify-plugin-daemon/blob/main/.env.example # Plugin storage type, local aws_s3 tencent_cos azure_blob aliyun_oss volcengine_tos PLUGIN_STORAGE_TYPE=local PLUGIN_STORAGE_LOCAL_ROOT=/app/storage PLUGIN_WORKING_PATH=/app/storage/cwd PLUGIN_INSTALLED_PATH=plugin PLUGIN_PACKAGE_CACHE_PATH=plugin_packages PLUGIN_MEDIA_CACHE_PATH=assets # Plugin oss bucket PLUGIN_STORAGE_OSS_BUCKET= # Plugin oss s3 credentials PLUGIN_S3_USE_AWS=false PLUGIN_S3_USE_AWS_MANAGED_IAM=false PLUGIN_S3_ENDPOINT= PLUGIN_S3_USE_PATH_STYLE=false PLUGIN_AWS_ACCESS_KEY= PLUGIN_AWS_SECRET_KEY= PLUGIN_AWS_REGION= # Plugin oss azure blob PLUGIN_AZURE_BLOB_STORAGE_CONTAINER_NAME= PLUGIN_AZURE_BLOB_STORAGE_CONNECTION_STRING= # Plugin oss tencent cos PLUGIN_TENCENT_COS_SECRET_KEY= PLUGIN_TENCENT_COS_SECRET_ID= PLUGIN_TENCENT_COS_REGION= # Plugin oss aliyun oss PLUGIN_ALIYUN_OSS_REGION= PLUGIN_ALIYUN_OSS_ENDPOINT= PLUGIN_ALIYUN_OSS_ACCESS_KEY_ID= PLUGIN_ALIYUN_OSS_ACCESS_KEY_SECRET= PLUGIN_ALIYUN_OSS_AUTH_VERSION=v4 PLUGIN_ALIYUN_OSS_PATH= # Plugin oss volcengine tos PLUGIN_VOLCENGINE_TOS_ENDPOINT= PLUGIN_VOLCENGINE_TOS_ACCESS_KEY= PLUGIN_VOLCENGINE_TOS_SECRET_KEY= PLUGIN_VOLCENGINE_TOS_REGION=` this is my compose file setting: `# plugin daemon plugin_daemon: image: langgenius/dify-plugin-daemon:0.1.2-local restart: always environment: # Use the shared environment variables. <<: *shared-api-worker-env DB_DATABASE: ${DB_PLUGIN_DATABASE:-dify_plugin} SERVER_PORT: ${PLUGIN_DAEMON_PORT:-5002} SERVER_KEY: ${PLUGIN_DAEMON_KEY:-lYkiYYT6owG+71oLerGzA7GXCgOT++6ovaezWAjpCjf+Sjc3ZtU+qUEi} MAX_PLUGIN_PACKAGE_SIZE: ${PLUGIN_MAX_PACKAGE_SIZE:-52428800} PPROF_ENABLED: ${PLUGIN_PPROF_ENABLED:-false} DIFY_INNER_API_URL: ${PLUGIN_DIFY_INNER_API_URL:-http://api:5001} DIFY_INNER_API_KEY: ${PLUGIN_DIFY_INNER_API_KEY:-QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1} PLUGIN_REMOTE_INSTALLING_HOST: ${PLUGIN_DEBUGGING_HOST:-0.0.0.0} PLUGIN_REMOTE_INSTALLING_PORT: ${PLUGIN_DEBUGGING_PORT:-5003} PLUGIN_WORKING_PATH: ${PLUGIN_WORKING_PATH:-/app/storage/cwd} FORCE_VERIFYING_SIGNATURE: ${FORCE_VERIFYING_SIGNATURE:-true} PYTHON_ENV_INIT_TIMEOUT: ${PLUGIN_PYTHON_ENV_INIT_TIMEOUT:-120} PLUGIN_MAX_EXECUTION_TIMEOUT: ${PLUGIN_MAX_EXECUTION_TIMEOUT:-600} PIP_MIRROR_URL: ${PIP_MIRROR_URL:-} PLUGIN_STORAGE_TYPE: ${PLUGIN_STORAGE_TYPE:-local} PLUGIN_STORAGE_LOCAL_ROOT: ${PLUGIN_STORAGE_LOCAL_ROOT:-/app/storage} PLUGIN_INSTALLED_PATH: ${PLUGIN_INSTALLED_PATH:-plugin} PLUGIN_PACKAGE_CACHE_PATH: ${PLUGIN_PACKAGE_CACHE_PATH:-plugin_packages} PLUGIN_MEDIA_CACHE_PATH: ${PLUGIN_MEDIA_CACHE_PATH:-assets} PLUGIN_STORAGE_OSS_BUCKET: ${PLUGIN_STORAGE_OSS_BUCKET:-} S3_USE_AWS_MANAGED_IAM: ${PLUGIN_S3_USE_AWS_MANAGED_IAM:-false} S3_USE_AWS: ${PLUGIN_S3_USE_AWS:-} S3_ENDPOINT: ${PLUGIN_S3_ENDPOINT:-} S3_USE_PATH_STYLE: ${PLUGIN_S3_USE_PATH_STYLE:-false} AWS_ACCESS_KEY: ${PLUGIN_AWS_ACCESS_KEY:-} AWS_SECRET_KEY: ${PLUGIN_AWS_SECRET_KEY:-} AWS_REGION: ${PLUGIN_AWS_REGION:-} AZURE_BLOB_STORAGE_CONNECTION_STRING: ${PLUGIN_AZURE_BLOB_STORAGE_CONNECTION_STRING:-} AZURE_BLOB_STORAGE_CONTAINER_NAME: ${PLUGIN_AZURE_BLOB_STORAGE_CONTAINER_NAME:-} TENCENT_COS_SECRET_KEY: ${PLUGIN_TENCENT_COS_SECRET_KEY:-} TENCENT_COS_SECRET_ID: ${PLUGIN_TENCENT_COS_SECRET_ID:-} TENCENT_COS_REGION: ${PLUGIN_TENCENT_COS_REGION:-} ALIYUN_OSS_REGION: ${PLUGIN_ALIYUN_OSS_REGION:-} ALIYUN_OSS_ENDPOINT: ${PLUGIN_ALIYUN_OSS_ENDPOINT:-} ALIYUN_OSS_ACCESS_KEY_ID: ${PLUGIN_ALIYUN_OSS_ACCESS_KEY_ID:-} ALIYUN_OSS_ACCESS_KEY_SECRET: ${PLUGIN_ALIYUN_OSS_ACCESS_KEY_SECRET:-} ALIYUN_OSS_AUTH_VERSION: ${PLUGIN_ALIYUN_OSS_AUTH_VERSION:-v4} ALIYUN_OSS_PATH: ${PLUGIN_ALIYUN_OSS_PATH:-} VOLCENGINE_TOS_ENDPOINT: ${PLUGIN_VOLCENGINE_TOS_ENDPOINT:-} VOLCENGINE_TOS_ACCESS_KEY: ${PLUGIN_VOLCENGINE_TOS_ACCESS_KEY:-} VOLCENGINE_TOS_SECRET_KEY: ${PLUGIN_VOLCENGINE_TOS_SECRET_KEY:-} VOLCENGINE_TOS_REGION: ${PLUGIN_VOLCENGINE_TOS_REGION:-} ports: - "${EXPOSE_PLUGIN_DEBUGGING_PORT:-5003}:${PLUGIN_DEBUGGING_PORT:-5003}" volumes: - ./volumes/plugin_daemon:/app/storage depends_on: db: condition: service_healthy privileged: true networks: default: {} br0: ipv4_address: 10.6.6.135 ``` and I have tried delete image and re-pull it many times, always the same.
Author
Owner

@playhousehosting commented on GitHub (Jul 2, 2025):

I am experiencing a similar issue as well after upgrading to Dify 1.5.1

Error in Dify:
Failed to request plugin daemon, url: plugin/c8c65a9b-a31c-433e-9eec-f77bc89b3aa8/management/install/tasks

Error in Terminal:
plugin_daemon-1 | 2025/07/02 21:11:44 main.go:19: [PANIC]Error processing environment variables: envconfig.Process: assigning S3_USE_AWS to S3UseAWS: converting '' to type bool. details: strconv.ParseBool: parsing "": invalid syntax
plugin_daemon-1 | panic: [PANIC]Error processing environment variables: envconfig.Process: assigning S3_USE_AWS to S3UseAWS: converting '' to type bool. details: strconv.ParseBool: parsing "": invalid syntax
plugin_daemon-1

@playhousehosting commented on GitHub (Jul 2, 2025): I am experiencing a similar issue as well after upgrading to Dify 1.5.1 Error in Dify: Failed to request plugin daemon, url: plugin/c8c65a9b-a31c-433e-9eec-f77bc89b3aa8/management/install/tasks Error in Terminal: plugin_daemon-1 | 2025/07/02 21:11:44 main.go:19: [PANIC]Error processing environment variables: envconfig.Process: assigning S3_USE_AWS to S3UseAWS: converting '' to type bool. details: strconv.ParseBool: parsing "": invalid syntax plugin_daemon-1 | panic: [PANIC]Error processing environment variables: envconfig.Process: assigning S3_USE_AWS to S3UseAWS: converting '' to type bool. details: strconv.ParseBool: parsing "": invalid syntax plugin_daemon-1
Author
Owner

@sofs2005 commented on GitHub (Jul 4, 2025):

I tried a fresh system installation today(1.5.1), but it still reports the exact same error. Please resolve this issue as soon as possible.

@sofs2005 commented on GitHub (Jul 4, 2025): I tried a fresh system installation today(1.5.1), but it still reports the exact same error. Please resolve this issue as soon as possible.
Author
Owner

@sofs2005 commented on GitHub (Jul 4, 2025):

I just rooled back to 0.0.10, in this version it's OK!!!

@sofs2005 commented on GitHub (Jul 4, 2025): I just rooled back to 0.0.10, in this version it's OK!!!
Author
Owner

@sofs2005 commented on GitHub (Jul 4, 2025):

I take back what I said earlier in 0.0.10. The interface shows a successful installation, but it didn't actually work, and the backend reports an error:

025/07/04 06:15:37 /app/internal/db/executor.go:259 record not found
[5.733ms] [rows:0] SELECT * FROM "plugins" WHERE plugin_unique_identifier = 'langgenius/gemini:0.2.6@2a4ffc697957afb7734e7a5cfb780d5c819d216cc6e56798bffb95d28a032867' ORDER BY "plugins"."id" LIMIT 1
[GIN] 2025/07/04 - 06:15:37 | 200 | 30.822929ms | 10.6.6.144 | POST "/plugin/41ca1659-37ee-4f69-9b4e-aac6fbe12b46/management/install/identifiers"
[GIN] 2025/07/04 - 06:15:37 | 200 | 2.551994ms | 10.6.6.144 | GET "/plugin/41ca1659-37ee-4f69-9b4e-aac6fbe12b46/management/install/tasks?page=1&page_size=100"
[GIN] 2025/07/04 - 06:15:37 | 200 | 3.743321ms | 10.6.6.144 | GET "/plugin/41ca1659-37ee-4f69-9b4e-aac6fbe12b46/management/install/tasks/fccecf49-5155-4827-bee7-c5a5214f0eb4"
2025/07/04 06:15:37 full_duplex.go:27: [INFO]new plugin logged in: langgenius/gemini:0.2.6
2025/07/04 06:15:37 full_duplex.go:59: [INFO]init environment for plugin langgenius/gemini:0.2.6
2025/07/04 06:15:37 full_duplex.go:65: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Function not implemented (os error 38)
, retrying
2025/07/04 06:15:37 full_duplex.go:59: [INFO]init environment for plugin langgenius/gemini:0.2.6
2025/07/04 06:15:37 full_duplex.go:65: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Function not implemented (os error 38)
, retrying
2025/07/04 06:15:37 full_duplex.go:59: [INFO]init environment for plugin langgenius/gemini:0.2.6
2025/07/04 06:15:37 full_duplex.go:65: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Function not implemented (os error 38)
, retrying
2025/07/04 06:15:37 full_duplex.go:59: [INFO]init environment for plugin langgenius/gemini:0.2.6
2025/07/04 06:15:37 full_duplex.go:65: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Function not implemented (os error 38)
, retrying
2025/07/04 06:15:37 full_duplex.go:29: [INFO]plugin langgenius/gemini:0.2.6 has exited
[GIN] 2025/07/04 - 06:15:42 | 200 | 2.124617ms | 10.6.6.144 | GET "/plugin/41ca1659-37ee-4f69-9b4e-aac6fbe12b46/management/install/tasks?page=1&page_size=100"
[GIN] 2025/07/04 - 06:15:42 | 200 | 3.022879ms | 10.6.6.144 | GET "/plugin/41ca1659-37ee-4f69-9b4e-aac6fbe12b46/management/list?page=1&page_size=256"

@sofs2005 commented on GitHub (Jul 4, 2025): I take back what I said earlier in 0.0.10. The interface shows a successful installation, but it didn't actually work, and the backend reports an error: 025/07/04 06:15:37 /app/internal/db/executor.go:259 record not found [5.733ms] [rows:0] SELECT * FROM "plugins" WHERE plugin_unique_identifier = 'langgenius/gemini:0.2.6@2a4ffc697957afb7734e7a5cfb780d5c819d216cc6e56798bffb95d28a032867' ORDER BY "plugins"."id" LIMIT 1 [GIN] 2025/07/04 - 06:15:37 | 200 | 30.822929ms | 10.6.6.144 | POST "/plugin/41ca1659-37ee-4f69-9b4e-aac6fbe12b46/management/install/identifiers" [GIN] 2025/07/04 - 06:15:37 | 200 | 2.551994ms | 10.6.6.144 | GET "/plugin/41ca1659-37ee-4f69-9b4e-aac6fbe12b46/management/install/tasks?page=1&page_size=100" [GIN] 2025/07/04 - 06:15:37 | 200 | 3.743321ms | 10.6.6.144 | GET "/plugin/41ca1659-37ee-4f69-9b4e-aac6fbe12b46/management/install/tasks/fccecf49-5155-4827-bee7-c5a5214f0eb4" 2025/07/04 06:15:37 full_duplex.go:27: [INFO]new plugin logged in: langgenius/gemini:0.2.6 2025/07/04 06:15:37 full_duplex.go:59: [INFO]init environment for plugin langgenius/gemini:0.2.6 2025/07/04 06:15:37 full_duplex.go:65: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Function not implemented (os error 38) , retrying 2025/07/04 06:15:37 full_duplex.go:59: [INFO]init environment for plugin langgenius/gemini:0.2.6 2025/07/04 06:15:37 full_duplex.go:65: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Function not implemented (os error 38) , retrying 2025/07/04 06:15:37 full_duplex.go:59: [INFO]init environment for plugin langgenius/gemini:0.2.6 2025/07/04 06:15:37 full_duplex.go:65: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Function not implemented (os error 38) , retrying 2025/07/04 06:15:37 full_duplex.go:59: [INFO]init environment for plugin langgenius/gemini:0.2.6 2025/07/04 06:15:37 full_duplex.go:65: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Function not implemented (os error 38) , retrying 2025/07/04 06:15:37 full_duplex.go:29: [INFO]plugin langgenius/gemini:0.2.6 has exited [GIN] 2025/07/04 - 06:15:42 | 200 | 2.124617ms | 10.6.6.144 | GET "/plugin/41ca1659-37ee-4f69-9b4e-aac6fbe12b46/management/install/tasks?page=1&page_size=100" [GIN] 2025/07/04 - 06:15:42 | 200 | 3.022879ms | 10.6.6.144 | GET "/plugin/41ca1659-37ee-4f69-9b4e-aac6fbe12b46/management/list?page=1&page_size=256"
Author
Owner

@sofs2005 commented on GitHub (Jul 4, 2025):

Image
now I have new error, openai compatable plugin can't load any models

@sofs2005 commented on GitHub (Jul 4, 2025): ![Image](https://github.com/user-attachments/assets/7b7363ca-36a2-4f54-bd05-30d4e3060e7f) now I have new error, openai compatable plugin can't load any models
Author
Owner

@sofs2005 commented on GitHub (Jul 4, 2025):

my host os is unraid 7.1.4,this may be the last reason I guess

@sofs2005 commented on GitHub (Jul 4, 2025): my host os is unraid 7.1.4,this may be the last reason I guess
Author
Owner

@sofs2005 commented on GitHub (Jul 7, 2025):

no one cares issue here???

@sofs2005 commented on GitHub (Jul 7, 2025): no one cares issue here???
Author
Owner

@crazywoola commented on GitHub (Jul 7, 2025):

These problems happens if your network is broken to install the deps.

Please make sure you have using the right version of plugin daemon, check the missing environment variables as well.

https://github.com/langgenius/dify/blob/b654c852a5685e187c22583888afc184da6f7e12/docker/docker-compose.yaml#L659-L660

You should use " " to format code instead of "``", it's hard to read the traces.

@crazywoola commented on GitHub (Jul 7, 2025): These problems happens if your network is broken to install the deps. Please make sure you have using the right version of plugin daemon, check the missing environment variables as well. https://github.com/langgenius/dify/blob/b654c852a5685e187c22583888afc184da6f7e12/docker/docker-compose.yaml#L659-L660 You should use "``` ```" to format code instead of "``", it's hard to read the traces.
Author
Owner

@sofs2005 commented on GitHub (Jul 8, 2025):

2025/07/08 04:28:36 full_duplex.go:59: [INFO]init environment for plugin langgenius/openai_api_compatible:0.0.16
2025/07/08 04:28:36 full_duplex.go:65: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Function not implemented (os error 38)
, retrying
2025/07/08 04:28:36 full_duplex.go:59: [INFO]init environment for plugin langgenius/openai_api_compatible:0.0.16
2025/07/08 04:28:36 full_duplex.go:65: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Function not implemented (os error 38)
, retrying
2025/07/08 04:28:36 full_duplex.go:29: [INFO]plugin langgenius/openai_api_compatible:0.0.16 has exited
2025/07/08 04:28:36 watcher.go:87: [ERROR]plugin launch error: init environment for plugin langgenius/openai_api_compatible:0.0.16 failed too many times, you should consider the package is corrupted or your network is unstable
[GIN] 2025/07/08 - 04:29:05 | 200 |      19.855µs |      10.6.6.135 | GET      "/health/check"
2025/07/08 04:29:06 full_duplex.go:27: [INFO]new plugin logged in: langgenius/openai_api_compatible:0.0.16
2025/07/08 04:29:06 full_duplex.go:59: [INFO]init environment for plugin langgenius/openai_api_compatible:0.0.16
2025/07/08 04:29:06 full_duplex.go:65: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Function not implemented (os error 38)
, retrying

I use the same settings as your template, you can see the config on my reply above.

here is the latest log after my clean re-install the latest dify v1.51

@sofs2005 commented on GitHub (Jul 8, 2025): ``` 2025/07/08 04:28:36 full_duplex.go:59: [INFO]init environment for plugin langgenius/openai_api_compatible:0.0.16 2025/07/08 04:28:36 full_duplex.go:65: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Function not implemented (os error 38) , retrying 2025/07/08 04:28:36 full_duplex.go:59: [INFO]init environment for plugin langgenius/openai_api_compatible:0.0.16 2025/07/08 04:28:36 full_duplex.go:65: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Function not implemented (os error 38) , retrying 2025/07/08 04:28:36 full_duplex.go:29: [INFO]plugin langgenius/openai_api_compatible:0.0.16 has exited 2025/07/08 04:28:36 watcher.go:87: [ERROR]plugin launch error: init environment for plugin langgenius/openai_api_compatible:0.0.16 failed too many times, you should consider the package is corrupted or your network is unstable [GIN] 2025/07/08 - 04:29:05 | 200 | 19.855µs | 10.6.6.135 | GET "/health/check" 2025/07/08 04:29:06 full_duplex.go:27: [INFO]new plugin logged in: langgenius/openai_api_compatible:0.0.16 2025/07/08 04:29:06 full_duplex.go:59: [INFO]init environment for plugin langgenius/openai_api_compatible:0.0.16 2025/07/08 04:29:06 full_duplex.go:65: [ERROR]init environment failed: failed to install dependencies: exit status 2, output: error: Function not implemented (os error 38) , retrying ``` I use the same settings as your template, you can see the config on my reply above. here is the latest log after my clean re-install the latest dify v1.51
Author
Owner

@lbl1120 commented on GitHub (Aug 26, 2025):

The same question

@lbl1120 commented on GitHub (Aug 26, 2025): The same question
Author
Owner

@kuman62 commented on GitHub (Dec 22, 2025):

Image Image
@kuman62 commented on GitHub (Dec 22, 2025): <img width="1412" height="662" alt="Image" src="https://github.com/user-attachments/assets/04c31c86-a9cf-4412-9519-7dd304dd804c" /> <img width="2206" height="1262" alt="Image" src="https://github.com/user-attachments/assets/416e0c35-8d06-4d0f-a7d7-fe9dacfa70ba" />
Author
Owner

@kuman62 commented on GitHub (Dec 22, 2025):

I solved the problem using the following method.
1、Modify the value of PLUGIN_DAEMON_URL in the .en file to http://plugin_daemon:5002
2、Add no_proxy=localhost,127.0.0.1,db,redis,plugin_daemon,api to the .env file.
3. In the docker-compose.xml file, under "image: langgenius/dify-api:1.11.1" and in the "environment" section, add no_proxy: ${no_proxy}.

Version: dify-main langgenius/dify-plugin-daemon:0.5.2-local

@kuman62 commented on GitHub (Dec 22, 2025): I solved the problem using the following method. 1、Modify the value of PLUGIN_DAEMON_URL in the .en file to http://plugin_daemon:5002 2、Add `no_proxy=localhost,127.0.0.1,db,redis,plugin_daemon,api` to the `.env` file. 3. In the docker-compose.xml file, under "image: langgenius/dify-api:1.11.1" and in the "environment" section, add `no_proxy: ${no_proxy}`. Version: dify-main langgenius/dify-plugin-daemon:0.5.2-local
Author
Owner

@zp96324511 commented on GitHub (Dec 30, 2025):

启动dify-api服务时,检查当前bash上下文环境变量是否存在http_proxy等代理配置,unset掉就行了。受到楼上同学的启发,我是这样解决的。

@zp96324511 commented on GitHub (Dec 30, 2025): 启动dify-api服务时,检查当前bash上下文环境变量是否存在http_proxy等代理配置,unset掉就行了。受到楼上同学的启发,我是这样解决的。
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#148