[ERROR]plugin langgenius/ollama:0.0.3 exited with error: signal: killed #50

Closed
opened 2026-02-16 10:17:53 -05:00 by yindo · 0 comments
Owner

Originally created by @wyanghu on GitHub (Mar 9, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • 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

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:

  1. The web page becomes unresponsive for a long time when adding a vector model, with no error messages displayed on the web page.

  2. Occasionally, the model can be added successfully, but clicking the “Show Model” button does not display it.

  3. Sometimes the model is visible, but it does not appear in the “System Model Settings,” as shown in the screenshot below.
    Image
    To resolve this issue, I have tried the following methods:

  4. Upgraded the Ollama version to the latest (0.5.13).

  5. Used Xinference to configure the vector model, but the issue still occurred.

  6. 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.

  7. Followed another GitHub suggestion: added the following environment variable to the .env file to specify the plugin working path: PLUGIN_WORKING_PATH=/app/cwd.

  8. 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

Image Image
Originally created by @wyanghu on GitHub (Mar 9, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### 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: 1. The web page becomes unresponsive for a long time when adding a vector model, with no error messages displayed on the web page. 2. Occasionally, the model can be added successfully, but clicking the “Show Model” button does not display it. 3. Sometimes the model is visible, but it does not appear in the “System Model Settings,” as shown in the screenshot below. <img width="593" alt="Image" src="https://github.com/user-attachments/assets/b3ff62d7-3d32-4e7b-b597-0e4ec5ee4296" /> To resolve this issue, I have tried the following methods: 1. Upgraded the Ollama version to the latest (0.5.13). 2. Used Xinference to configure the vector model, but the issue still occurred. 3. 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. 4. Followed another GitHub suggestion: added the following environment variable to the .env file to specify the plugin working path: PLUGIN_WORKING_PATH=/app/cwd. 5. 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 <img width="1928" alt="Image" src="https://github.com/user-attachments/assets/a52b8e1b-6bd1-4588-9fb5-42b810d75d80" /> <img width="1335" alt="Image" src="https://github.com/user-attachments/assets/6e79aefc-0075-4052-a237-81b2e13e2d75" />
yindo added the bug label 2026-02-16 10:17:53 -05:00
yindo closed this issue 2026-02-16 10:17:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#50