dify icon indicating copy to clipboard operation
dify copied to clipboard

Knowledge base stays in queing mode, nothing happens

Open JanvanHout opened this issue 2 years ago • 5 comments

Self Checks

  • [X] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [X] Please do not modify this template :) and fill in all the required fields.

Dify version

0.8.3

Cloud or Self Hosted

Cloud

Steps to reproduce

Create New knowledge base and upload file (or files). File upload will segment and index will stay in Queue.

✔️ Expected Behavior

creating a working knowledge base, It should complete segmentation and indexing

❌ Actual Behavior

knowledgebase file segment and index stays in Queue. Dont't get completed, even with 'top-priority'

JanvanHout avatar Oct 07 '24 14:10 JanvanHout

Hello @JanvanHout! I'm here to assist you with any bugs, questions, or contributions you may have. Let's work together to resolve the issue you're experiencing.

I found some similar issues and discussions regarding knowledge base files staying in the queue in Dify:

  1. Open Issue: Knowledgebase upload file stay in Queue - This issue suggests checking for pending segmentation or embedding processes, resource limitations, and configuration issues. It also recommends checking server logs for warnings or errors and ensuring all dependencies and services like db and redis are running smoothly [1].

  2. Closed Issue: Knowledge base problem: Uploaded files are queued - This issue was resolved by syncing the environment variable configuration. It involves updating the local .env file to match any new variables or changes in the .env.example file, ensuring encryption keys are correctly set up, and verifying that all necessary services are running correctly [2].

  3. Closed Issue: The knowledge base files have been waiting in line since they were uploaded. - The solution involved starting the asynchronous queue worker by setting the MODE environment variable to worker in the Docker setup and checking the rate limits for the Embedding model API key [3].

These solutions might help you resolve the issue with your knowledge base files staying in the queue.

To continue talking to Dosu, mention @dosu.

dosubot[bot] avatar Oct 07 '24 14:10 dosubot[bot]

Our issue is regarding the (payed) Cloud version of Dify....

JanvanHout avatar Oct 07 '24 14:10 JanvanHout

Fixed.

crazywoola avatar Oct 08 '24 00:10 crazywoola

nope, worked for a couple of hours. Is now again 'hanging' in queuing.... (it did "work" for a couple of hours....)

JanvanHout avatar Oct 08 '24 08:10 JanvanHout

Hi,

Unfortunately it doesn't work. It isn't fixed?

Regards,

Jan van Hout

Van: crazywoola @.> Verzonden: dinsdag 8 oktober 2024 02:48 Aan: langgenius/dify @.> CC: Jan van Hout | Van Hout @.>; Mention @.> Onderwerp: Re: [langgenius/dify] Knowledge base stays in queing mode, nothing happens (Issue #9050)

U ontvangt niet vaak e-mail van @.*** Ontdek waarom dit belangrijk ishttps://aka.ms/LearnAboutSenderIdentification

Fixed.

Reply to this email directly, view it on GitHubhttps://github.com/langgenius/dify/issues/9050#issuecomment-2398325097, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDMRFM2GYIUJDA7TYU6IGTLZ2MTSFAVCNFSM6AAAAABPQEDX26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJYGMZDKMBZG4. You are receiving this because you were mentioned.Message ID: @.***>

JanvanHout avatar Oct 08 '24 08:10 JanvanHout