# Help! How do I delete attachments that are out of control?

**URL:** <https://forum.gitea.com/t/help-how-do-i-delete-attachments-that-are-out-of-control/8062>\
**Category:** Gitea Usages\
**Created:** [November 4, 2023, 2:50am UTC](https://forum.gitea.com/t/help-how-do-i-delete-attachments-that-are-out-of-control/8062 "2023-11-04T02:50:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbinfun](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/dbinfun/32/4165_2.png) [@dbinfun](https://forum.gitea.com/u/dbinfun)\
**Post date:** [November 4, 2023, 2:50am UTC](https://forum.gitea.com/t/help-how-do-i-delete-attachments-that-are-out-of-control/8062/1 "2023-11-04T02:50:44Z")

</div>

I want to create releases and I upload the attachment to the release. But after I successfully uploaded the attachment, I accidentally refreshed the page. Therefore, the file that has been uploaded to the server is not displayed, but it still exists in the server’s attachments folder.  
How do I delete files that are out of my control in the dashboard?

---

<div class="post-metadata">

**Author:** ![jake](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@jake](https://forum.gitea.com/u/jake)\
**Post date:** [November 11, 2023, 6:03pm UTC](https://forum.gitea.com/t/help-how-do-i-delete-attachments-that-are-out-of-control/8062/2 "2023-11-11T18:03:22Z")

</div>

See this bug filed on GitHub: [DB Inconsistence on attachment table · Issue #16783 · go-gitea/gitea · GitHub](https://github.com/go-gitea/gitea/issues/16783). I am not sure how to clean them up properly, but perhaps someone with more knowledge could respond.

You could try asking in that bug to get it back on Gitea’s radar and also maybe get useful workaround.
