Skip to content

Bug: Plugin load/install error when importing DSL with plugins (self-hosted Docker) #30483

@erbanku

Description

@erbanku

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • 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, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.11.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Important

@crazywoola Please DO NOT mark this as a duplicate or close it right away. I’ve searched extensively, and while similar issues exist, this one is different.

  1. Importing a DSL file with plugins included
  2. Plugins are not installed automatically
  3. UI shows 'Plugin load error' for each plugin (see screenshot)
  4. Checked history issues and can't find any issue to solve this

Bug log in API container:

[GIN] 2026/01/03 - 15:36:39 | 200 |    2.041321ms |      172.18.0.2 | POST     "/plugin/526cbb9c-ffec-4d93-812a-6b4f81c917b9/dispatch/model/schema"

2026/01/03 15:37:03 /app/internal/db/executor.go:259 record not found
[0.800ms] [rows:0] SELECT * FROM "tool_installations" WHERE tenant_id = '526cbb9c-ffec-4d93-812a-6b4f81c917b9' AND plugin_id = 'langgenius/tavily' ORDER BY "tool_installations"."id" LIMIT 1
[GIN] 2026/01/03 - 15:37:03 | 200 |    1.023592ms |      172.18.0.2 | GET      "/plugin/526cbb9c-ffec-4d93-812a-6b4f81c917b9/management/tool?provider=tavily&plugin_id=langgenius%2Ftavily"

2026/01/03 15:37:03 /app/internal/db/executor.go:259 record not found
[0.397ms] [rows:0] SELECT * FROM "tool_installations" WHERE tenant_id = '526cbb9c-ffec-4d93-812a-6b4f81c917b9' AND plugin_id = 'langgenius/json_process' ORDER BY "tool_installations"."id" LIMIT 1
[GIN] 2026/01/03 - 15:37:03 | 200 |     557.369µs |      172.18.0.2 | GET      "/plugin/526cbb9c-ffec-4d93-812a-6b4f81c917b9/management/tool?provider=json_process&plugin_id=langgenius%2Fjson_process"

2026/01/03 15:37:04 /app/internal/db/executor.go:259 record not found
[0.348ms] [rows:0] SELECT * FROM "tool_installations" WHERE tenant_id = '526cbb9c-ffec-4d93-812a-6b4f81c917b9' AND plugin_id = 'langgenius/json_process' ORDER BY "tool_installations"."id" LIMIT 1
Plugin load error screenshot

✔️ Expected Behavior

Plugins in imported DSL files should be installed automatically, without manual intervention or errors.

❌ Actual Behavior

Plugins are not installed, and a modal shows repeated 'Plugin load error' messages for each plugin when importing DSL files that contain plugins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closed🐞 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions