# \[SOLVED\] How to remove a wrong uploaded attachment

**URL:** <https://forum.gitea.com/t/solved-how-to-remove-a-wrong-uploaded-attachment/1316>\
**Category:** Install/Maintain/Configure\
**Created:** [July 23, 2019, 5:47am UTC](https://forum.gitea.com/t/solved-how-to-remove-a-wrong-uploaded-attachment/1316 "2019-07-23T05:47:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amin](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Amin](https://forum.gitea.com/u/Amin)\
**Post date:** [July 23, 2019, 5:47am UTC](https://forum.gitea.com/t/solved-how-to-remove-a-wrong-uploaded-attachment/1316/1 "2019-07-23T05:47:52Z")

</div>

Hello everyone,

How can I delete a wrong attached file from a release?  
I have this path `http://MY_IP:3000/foo/bar/releases/download/ver_0.2.1/0.2.1.apk`, but I could not find it anywhere in my computer!

I am using Gitea 1.8.2 on ubuntu 18.04 with MySQL

Thank you

---

<div class="post-metadata">

**Author:** ![elfuego](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/elfuego/32/4746_2.png) [@elfuego](https://forum.gitea.com/u/elfuego)\
**Post date:** [July 26, 2019, 12:14pm UTC](https://forum.gitea.com/t/solved-how-to-remove-a-wrong-uploaded-attachment/1316/2 "2019-07-26T12:14:18Z")

</div>

Look into `attachment` table in your MySQL, find your file name in the `name` field, look for appropriate name in the `uuid` field, under that name the file is situated in `/var/lib/gitea/data/attachments`.

---

<div class="post-metadata">

**Author:** ![Amin](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@Amin](https://forum.gitea.com/u/Amin)\
**Post date:** [July 29, 2019, 8:40am UTC](https://forum.gitea.com/t/solved-how-to-remove-a-wrong-uploaded-attachment/1316/3 "2019-07-29T08:40:07Z")

</div>

Thank you @elfuego, it worked 👍

---

<div class="post-metadata">

**Author:** ![techknowlogick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/techknowlogick/32/4706_2.png) [@techknowlogick](https://forum.gitea.com/u/techknowlogick)\
**Post date:** [August 3, 2019, 1:22am UTC](https://forum.gitea.com/t/solved-how-to-remove-a-wrong-uploaded-attachment/1316/4 "2019-08-03T01:22:42Z")

</div>

Closed on August 3, 2019, 1:22am UTC


