Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Gitea
  3. Gitea Upload Size

Gitea Upload Size

Scheduled Pinned Locked Moved Solved Gitea
gitea
7 Posts 3 Posters 21.9k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by girish
    #1

    Hello o/
    i encountered the problem that changes to /app/data/app.ini like

    [attachment]
    ENABLED = true
    ALLOWED_TYPES = */*
    MAX_SIZE = 50
    MAX_FILES = 5
    

    do 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.

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      I can reproduce the bug but I cannot make out what the issue is. I will keep digging.

      1 Reply Last reply
      1
      • imc67I Offline
        imc67I Offline
        imc67
        translator
        wrote on last edited by
        #3

        @girish any news?

        I just installed Gitea and wanted to have it more secure/closed with settings below but it doesn't seems toe work:

        LANDING_PAGE: login
        DISABLE_REGISTRATION: true
        REQUIRE_SIGNIN_VIEW: true
        

        Kind regards,

        Marcel

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by girish
          #4

          @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=true
          

          Also, be sure to restart the app after the changes.

          imc67I 1 Reply Last reply
          1
          • girishG girish

            @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=true
            

            Also, be sure to restart the app after the changes.

            imc67I Offline
            imc67I Offline
            imc67
            translator
            wrote on last edited by
            #5

            @girish said in Gitea Upload Size:

            [server]
            LANDING_PAGE=login
            DISABLE_REGISTRATION=true
            REQUIRE_SIGNIN_VIEW=true

            Stupid 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!!!!!!
            👍

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by girish
              #6

              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=*/*
              
              1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #7

                @timbo The upload size issue is now fixed with https://github.com/go-gitea/gitea/pull/12024 . When they make a new release, we should get the fix.

                1 Reply Last reply
                0

                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
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search