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 (我已阅读并同意 Language Policy).
[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
Please do not modify this template :) and fill in all the required fields.
Dify version
v1.0.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Hi,
I installed Dify v1.0.1 in a offline env which means it can not connect to internet directly. I download ollama plugin from marketplace and install the plugin from my pc. During the installation it get the following error.
plugin_daemon_1 | 2025/03/14 19:30:44 runtime_lifetime.go:76: [ERROR]init environment failed: failed to install dependencies: signal: killed, output: init process exited due to no activity for 120 seconds, retry in 30s
I thought It was becuase there is no dependencies in the docker env. So is that means the latest version can not be used in the offline system?
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered:
For your specific issue, the error you're encountering is likely due to missing dependencies in the Docker environment, which is a known limitation when using Dify offline. To resolve this, you can follow these steps:
Simulate Installation with Network Access: On a machine with internet access, simulate the plugin installation to gather all necessary dependencies.
Package the Plugin: Ensure your plugin is packaged into a .difypkg file. This allows for manual upload and installation in offline environments.
Create a Docker Image: Use a multi-stage Docker build process to create an image that includes the installed plugin and all its dependencies.
Transfer the Docker Image: Export and transfer this Docker image to your offline environment.
Load the Image: Load the image in the offline environment.
Configure Docker-Compose: Use this image in your docker-compose configuration to ensure all dependencies are available [4].
This approach should help you install the plugin without requiring internet access.
Self Checks
Dify version
v1.0.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Hi,
I installed Dify v1.0.1 in a offline env which means it can not connect to internet directly. I download ollama plugin from marketplace and install the plugin from my pc. During the installation it get the following error.
I thought It was becuase there is no dependencies in the docker env. So is that means the latest version can not be used in the offline system?
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: