-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Image file not deleted when a doc is removed #9541
Comments
The issue you're experiencing, where image files are not deleted when a document is removed, might be related to the cleanup process not being triggered or executed correctly. The function responsible for cleaning up associated files when a document is deleted is Here are a few things you might want to check or try:
If these steps don't resolve the issue, it might require a deeper investigation into the code or configuration of your Dify instance. |
You need to run |
@crazywoola We're uploading documents from local disk instead of Notion. When deleting a doc in the web, the doc in "uplaod_files" folder is deleted, but image files extrating from the doc remains in "image_files" folder. Please reopen this issue. |
Signed-off-by: root <[email protected]>
Signed-off-by: root <[email protected]> Co-authored-by: root <[email protected]>
… (langgenius#10465) Signed-off-by: root <[email protected]> Co-authored-by: root <[email protected]>
Co-authored-by: root <[email protected]>
Self Checks
Dify version
0.9.2
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
✔️ Expected Behavior
Image files in the docx file should be deleted
❌ Actual Behavior
Image files in the docx file not deleted
The text was updated successfully, but these errors were encountered: