Uploaded files accumulating in '\volume\app\storage\uploaded_files' #7559

Closed
opened 2026-02-21 18:21:11 -05:00 by yindo · 11 comments
Owner

Originally created by @ByungsunAhn on GitHub (Jan 7, 2025).

Self Checks

  • 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.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

Uploaded files during chat are located in ..\docker\volume\app\storage\uploaded_files.
Those files seems to be accumulated without a way for them to be accessed or can be deleted from the webpage.

My suggestion for feature is storage access in the monitoring section of the studio app or by the administrator.
Or option to auto-delete option in .env file after a few days of inactivity.

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @ByungsunAhn on GitHub (Jan 7, 2025). ### Self Checks - [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. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. Uploaded files during chat are located in ..\docker\volume\app\storage\uploaded_files. Those files seems to be accumulated without a way for them to be accessed or can be deleted from the webpage. My suggestion for feature is storage access in the monitoring section of the studio app or by the administrator. Or option to auto-delete option in .env file after a few days of inactivity. ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 18:21:11 -05:00
yindo closed this issue 2026-02-21 18:21:11 -05:00
Author
Owner

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

Hi, @ByungsunAhn. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary

  • Uploaded files accumulate in \volume\app\storage\uploaded_files without a method for access or deletion via the webpage.
  • You proposed adding a feature in the studio app's monitoring section for storage access or an auto-delete option in the .env file.
  • No further comments or developments have been made on this issue.

Next Steps

  • Please let me know if this issue is still relevant to the latest version of the Dify repository by commenting here.
  • If there is no further activity, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Feb 7, 2025): Hi, @ByungsunAhn. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog. I'm marking this issue as stale. **Issue Summary** - Uploaded files accumulate in `\volume\app\storage\uploaded_files` without a method for access or deletion via the webpage. - You proposed adding a feature in the studio app's monitoring section for storage access or an auto-delete option in the .env file. - No further comments or developments have been made on this issue. **Next Steps** - Please let me know if this issue is still relevant to the latest version of the Dify repository by commenting here. - If there is no further activity, this issue will be automatically closed in 15 days. Thank you for your understanding and contribution!
Author
Owner

@iwaim commented on GitHub (Feb 14, 2025):

Is it no problem for me to leave data about the file in the database when I manually delete the file?

@iwaim commented on GitHub (Feb 14, 2025): Is it no problem for me to leave data about the file in the database when I manually delete the file?
Author
Owner

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

@takatost, the user @iwaim has indicated that they still need help regarding the issue of uploaded files accumulating without a method for access or deletion. Could you please assist them with this?

@dosubot[bot] commented on GitHub (Feb 14, 2025): @takatost, the user @iwaim has indicated that they still need help regarding the issue of uploaded files accumulating without a method for access or deletion. Could you please assist them with this?
Author
Owner

@wangyiedge commented on GitHub (Mar 20, 2025):

same problem, files uploaded through UploadFileApi, whether it is the workflow API call or local upload during debugging, will always be accumulated in the /storage/upload_files/ folder and will not be deleted

@wangyiedge commented on GitHub (Mar 20, 2025): same problem, files uploaded through UploadFileApi, whether it is the workflow API call or local upload during debugging, will always be accumulated in the /storage/upload_files/ folder and will not be deleted
Author
Owner

@xbpeng121 commented on GitHub (Mar 28, 2025):

I also meet the same problem(the same with discussions #11219), and I am trying todo same patch for temporary file auto deletion.
what shall I do if I want to do pull/request?

@xbpeng121 commented on GitHub (Mar 28, 2025): I also meet the same problem(the same with discussions #11219), and I am trying todo same patch for temporary file auto deletion. what shall I do if I want to do pull/request?
Author
Owner

@k1eNdn commented on GitHub (Mar 31, 2025):

@xbpeng121 Do you find an api to delete uploaded file in Dify?

@k1eNdn commented on GitHub (Mar 31, 2025): @xbpeng121 Do you find an api to delete uploaded file in Dify?
Author
Owner

@xbpeng121 commented on GitHub (Mar 31, 2025):

@xbpeng121 Do you find an api to delete uploaded file in Dify?

there is no web service delete api, you need make the api yourself.

@xbpeng121 commented on GitHub (Mar 31, 2025): > [@xbpeng121](https://github.com/xbpeng121) Do you find an api to delete uploaded file in Dify? there is no web service delete api, you need make the api yourself.
Author
Owner

@xbpeng121 commented on GitHub (Apr 2, 2025):

I also meet the same problem(the same with discussions #11219), and I am trying todo same patch for temporary file auto deletion. what shall I do if I want to do pull/request?

I have done some modification in my fork branch, but I don‘t know the rule of pull//request for this project。

If someone who want to try the modify version, and discuss issuse please feel free to leave a comment @me.

@xbpeng121 commented on GitHub (Apr 2, 2025): > I also meet the same problem(the same with discussions [#11219](https://github.com/langgenius/dify/discussions/11219)), and I am trying todo same patch for temporary file auto deletion. what shall I do if I want to do pull/request? I have done some modification in my fork branch, but I don‘t know the rule of pull//request for this project。 If someone who want to try the modify version, and discuss issuse please feel free to leave a comment @me.
Author
Owner

@gilliankerr commented on GitHub (Apr 2, 2025):

@xbpeng121 I am very interested in supporting this feature but your @me link above goes to someone called Ivan. Could you contact me at gillian@logicaloutcomes.net ?

@gilliankerr commented on GitHub (Apr 2, 2025): @xbpeng121 I am very interested in supporting this feature but your @me link above goes to someone called Ivan. Could you contact me at gillian@logicaloutcomes.net ?
Author
Owner

@xbpeng121 commented on GitHub (Apr 3, 2025):

@xbpeng121 I am very interested in supporting this feature but your @me link above goes to someone called Ivan. Could you contact me at gillian@logicaloutcomes.net ?

this is the modify branch "sibat" https://github.com/xbpeng121/dify/tree/sibat
you can checkout to test it.
and I am already log memo in the commit message to explain what I had modified

By the way, the celery beat process need be start, the start cmd like: poetry run celery -A app.celery beat

@xbpeng121 commented on GitHub (Apr 3, 2025): > [@xbpeng121](https://github.com/xbpeng121) I am very interested in supporting this feature but your [@me](https://github.com/me) link above goes to someone called Ivan. Could you contact me at [gillian@logicaloutcomes.net](mailto:gillian@logicaloutcomes.net) ? this is the modify branch "sibat" https://github.com/xbpeng121/dify/tree/sibat you can checkout to test it. and I am already log memo in the commit message to explain what I had modified By the way, the celery beat process need be start, the start cmd like: `poetry run celery -A app.celery beat`
Author
Owner

@crazywoola commented on GitHub (Apr 28, 2025):

Maybe you can check this out.

feat: add administrative commands to free up storage space by removing unused files (#18835)

@crazywoola commented on GitHub (Apr 28, 2025): Maybe you can check this out. > feat: add administrative commands to free up storage space by removing unused files (#18835)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#7559