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.3k 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.
  • sponchS Online
    sponchS Online
    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