# Adding attachments to release doesn't work - changing FILE\_MAX\_SIZE doesn't work

**URL:** <https://forum.gitea.com/t/adding-attachments-to-release-doesnt-work-changing-file-max-size-doesnt-work/5965>\
**Category:** Install/Maintain/Configure\
**Created:** [September 29, 2022, 3:26pm UTC](https://forum.gitea.com/t/adding-attachments-to-release-doesnt-work-changing-file-max-size-doesnt-work/5965 "2022-09-29T15:26:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![clairelyclaire](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/clairelyclaire/32/880_2.png) [@clairelyclaire](https://forum.gitea.com/u/clairelyclaire)\
**Post date:** [September 29, 2022, 3:26pm UTC](https://forum.gitea.com/t/adding-attachments-to-release-doesnt-work-changing-file-max-size-doesnt-work/5965/1 "2022-09-29T15:26:12Z")

</div>

I created a release for the first time on a project, but the compiled application (in a .zip) never shows up. I went back and edited the release to upload the zip, and it still doesn’t show up. What am I doing wrong? I’m using the web interface.

**Update:** The issue is the file upload size limit, but I can’t seem to make Gitea take any configurations on my public instance. I was able to update `FILE_MAX_SIZE` in `/etc/gitea/app.ini` (which is the right location on Arch) on my local instance, but the same change has no effect on my public instance. I’ve searched through my entire server to find any config file defining `FILE_MAX_SIZE` set to `4`, and I’ve come up empty. I don’t know where Gitea is getting this value. If I call the API, it returns `4` as the value of `max_size`.

I’m using Apache on my public instance, but I know I can upload larger files on this server (works fine in Dokuwiki). My local instance runs on ngnix.
