You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.17.0
Cloud or Self Hosted
Self Hosted (Source), Self Hosted (Docker)
Steps to reproduce
After installing the Dify 1.17.0 version, the model plugins in the integration management are unusable. The models cannot be loaded and the default models cannot be configured.
✔️ Expected Behavior
Model plugin, model loaded normally
❌ Actual Behavior
After installing the Dify 1.17.0 version, the model plugins in the integration management are unusable. The models cannot be loaded and the default models cannot be configured.
@xtiqny This is most likely a plugin daemon version mismatch. The Dify 1.17.0 API calls category-specific plugin daemon endpoints (e.g. management/model/list, management/models/bindings) that don't exist in older daemon images. When the daemon returns 404 for those routes, the model provider page fails to load entirely. This same issue was reported and confirmed for 1.16.1 in #40683.
The correct plugin daemon image for 1.17.0 is langgenius/dify-plugin-daemon:0.6.10-local[1]. This was bumped from 0.6.3-local specifically because the API now requires daemon endpoints that older images don't support.
Steps to fix (Docker deployment):
Check your current daemon version:
docker compose images plugin_daemon
If it's not 0.6.10-local, update your docker-compose.yaml:
image: langgenius/dify-plugin-daemon:0.6.10-local
Then pull and restart:
docker compose pull plugin_daemon
docker compose up -d plugin_daemon
If the daemon is already at 0.6.10-local, clear stale Redis plugin state — this resolves "no available node, plugin runtime not found" errors [2]:
docker compose down
docker compose up redis -d
docker compose exec redis redis-cli FLUSHALL
docker compose up -d
Then wait ~60 seconds for all plugins to finish initializing before opening the model provider page.
Also verify that PLUGIN_DAEMON_KEY and PLUGIN_DIFY_INNER_API_KEY match between the api and plugin_daemon containers — mismatched keys can produce similar symptoms [3]:
For source installs, make sure you're running the plugin daemon binary that matches the 1.17.0 release rather than a previously installed version.
Could you share the output of docker compose images plugin_daemon and any relevant errors from docker compose logs api 2>&1 | grep -i "plugin\|404\|error" | tail -30? That would help confirm the exact cause.
The model with the previous configuration was stored in the database with the old enumeration value "text-generation". When version 1.17.0 was released, it removed this enumeration value but did not automatically migrate the old data. As a result, it crashed when read.
The model-type canonicalization was intentional, but the missing upgrade instruction was my mistake. Legacy model types had already caused several compatibility issues, including #34365, #34471, and #36426. Supporting both legacy and canonical values is not just a matter of accepting an enum alias: it also affects ORM query binding, uniqueness conflicts, credential references, and load-balancing configurations. The one-time migration introduced in #36520 was intended to converge existing data safely and reduce this long-term maintenance burden.
However, I failed to include the migration step in the v1.15.0 and v1.16.x release notes. As a result, installations that carried legacy values forward could fail after upgrading to v1.17.0. I’m sorry for the inconvenience and confusion this caused.
We have now amended the release notes for v1.15.0, v1.16.0, v1.16.1, and v1.17.0. If your deployment was upgraded from a version earlier than v1.15.0 and the migration has not been applied, please back up your database and follow the updated instructions:
Activity
dosubot commentedon Aug 26, 2026
@xtiqny This is most likely a plugin daemon version mismatch. The Dify 1.17.0 API calls category-specific plugin daemon endpoints (e.g.
management/model/list,management/models/bindings) that don't exist in older daemon images. When the daemon returns 404 for those routes, the model provider page fails to load entirely. This same issue was reported and confirmed for 1.16.1 in #40683.The correct plugin daemon image for 1.17.0 is
langgenius/dify-plugin-daemon:0.6.10-local[1]. This was bumped from0.6.3-localspecifically because the API now requires daemon endpoints that older images don't support.Steps to fix (Docker deployment):
Check your current daemon version:
If it's not
0.6.10-local, update yourdocker-compose.yaml:Then pull and restart:
If the daemon is already at
0.6.10-local, clear stale Redis plugin state — this resolves"no available node, plugin runtime not found"errors [2]:docker compose down docker compose up redis -d docker compose exec redis redis-cli FLUSHALL docker compose up -dThen wait ~60 seconds for all plugins to finish initializing before opening the model provider page.
Also verify that
PLUGIN_DAEMON_KEYandPLUGIN_DIFY_INNER_API_KEYmatch between theapiandplugin_daemoncontainers — mismatched keys can produce similar symptoms [3]:For source installs, make sure you're running the plugin daemon binary that matches the 1.17.0 release rather than a previously installed version.
Could you share the output of
docker compose images plugin_daemonand any relevant errors fromdocker compose logs api 2>&1 | grep -i "plugin\|404\|error" | tail -30? That would help confirm the exact cause.To reply, just mention @dosu.
Docs are dead. Just use Dosu.
whoareme12322 commentedon Aug 26, 2026
@dosu
xtiqny commentedon Aug 26, 2026
The model with the previous configuration was stored in the database with the old enumeration value "text-generation". When version 1.17.0 was released, it removed this enumeration value but did not automatically migrate the old data. As a result, it crashed when read.
dosubot commentedon Aug 26, 2026
fix(api): avoid getattr when mapping legacy model types
wuyingfeng1998 commentedon Aug 26, 2026
zhangyuqiz commentedon Aug 26, 2026
laipz8200 commentedon Aug 26, 2026
This issue was caused by an upstream enum value change. We will provide automated migration tools as soon as possible.
QuantumGhost commentedon Sep 1, 2026
Sorry for the disruption this caused.
The model-type canonicalization was intentional, but the missing upgrade instruction was my mistake. Legacy model types had already caused several compatibility issues, including #34365, #34471, and #36426. Supporting both legacy and canonical values is not just a matter of accepting an enum alias: it also affects ORM query binding, uniqueness conflicts, credential references, and load-balancing configurations. The one-time migration introduced in #36520 was intended to converge existing data safely and reduce this long-term maintenance burden.
However, I failed to include the migration step in the v1.15.0 and v1.16.x release notes. As a result, installations that carried legacy values forward could fail after upgrading to v1.17.0. I’m sorry for the inconvenience and confusion this caused.
We have now amended the release notes for v1.15.0, v1.16.0, v1.16.1, and v1.17.0. If your deployment was upgraded from a version earlier than v1.15.0 and the migration has not been applied, please back up your database and follow the updated instructions:
https://github.com/langgenius/dify/releases/tag/1.17.0#model-type-migration
This migration is separate from
flask db upgrade. The command runs in dry-run mode by default; review its output before rerunning it with--apply.