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 not Use /app/data

Minio not Use /app/data

Scheduled Pinned Locked Moved Minio
6 Posts 3 Posters 1.1k Views 3 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.
  • doodlemania2D Offline
    doodlemania2D Offline
    doodlemania2
    App Dev
    wrote on last edited by
    #1

    Suggestion - I've moved my minio to a volume (so not using /app/data for anything except env.sh).
    The app itself is find with that (assuming permissions are good). However, the start file and the minio-credentials helper tools don't really like things not being /app/data/data.

    Suggestion would be to leverage that ARGS path in env.sh for everything where paths are set down.

    girishG 1 Reply Last reply
    1
    • doodlemania2D doodlemania2

      Suggestion - I've moved my minio to a volume (so not using /app/data for anything except env.sh).
      The app itself is find with that (assuming permissions are good). However, the start file and the minio-credentials helper tools don't really like things not being /app/data/data.

      Suggestion would be to leverage that ARGS path in env.sh for everything where paths are set down.

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

      @doodlemania2 Is the reason to do this to avoid backing up minio?

      doodlemania2D 1 Reply Last reply
      0
      • girishG girish

        @doodlemania2 Is the reason to do this to avoid backing up minio?

        doodlemania2D Offline
        doodlemania2D Offline
        doodlemania2
        App Dev
        wrote on last edited by
        #3

        @girish Yep - in fact, in this instance, it's me backing up my Cloudron 🙂
        I know I could just go to an NFS share, but this is more fun.

        girishG 1 Reply Last reply
        0
        • doodlemania2D doodlemania2

          @girish Yep - in fact, in this instance, it's me backing up my Cloudron 🙂
          I know I could just go to an NFS share, but this is more fun.

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

          @doodlemania2 Right, also see https://forum.cloudron.io/topic/3899/how-to-use-volumes-in-minio . We will try to fix the backup issue somehow instead of making minio use volumes.

          robiR doodlemania2D 2 Replies Last reply
          0
          • girishG girish

            @doodlemania2 Right, also see https://forum.cloudron.io/topic/3899/how-to-use-volumes-in-minio . We will try to fix the backup issue somehow instead of making minio use volumes.

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

            @girish you may need a writable place to mount a volume that doesn't get backed up.

            Conscious tech

            1 Reply Last reply
            0
            • girishG girish

              @doodlemania2 Right, also see https://forum.cloudron.io/topic/3899/how-to-use-volumes-in-minio . We will try to fix the backup issue somehow instead of making minio use volumes.

              doodlemania2D Offline
              doodlemania2D Offline
              doodlemania2
              App Dev
              wrote on last edited by
              #6

              @girish It's no problem - just a tad bit of overhead and I use the S3 for other backups anyways.

              Yeah, the volumes work great - in my instance it looks like this:

              -External hard drive via USB3 hooked to physical box
              -Hard drive volume created on physical box with an 8 TB VHDX on there.
              -8TB VHDX passed through to Cloudron VM
              -Cloudron VM mounts it as an xfs target
              -Pass mount (the /mnt requirement tripped me up but is smart to require it) to Cloudron
              -Mount volume into Minio container (/media/backuptarget)
              -Reconfigure minio to default to /media/backuptarget instead of /app/data/data
              BOOM

              (The last bit is why minio CLI's fuss cause /app/data/data is hardcoded in a few places).

              1 Reply Last reply
              1
              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