mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[ERROR]plugin langgenius/ollama:0.0.3 exited with error: signal: killed #50
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wyanghu on GitHub (Mar 9, 2025).
Self Checks
Dify version
1.0
Plugin version
ollama 0.0.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
After installing the 1.0 standard version, an error “can’t start new thread” occurred during document vectorization. To resolve this issue, we followed the solution suggested on GitHub and replaced the plugin image with:langgenius/dify-plugin-daemon:942d694206a1972ae0addd2286a021b62390a8b6-local,After the replacement, several abnormal issues were observed, including:
The web page becomes unresponsive for a long time when adding a vector model, with no error messages displayed on the web page.
Occasionally, the model can be added successfully, but clicking the “Show Model” button does not display it.
Sometimes the model is visible, but it does not appear in the “System Model Settings,” as shown in the screenshot below.

To resolve this issue, I have tried the following methods:
Upgraded the Ollama version to the latest (0.5.13).
Used Xinference to configure the vector model, but the issue still occurred.
Followed a GitHub suggestion: added the PYTHON_ENV_INIT_TIMEOUT environment variable to the docker-compose.yaml file under the plugin_daemon service configuration to extend the default 120-second timeout period to 320 seconds.
Followed another GitHub suggestion: added the following environment variable to the .env file to specify the plugin working path: PLUGIN_WORKING_PATH=/app/cwd.
As of March 9, I have used the latest commit version, but the issue remains the same.
✔️ Error log
When this issue occurs, I can only see the following error logs:
plugin_daemon-1 | [GIN] 2025/03/09 - 13:44:45 | 200 | 709.689µs | 172.19.0.8 | GET "/plugin/08a6f679-64b3-4c2a-9b5c-c181ff40912d/management/models?page=1&page_size=256"
sandbox-1 | [GIN] 2025/03/09 - 13:45:14 | 200 | 23.72µs | ::1 | GET "/health"
plugin_daemon-1 | 2025/03/09 13:45:38 run.go:131: [ERROR]plugin langgenius/ollama:0.0.3 exited with error: signal: killed
plugin_daemon-1 | 2025/03/09 13:45:38 run.go:186: [INFO]plugin langgenius/ollama:0.0.3 stopped
plugin_daemon-1 | 2025/03/09 13:45:43 run.go:143: [INFO]plugin langgenius/ollama:0.0.3 started
plugin_daemon-1 | 2025/03/09 13:45:43 stdio_handle.go:117: [INFO]plugin langgenius/ollama:0.0.3: Installed model: ollama