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. Minio
  3. ==> Changing ownership on every restart

==> Changing ownership on every restart

Scheduled Pinned Locked Moved Solved Minio
12 Posts 4 Posters 1.8k 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.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #3

    I am surprised as well. chown should be quick enough (not 4 hours anyway). Do you get the same performance if you run the command on the server directly? How much data are we talking about (you can do find . -type f | wc -l in the data directory ) ?

    1 Reply Last reply
    0
    • luckowL Offline
      luckowL Offline
      luckow
      translator
      wrote on last edited by luckow
      #4

      sorry for "lying". it felt like 4 hours. the last update/restart takes only 1h10m
      Sep 11 17:08:53 ==> Changing ownership
      Sep 11 18:16:21 ==> Starting minio

      :/app/data#find . -type f | wc -l
      50 minutes later
      1178082

      Pronouns: he/him | Primary language: German

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

        OK, I have pushed an update now which will chown only if required. It's a bit of hack, but if it causes problems we can fix it in a future update.

        1 Reply Last reply
        0
        • luckowL Offline
          luckowL Offline
          luckow
          translator
          wrote on last edited by
          #6

          I've run the update. It's a little bit faster:
          Sep 11 21:58:16 ==> Changing ownership
          Sep 11 22:41:17 ==> Starting minio

          Pronouns: he/him | Primary language: German

          1 Reply Last reply
          0
          • mehdiM Offline
            mehdiM Offline
            mehdi
            App Dev
            wrote on last edited by
            #7

            @luckow maybe it's really long on your machine because it actually has to change the ownership, not just ensure it's correct?

            Do you have any kind of unusual setup that could cause this ?

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

              strange, I use a Minio app on Cloudron with about 300GB files (backup from my MacBook) and there are absolutely no issues, after update it's immediate available

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

                @luckow Oh, let me guess 🙂 maybe it's on a filesystem which is not ext4 and does not actually support permissions! can you do ls -l /app/data ?

                1 Reply Last reply
                0
                • luckowL Offline
                  luckowL Offline
                  luckow
                  translator
                  wrote on last edited by
                  #10

                  @girish said in ==> Changing ownership on every restart:

                  ls -l /app/data

                  from inside the container it looks like

                  root@3435b3d0-07cb-4c5e-9723-d69d7feb6285:/app/code# ls -l /app/data
                  total 4
                  drwxr-xr-x 4 cloudron cloudron 4096 Sep 11 20:41 data

                  Pronouns: he/him | Primary language: German

                  girishG 1 Reply Last reply
                  0
                  • luckowL luckow

                    @girish said in ==> Changing ownership on every restart:

                    ls -l /app/data

                    from inside the container it looks like

                    root@3435b3d0-07cb-4c5e-9723-d69d7feb6285:/app/code# ls -l /app/data
                    total 4
                    drwxr-xr-x 4 cloudron cloudron 4096 Sep 11 20:41 data

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #11

                    @luckow Do you know if the partition is ext4?

                    1 Reply Last reply
                    0
                    • luckowL Offline
                      luckowL Offline
                      luckow
                      translator
                      wrote on last edited by
                      #12

                      taken from https://my.example.org/#/system

                      /dev/sda4 mounted at /home
                      This ext4 disk contains: ...

                      Pronouns: he/him | Primary language: German

                      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