Plugin works in debug mode but fails to install as .difypkg (Internal Server Error)
Dify version: 1.13.3 (self-hosted Docker Compose)
Plugin daemon version: 0.5.4
Description
I’m developing a model provider plugin for OVH AI Endpoints (source: GitHub - rungeard/dify_ovh_ai_endpoints: Dify plugin for OVH AI Endpoints with predefined LLM, Embeddings, Speech-to-Text, and Text-to-Speech models. · GitHub ).
When I run the plugin in remote debug mode (as described in the official docs), everything works perfectly — the plugin connects, models are installed, and no errors are thrown.
However, when I package the plugin into a .difypkg file and try to install it via the Dify UI (local file upload), I consistently get an Internal Server Error.
difypkg file → https://jirafeau.rungeard.eu/f.php?h=2X9KtIFs&d=1
What I’ve tried
- Set
FORCE_VERIFYING_SIGNATURE=falseandENFORCE_LANGGENIUS_PLUGIN_SIGNATURES=falsein.env - Ensured all files use LF line endings (not CRLF)
What the logs show
The upload succeeds (HTTP 200), but the subsequent decode/from_identifier call returns 400:
plugin_daemon | record not found
SELECT * FROM "plugin_declarations" WHERE plugin_unique_identifier = 'rungeard/ovh_ai_endpoints:0.0.1@...' LIMIT 1
The plugin_declarations table remains empty after every upload attempt. It seems the daemon successfully stores the package file but never registers it in the database, causing the decode step to fail.
Question
Is there a known issue with local .difypkg installation on plugin daemon? Could there be a validation step between upload/package and decode/from_identifier that silently rejects the package without logging a meaningful error?
Any help appreciated!