The model list in the Settings disappears #13399

Closed
opened 2026-02-21 19:11:59 -05:00 by yindo · 5 comments
Owner

Originally created by @wang-haodong on GitHub (Apr 26, 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 search for existing issues, 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.3.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

Image

Image

Image

Everything was fine before and nothing was changed. But today, all of a sudden, the model and tools are gone and can't be used. I've tried deleting the plugin and adding new ones, and also tried restarting, but none of them worked

✔️ Expected Behavior

yes

Actual Behavior

no

Originally created by @wang-haodong on GitHub (Apr 26, 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 [search for existing issues](https://github.com/langgenius/dify/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.3.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/d12ed160-4ec0-49f7-b227-627b952d6ea4) ![Image](https://github.com/user-attachments/assets/ae1a9fa8-2e1b-4eb1-8bfb-8b7618543565) ![Image](https://github.com/user-attachments/assets/9c04dca4-0393-4bc6-ac8d-ae26a999e994) ![Image](https://github.com/user-attachments/assets/4ea13b16-b577-47f5-b770-b8be2dc69600) Everything was fine before and nothing was changed. But today, all of a sudden, the model and tools are gone and can't be used. I've tried deleting the plugin and adding new ones, and also tried restarting, but none of them worked ### ✔️ Expected Behavior yes ### ❌ Actual Behavior no
yindo added the 🤔 cant-reproduce label 2026-02-21 19:11:59 -05:00
yindo closed this issue 2026-02-21 19:11:59 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Apr 26, 2025):

I found some similar threads that might be relevant to your issue:

  1. Plugin inputs are not showing up and I can't add any new tool node - This discussion is open and might have insights related to plugin issues [1].
  2. Help! can not access set up model provider - This discussion is open and addresses issues with accessing model provider setup [2].

Regarding the disappearance of the model list in the Dify settings interface, there are a few common causes and solutions:

  1. Model Provider Installation: Ensure that a model provider is installed from the marketplace. Simply configuring the OPENAI_API_BASE in the .env file is not enough; you must install and configure a provider through the Settings -- Model Providers page [3].

  2. Ollama Models Timeout: If you are using Ollama models with Dify versions 1.0.0-1.3.0, the model list may disappear after upgrading or restarting Dify services due to a timeout issue. You need to wait approximately 2 hours after the update/restart for the models to reappear in the list [4].

  3. Self-hosted Docker Bug: In Dify v1.0.1, there was a bug where the Rerank model selection disappeared after restarting the application. This issue has been fixed in a subsequent update, so updating to a newer version of Dify that includes this fix will resolve the problem [5].

Additionally, ensure that your environment configurations are set correctly, such as POSITION_PROVIDER_PINS, POSITION_PROVIDER_INCLUDES, and POSITION_PROVIDER_EXCLUDES, to customize the visibility and order of model providers [6].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Apr 26, 2025): <!-- Answer --> I found some similar threads that might be relevant to your issue: 1. [Plugin inputs are not showing up and I can't add any new tool node](https://github.com/langgenius/dify/discussions/17613) - This discussion is open and might have insights related to plugin issues <sup>[[1]](https://github.com/langgenius/dify/discussions/17613)</sup>. 2. [Help! can not access set up model provider](https://github.com/langgenius/dify/discussions/10858) - This discussion is open and addresses issues with accessing model provider setup <sup>[[2]](https://github.com/langgenius/dify/discussions/10858)</sup>. Regarding the disappearance of the model list in the Dify settings interface, there are a few common causes and solutions: 1. **Model Provider Installation**: Ensure that a model provider is installed from the marketplace. Simply configuring the `OPENAI_API_BASE` in the `.env` file is not enough; you must install and configure a provider through the Settings -- Model Providers page <sup>[[3]](https://github.com/langgenius/dify/issues/15427)</sup>. 2. **Ollama Models Timeout**: If you are using Ollama models with Dify versions 1.0.0-1.3.0, the model list may disappear after upgrading or restarting Dify services due to a timeout issue. You need to wait approximately 2 hours after the update/restart for the models to reappear in the list <sup>[[4]](https://github.com/langgenius/dify/issues/18505)</sup>. 3. **Self-hosted Docker Bug**: In Dify v1.0.1, there was a bug where the Rerank model selection disappeared after restarting the application. This issue has been fixed in a subsequent update, so updating to a newer version of Dify that includes this fix will resolve the problem <sup>[[5]](https://github.com/langgenius/dify/issues/15842)</sup>. Additionally, ensure that your environment configurations are set correctly, such as `POSITION_PROVIDER_PINS`, `POSITION_PROVIDER_INCLUDES`, and `POSITION_PROVIDER_EXCLUDES`, to customize the visibility and order of model providers <sup>[[6]](https://github.com/langgenius/dify-docs/blob/main/jp/getting-started/install-self-hosted/environments.md)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/6cc128d4-d380-4691-afdb-b155eb83b8c7?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/6cc128d4-d380-4691-afdb-b155eb83b8c7?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/6cc128d4-d380-4691-afdb-b155eb83b8c7?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/6cc128d4-d380-4691-afdb-b155eb83b8c7?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/6cc128d4-d380-4691-afdb-b155eb83b8c7?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/6cc128d4-d380-4691-afdb-b155eb83b8c7?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/6cc128d4-d380-4691-afdb-b155eb83b8c7?feedback_type=other)</sup>
Author
Owner

@crazywoola commented on GitHub (Apr 26, 2025):

Which steps did you performed, I am sure we will not delete anything from, maybe it's related to the upgrade process.

@crazywoola commented on GitHub (Apr 26, 2025): Which steps did you performed, I am sure we will not delete anything from, maybe it's related to the upgrade process.
Author
Owner

@wang-haodong commented on GitHub (Apr 26, 2025):

I modified some env configurations and added an OSS upload method. Logically, it shouldn't affect this area

@wang-haodong commented on GitHub (Apr 26, 2025): I modified some env configurations and added an OSS upload method. Logically, it shouldn't affect this area
Author
Owner

@wang-haodong commented on GitHub (Apr 26, 2025):

Which steps did you performed, I am sure we will not delete anything from, maybe it's related to the upgrade process.

It's fine now. After I restarted the standard env file I used again, everything was restored. Then I configured aliyun-oss in the original way, and it was done. But I can't explain why this happened. Logically, this configuration shouldn't affect the normal use of the plugin

@wang-haodong commented on GitHub (Apr 26, 2025): > Which steps did you performed, I am sure we will not delete anything from, maybe it's related to the upgrade process. It's fine now. After I restarted the standard env file I used again, everything was restored. Then I configured aliyun-oss in the original way, and it was done. But I can't explain why this happened. Logically, this configuration shouldn't affect the normal use of the plugin
Author
Owner

@crazywoola commented on GitHub (Apr 26, 2025):

I see it seems you need to sync the changed env variables in .env.

@crazywoola commented on GitHub (Apr 26, 2025): I see it seems you need to sync the changed env variables in `.env`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13399