问题

直接下载这个没用,这个相当于只是一个目录,里面很多内容和依赖,需要一起打包。具体过程如下。
过程
先把目录下载下来在外网机将插件相关依赖都打包好。关键是dify-plugin模块,

下载dify-plugin-repackaging代码
项目地址:https://github.com/junjiem/dify-plugin-repackaging
解压拷贝到此镜像里面。
bash
/app/storage/plugin_packages
将langgenius-ollama_0.1.2.difypkg下载后,拷贝到此镜像里面/app/storage/plugin_packages/dify-plugin-repackaging
进入此镜像
bash
docker exec -it 09 /bin/bash
cd /app/storage/plugin_packages/dify-plugin-repackaging
安装好unzip
bash
apt update && apt install -y unzip
最终执行
bash
bash ./plugin_repackaging.sh local langgenius-ollama_0.1.2.difypkg
出现成功的标志

会生成offline,拷出来

放到内网,用网页,直接内网界面安装即可。