I've been getting an error adding a knowledge base #8702

Closed
opened 2026-02-21 18:27:06 -05:00 by yindo · 2 comments
Owner

Originally created by @debugxu on GitHub (Feb 27, 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.0.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

✔️ Expected Behavior

I've been getting an error adding a knowledge base,I can't find where the run logs for dify are, I'm using linux and I get this error after importing files from the knowledge base for indexing,I can't find where the run logs for dify are, I'm using linux and I get this error after importing files from the knowledge base for indexing

Actual Behavior

No response

Originally created by @debugxu on GitHub (Feb 27, 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.0.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/9f125647-e0e5-4010-80f3-06fe1d606609) ### ✔️ Expected Behavior I've been getting an error adding a knowledge base,I can't find where the run logs for dify are, I'm using linux and I get this error after importing files from the knowledge base for indexing,I can't find where the run logs for dify are, I'm using linux and I get this error after importing files from the knowledge base for indexing ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-21 18:27:06 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 27, 2025):

@xu3014148007 Hello there! I'm here to assist you with any bugs, questions, or contributions you might have for Dify. I'll help you out while we wait for a human maintainer to join the conversation. Let's squash that bug together! 🐞

I found some similar threads that might be helpful:

  1. An open issue discusses a vector database connection error when creating a knowledge base. The suggested solutions include checking the configuration settings for the vector database, ensuring the vector database service is running and healthy, and verifying Docker network settings [1].

  2. Another closed issue provides a detailed solution for resolving vector database connection errors. It suggests modifying environment variables, running a migration command, and checking the health of the vector database service [2].

For setting up and troubleshooting vector database connections, you can refer to the Dify documentation in the jp/getting-started/install-self-hosted/environments.md file. This file provides configuration settings for various vector databases [3].

Unfortunately, I couldn't find specific information about where to find the run logs for Dify in a self-hosted setup on Linux. You might want to check typical log directories or the Docker container logs for any relevant information.

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 (Feb 27, 2025): <!-- Greeting --> @xu3014148007 Hello there! I'm here to assist you with any bugs, questions, or contributions you might have for Dify. I'll help you out while we wait for a human maintainer to join the conversation. Let's squash that bug together! 🐞 <!-- Answer --> I found some similar threads that might be helpful: 1. An open issue discusses a vector database connection error when creating a knowledge base. The suggested solutions include checking the configuration settings for the vector database, ensuring the vector database service is running and healthy, and verifying Docker network settings <sup>[[1]](https://github.com/langgenius/dify/issues/12960)</sup>. 2. Another closed issue provides a detailed solution for resolving vector database connection errors. It suggests modifying environment variables, running a migration command, and checking the health of the vector database service <sup>[[2]](https://github.com/langgenius/dify/issues/9364)</sup>. For setting up and troubleshooting vector database connections, you can refer to the Dify documentation in the `jp/getting-started/install-self-hosted/environments.md` file. This file provides configuration settings for various vector databases <sup>[[3]](https://github.com/langgenius/dify-docs/blob/main/jp/getting-started/install-self-hosted/environments.md)</sup>. Unfortunately, I couldn't find specific information about where to find the run logs for Dify in a self-hosted setup on Linux. You might want to check typical log directories or the Docker container logs for any relevant information. <!-- 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/c170fabd-22fe-443b-bd3f-5cefe4d91275?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/c170fabd-22fe-443b-bd3f-5cefe4d91275?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/c170fabd-22fe-443b-bd3f-5cefe4d91275?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/c170fabd-22fe-443b-bd3f-5cefe4d91275?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c170fabd-22fe-443b-bd3f-5cefe4d91275?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/c170fabd-22fe-443b-bd3f-5cefe4d91275?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c170fabd-22fe-443b-bd3f-5cefe4d91275?feedback_type=other)</sup>
Author
Owner

@crazywoola commented on GitHub (Feb 27, 2025):

We haven't released v1.0.0 yet. And you should check the vector database as well.

@crazywoola commented on GitHub (Feb 27, 2025): We haven't released v1.0.0 yet. And you should check the vector database as well.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#8702