Gitea uploads are broken #188
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I can't upload anything in Gitea comments (and I think I hadn't tried since the migration).
There's no error message on the client side at all.
The
PATH
for the[attachment]
section is set todata/attachments
in our config, I am going to check if using an absolute path (/var/lib/gitea/data/attachments
) solved the issue. If so I'll create a PR with the fixI just checked and I can't reproduce it, see the attached images to this comment
Could you try in a private repo perhaps? That's where it happened to me. (I wasn't able to upload in the end.)
I just checked again, since we upgraded Gitea in the meantime. I can upload in private repos as well now, but all attached images (including yours in this thread) are now just rendered as text links. :/
Actually, the path needs to be changed to
/mnt/data/gitea/...
anyway. See #178Update: it seems to happen for files past a certain size limit. But instead of complaining about the file being too large (which is a bit silly at 2MB e.g.), it just does nothing.
For some reason it was just using nginx defaults, which is always extremely low for upload size. Changed it in production, PR incoming.