You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, @XM-LEES! I'm here to help you with any bugs or questions you have. Let's work together to solve the issue you're facing.
I found a similar unsolved discussion regarding a document being stuck in the queue with an error message indicating that none of PyTorch, TensorFlow >= 2.0, or Flax have been found [1]. This might be related to the issue you're experiencing.
For the "Internal Server Error" when modifying or deleting a knowledge base in Dify, here are some potential causes and solutions:
Missing ML Frameworks: The log indicates that none of PyTorch, TensorFlow, or Flax are found. Ensure these frameworks are installed in your Docker environment. You can add them to your Dockerfile or requirements.txt and rebuild your Docker images [2].
Celery Configuration: The error log shows a KeyError related to "No such transport." This suggests an issue with the Celery broker URL configuration. Verify that the CELERY_BROKER_URL is correctly set in your environment configuration. The format should be appropriate for your setup, whether using a direct connection or Sentinel mode [3].
Celery Worker: Ensure that the Celery worker service is running properly, as it handles tasks related to the knowledge base. Check the worker logs for any errors and confirm that all necessary services are up and running [4].
By addressing these areas, you may resolve the internal server error and document processing issues.
Self Checks
Dify version
0.14.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
upload documents
select Automatic Chunk and economical index mode
save & process
2.delete knowledge base
select delete and confim
✔️ Expected Behavior
remove the knowledge base successfully
❌ Actual Behavior
All the documents are in processing quene, it will raise internal sever error when deleting knowledge
Here's a section of the log recurring after container starting
The text was updated successfully, but these errors were encountered: