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. minio and Hetzner Storage Box

minio and Hetzner Storage Box

Scheduled Pinned Locked Moved Minio
19 Posts 6 Posters 4.4k Views 6 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.
  • BrutalBirdieB BrutalBirdie

    Yes there is.
    It is called volumes. https://docs.cloudron.io/volumes/

    You can add the 5TB Storage Box as a volume (or better, a sub-account of that box as a volume) and then move the whole minio app into that volume.
    Done.

    jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by
    #3

    @BrutalBirdie said in minio and Hetzner Storage Box:

    then move the whole minio app into that volume.

    I'm not sure I get this part of your proposed solution.

    How can you move an app into a volume 🤔

    I use Cloudron with Gandi & Hetzner

    girishG 1 Reply Last reply
    0
    • jdaviescoatesJ jdaviescoates

      @BrutalBirdie said in minio and Hetzner Storage Box:

      then move the whole minio app into that volume.

      I'm not sure I get this part of your proposed solution.

      How can you move an app into a volume 🤔

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

      @jdaviescoates maybe @BrutalBirdie meant https://docs.cloudron.io/apps/#data-directory . There is a volume selector to move app data.

      jdaviescoatesJ 1 Reply Last reply
      0
      • girishG girish

        @jdaviescoates maybe @BrutalBirdie meant https://docs.cloudron.io/apps/#data-directory . There is a volume selector to move app data.

        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #5

        @girish I thought perhaps he meant that too, but afaik Hetzner Storage boxes aren't really suitable for Data Directory because the mount options available don't have proper permissions systems

        As per the docs:

        cifs and sshfs volumes are unsuitable as an app's data directory as they do not support file permissions and ownership. mountpoint and nfs volumes may or may not work depending on the destination filesystem.

        I use Cloudron with Gandi & Hetzner

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

          @jdaviescoates right, you can't use hetzner storage boxes for app data directory.

          1 Reply Last reply
          0
          • BrutalBirdieB Offline
            BrutalBirdieB Offline
            BrutalBirdie
            Partner
            wrote on last edited by
            #7

            I still use it for my emby instance 😬 over 1 TB stored in a volume, not the whole app, but basically all media.

            Like my work? Consider donating a drink. Cheers!

            jdaviescoatesJ 1 Reply Last reply
            1
            • BrutalBirdieB BrutalBirdie

              I still use it for my emby instance 😬 over 1 TB stored in a volume, not the whole app, but basically all media.

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #8

              @BrutalBirdie yeah, all my music is on a Hetzner storage box mounted as a Cloudron Volume into my Navidrome app too. I guess it works fine for such things.

              I use Cloudron with Gandi & Hetzner

              1 Reply Last reply
              0
              • BrutalBirdieB BrutalBirdie

                Yes there is.
                It is called volumes. https://docs.cloudron.io/volumes/

                You can add the 5TB Storage Box as a volume (or better, a sub-account of that box as a volume) and then move the whole minio app into that volume.
                Done.

                sponchS Offline
                sponchS Offline
                sponch
                wrote on last edited by
                #9

                @BrutalBirdie Hi, thanks. Already tried that nut doesn't seem to work...
                What m I doing wrong? CleanShot 2024-04-14 at 20.53.56@2x.png

                1 Reply Last reply
                0
                • sponchS Offline
                  sponchS Offline
                  sponch
                  wrote on last edited by sponch
                  #10

                  ups...should have read the rest of the postings... so no chance to use the storage box for S3 via Minio?

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

                    @sponch not on Cloudron atleast. I just checked the upstream project and they mention that there might be inconsistencies with using Minio with CIFS - this comment .

                    I did find this interesting series of articles about Minio+CIFS as well - https://maulana.id/soft-dev/2021--05--07--10--lesson-learned-on-deploying-minio-with-cifs-backend-part-1/ .... It's not straightforward.

                    1 Reply Last reply
                    1
                    • T Offline
                      T Offline
                      taowang
                      wrote on last edited by
                      #12

                      I am looking for a cost-effective solution to host videos that will be embeded on my moodle site.

                      Here is the cheapest solution I came up with:

                      1. Use minio and hetzner storage box to store the vidoes
                      2. Use PeerTube to encode and stream the videos
                      3. Then embed the videos on my moodle site

                      Does this solution work?
                      Which mount type should i choose? (chatgpt says NFS or SSHFS but I am not sure)

                      image.png

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        taowang
                        wrote on last edited by
                        #13

                        I just read the doc: https://docs.cloudron.io/volumes/
                        is CIFS the best option for hetzner storage box? since NFS is unencrypted, and SSHFS sub accounts are not very reliable>

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

                          Hetzner storage box won't work for minio since it doesn't support NFS either (last I checked). Maybe you can consider Hetzner volumes - https://docs.hetzner.com/cloud/volumes/getting-started/creating-a-volume

                          T 1 Reply Last reply
                          0
                          • girishG girish

                            Hetzner storage box won't work for minio since it doesn't support NFS either (last I checked). Maybe you can consider Hetzner volumes - https://docs.hetzner.com/cloud/volumes/getting-started/creating-a-volume

                            T Offline
                            T Offline
                            taowang
                            wrote on last edited by
                            #15

                            @girish

                            Here is my understanding for now (correct me if I am wrong):

                            • In order to stream videos, I need to use "Data Directory" rather than "Mounts".
                            • Only volumes with Mount Type EXT4 and NFS can be used as Data Directory.
                            • Hetzner storage box does not support either EXT4 or NFS.

                            I was confused with Data Directory and Mounts.
                            I thought I could use Mounts for video streaming purposes.

                            1 Reply Last reply
                            1
                            • T taowang referenced this topic on
                            • girishG Offline
                              girishG Offline
                              girish
                              Staff
                              wrote on last edited by
                              #16

                              @taowang right, I think you can change peertube's storage directory in production.yaml to point to the CIFS Mount (storage box). That should work.

                              T 1 Reply Last reply
                              1
                              • girishG girish

                                @taowang right, I think you can change peertube's storage directory in production.yaml to point to the CIFS Mount (storage box). That should work.

                                T Offline
                                T Offline
                                taowang
                                wrote on last edited by
                                #17

                                @girish

                                That works with object storage that meets 2 requirements: https://docs.joinpeertube.org/maintain/remote-storage

                                1. S3 compatible
                                2. support virtual hosting of bucket.

                                I thought Hetzner storage box is not S3 compatible. Is it?

                                35ccf997-aac7-49e8-8562-893a7f40c01b-image.png

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

                                  @taowang peertube stores files in the filesystem (by default). If you check the configuration file (https://docs.cloudron.io/apps/peertube/#customization) , you can see the paths. Change the paths to that of the your mount.

                                  The S3 stuff comes into picture only if you configure peertube to use "object storage" (i.e remote storage, I think in peertube lingo)

                                  1 Reply Last reply
                                  1
                                  • T Offline
                                    T Offline
                                    thebighead
                                    wrote on last edited by
                                    #19

                                    Yes it´s possible. Watch the video!

                                    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