Gitea uploads are broken #188
Closed
opened 2020-06-29 08:49:12 +00:00 by raucao
·
7 comments
No Branch/Tag Specified
Labels
Clear labels
monitoring
bug
design
dev environment
docs
duplicate
enhancement
feature
good first issue
idea
invalid
kredits-1
kredits-2
kredits-3
on hold
ops
question
security
ui/ux
wontfix
service
discourse
Kosmos Community Forums
Infrastructure metrics, alerts, notifications, etc.
service
accounts
Kosmos Accounts
service
drone-ci
Kosmos Drone CI
service
email
mail.kosmos.org
service
garage
S3-compatible object storage
service
gitea
Kosmos Gitea
service
ipfs
Kosmos IPFS
service
mastodon
kosmos.social
service
nostr
Relays, Blossom server, etc.
service
postgres
Database cluster
service
remotestorage
Portable data storage for the Web
service
wiki
Kosmos Wiki
service
xmpp
Kosmos Chat
Something is not working
Graphic/visual design
Config, builds, CI, deployment, etc.
Documentation
This issue or pull request already exists
Improving existing functionality
New functionality
Dive in, and start contributing
Something to consider
Not a bug
Small contribution
Medium contribution
Large contribution
Currently not actionable
Manual IT ops activities
Looking for an answer
release
major
release
minor
release
patch
All your base are belong to us
User interface, process design, etc.
This won't be fixed
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kosmos/chef#188
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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
PATHfor the[attachment]section is set todata/attachmentsin 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.