-
Hello o/
i encountered the problem that changes to /app/data/app.ini like[attachment] ENABLED = true ALLOWED_TYPES = */* MAX_SIZE = 50 MAX_FILES = 5do not work.
I specifically wanted to increase the MAX_SIZE argument but it does not work.
I also restarted the app and even rebootet. On a clean install with gitea it also happens. -
@imc67 I think maybe you got the syntax wrong or the section name wrong. It should look like this in
/app/data/app.ini:[server] LANDING_PAGE=login DISABLE_REGISTRATION=true REQUIRE_SIGNIN_VIEW=trueAlso, be sure to restart the app after the changes.
-
@imc67 I think maybe you got the syntax wrong or the section name wrong. It should look like this in
/app/data/app.ini:[server] LANDING_PAGE=login DISABLE_REGISTRATION=true REQUIRE_SIGNIN_VIEW=trueAlso, be sure to restart the app after the changes.
@girish said in Gitea Upload Size:
[server]
LANDING_PAGE=login
DISABLE_REGISTRATION=true
REQUIRE_SIGNIN_VIEW=trueStupid me! I just copy-paste the code from https://docs.gitea.io/en-us/config-cheat-sheet/ assuming it's also the right syntax

Your version works!
Thanks!!!!!!

-
The upload size actually works but the issue is that when uploading large files, the request times out. I have opened an issue upstream - https://github.com/go-gitea/gitea/issues/12022 . I used the following config:
[attachment] ENABLED=true MAX_SIZE=50 MAX_FILES=2 ALLOWED_TYPES=*/*
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login