How to install pkg offline? #27814
Replies: 3 comments 3 replies
-
|
To install a Dify plugin offline, you need to prepare a plugin package that includes all its dependencies, since the default install process tries to fetch them from the internet (like PyPI), which fails without connectivity. The recommended workflow is:
Note: Copying only plugin files or the There is no built-in automated way to convert remote dependencies to local ones; the plugin bundle must be complete and self-contained for offline installation (details). To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
I've bundled a .difypkg file. However it stuck when upload from local. Maybe I could upload the difypkg file manually to the server. So what path should I uplaod the difypkg file to so that dify can find it? |
Beta Was this translation helpful? Give feedback.
-
|
I Uploaded in Dify UI. However I found an error in the browser's request. The browser requests 'http://10.142.157.36:8080/dify/console/api/workspaces/current/plugin/upload/pkg'. It failed with a status '(failed)net::ERR_CONTENT_LENGTH_MISMATCH'. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
How to install a plugin offline for the 2 nginx layer condition?
I upload a local difypakg and click install. The plugin docker raised an error:
Seems it was installing dependencies online, but the server does not have internet. Can I install everything on a machine with internet and then upload everything once to the server?
Beta Was this translation helpful? Give feedback.
All reactions