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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Gitea
  3. Repository archives balooned to take up all space on disk

Repository archives balooned to take up all space on disk

Scheduled Pinned Locked Moved Gitea
16 Posts 4 Posters 8.4k Views 4 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.
  • infogulchI Offline
    infogulchI Offline
    infogulch
    wrote on last edited by infogulch
    #6

    This happened again today. 48+GB of actually useless "repository archives" whatever that means. ~~Even login fails when the disk is full so I can't even log in to fix it. ~~ I was able to log in finally.

    Is there a way to set disk quotas for apps so when they misbehave the whole cloudron doesn't go belly up? Sigh.

    1 Reply Last reply
    0
    • infogulchI Offline
      infogulchI Offline
      infogulch
      wrote on last edited by
      #7

      So I don't know what "repository archives" are, what they're for, why they take up literally 12x the storage of the actual repository data, why clicking this button fixes it, and why that has no effect on the operation of the site.

      image.png

      robiR 1 Reply Last reply
      0
      • infogulchI infogulch

        So I don't know what "repository archives" are, what they're for, why they take up literally 12x the storage of the actual repository data, why clicking this button fixes it, and why that has no effect on the operation of the site.

        image.png

        robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #8

        @infogulch perhaps because of the frequency of the sync and the versioning of each sync?

        Conscious tech

        1 Reply Last reply
        0
        • infogulchI Offline
          infogulchI Offline
          infogulch
          wrote on last edited by
          #9

          Yeah it probably has to do with the Update Mirrors cron task that runs every 10m, since that's the only activity on the server. I did notice that the Update Mirrors task run count was about 280 in both cases. Maybe a recent update is now leaving junk behind when it updates mirrors that isn't being cleaned up.

          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #10

            So this is the default behavior to create new archive files and not something you have enabled?

            1 Reply Last reply
            0
            • robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #11

              Would https://github.com/pojntfx/octarchive be better?

              Conscious tech

              1 Reply Last reply
              0
              • infogulchI Offline
                infogulchI Offline
                infogulch
                wrote on last edited by
                #12

                Yeah that seems to be the issue:

                It's currently at 30GB (was 30MB 19 hours ago), exactly:

                31069204

                Then I ran the "Update Mirrors" task, now it's:

                31733536

                1 Reply Last reply
                1
                • marioM Offline
                  marioM Offline
                  mario
                  App Dev
                  wrote on last edited by
                  #13

                  It appears this issue started happening as of most recent gitea update.

                  robiR 1 Reply Last reply
                  0
                  • marioM mario

                    It appears this issue started happening as of most recent gitea update.

                    robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by
                    #14

                    @mario look for a new "feature" that does this "for you" 🙂

                    Conscious tech

                    1 Reply Last reply
                    0
                    • marioM Offline
                      marioM Offline
                      mario
                      App Dev
                      wrote on last edited by
                      #15

                      @robi features are great 😛

                      1 Reply Last reply
                      0
                      • infogulchI Offline
                        infogulchI Offline
                        infogulch
                        wrote on last edited by
                        #16

                        Release 1.20.0 included these PRs related to mirroring, maybe one of them caused the issue:

                        • Refactor Pull Mirror and fix out-of-sync bugs #24732
                        • Use the type RefName for all the needed places and fix pull mirror sync bugs #24634
                        • Allow skipping forks and mirrors from being indexed #23187
                        1 Reply Last reply
                        0
                        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