# Attachment links are broken = 404

**URL:** <https://forum.gitea.com/t/attachment-links-are-broken-404/1932>\
**Category:** Install/Maintain/Configure\
**Created:** [February 17, 2020, 8:07pm UTC](https://forum.gitea.com/t/attachment-links-are-broken-404/1932 "2020-02-17T20:07:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![drahkrub](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/drahkrub/32/4897_2.png) [@drahkrub](https://forum.gitea.com/u/drahkrub)\
**Post date:** [February 17, 2020, 8:07pm UTC](https://forum.gitea.com/t/attachment-links-are-broken-404/1932/1 "2020-02-17T20:07:49Z")

</div>

Hi! I have gitea 1.11.1 running in a docker container. Today I realized that all URLs of the form [ROOT\_URL]/attachments/[UUID] throw a 404 (not found), although the entries in the table `attachment` (mysql) and in `/data/gitea/attachments` (file system) look ok. And I’m sure it has worked in the past! New uploads produce no errors and new entries in table and file system - but also a 404 when trying to download. I should mention that I switched machines in between, but I think I always adjusted the ROOT\_URL properly in app.ini. And of course a new installation (or upgrading a new one from 1.10.3 to 1.11.1 - that was my way in the past, I started with 1.10.3) does not have the problems I’m facing now. Any ideas why I’m getting 404s?

---

<div class="post-metadata">

**Author:** ![drahkrub](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/drahkrub/32/4897_2.png) [@drahkrub](https://forum.gitea.com/u/drahkrub)\
**Post date:** [February 18, 2020, 2:58pm UTC](https://forum.gitea.com/t/attachment-links-are-broken-404/1932/2 "2020-02-18T14:58:33Z")

</div>

Seems to be an error in 1.11.x, see [https://github.com/go-gitea/gitea/issues/10336](https://github.com/go-gitea/gitea/issues/10336)
