Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perpetual queue for uploading a document to the knowledge base #11911

Open
5 tasks done
larkinmd7 opened this issue Dec 20, 2024 · 2 comments
Open
5 tasks done

Perpetual queue for uploading a document to the knowledge base #11911

larkinmd7 opened this issue Dec 20, 2024 · 2 comments
Assignees
Labels
🐞 bug Something isn't working

Comments

@larkinmd7
Copy link

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

0.13.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

image previously uploaded documents, they were uploaded immediately and were available within 1-2 minutes. Now for some reason the documents are loaded immediately, but are constantly in the queue, without changes, although the document is the same, the settings are the same, I do not understand why this happens, what should I check to fix this bug?

✔️ Expected Behavior

❌ Actual Behavior

@dosubot dosubot bot added the 🐞 bug Something isn't working label Dec 20, 2024
Copy link

dosubot bot commented Dec 20, 2024

I found some similar threads that might help you resolve the issue of documents remaining perpetually queued in the Dify knowledge base:

  1. Documents in queue: This issue was resolved by modifying the .env file to set the LOG_FILE path, which helped in diagnosing the problem [1].

  2. Queuing doesn't stop at Dify: This is an open discussion where users are experiencing similar issues with documents being stuck in the queue [2].

  3. 我添加的知识库的文件一直是在排队中是怎么回事啊?: Another open discussion about files remaining in the queue [3].

To address your issue, consider the following steps:

  • Rate Limit for Embedding Model API Key: Check if the rate limit for your Embedding model API key has been reached, as this can cause documents to remain queued [4].

  • Celery Worker Service: Ensure the Celery worker service is running correctly. You can start it with docker compose up -d worker and check the logs for any errors [4].

  • Service Status: Verify that all necessary services are running using docker compose ps. Ensure services like api, worker, web, weaviate, db, redis, and nginx are all up [4].

  • Pending Processes and Configuration: Check for any pending segmentation or embedding processes, and ensure all dependencies and services like db and redis are running smoothly [4].

These steps should help resolve the issue of documents being stuck in the queued state.

To continue talking to Dosu, mention @dosu.


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

@crazywoola
Copy link
Member

Can you attach those documents?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants