Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Minio not Use /app/data

    Minio
    3
    6
    249
    Loading More Posts
    • 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.
    • doodlemania2
      doodlemania2 App Dev last edited by

      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.

      girish 1 Reply Last reply Reply Quote 1
      • girish
        girish Staff @doodlemania2 last edited by

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

        doodlemania2 1 Reply Last reply Reply Quote 0
        • doodlemania2
          doodlemania2 App Dev @girish last edited by

          @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.

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @doodlemania2 last edited by

            @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.

            robi doodlemania2 2 Replies Last reply Reply Quote 0
            • robi
              robi @girish last edited by

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

              Life of Advanced Technology

              1 Reply Last reply Reply Quote 0
              • doodlemania2
                doodlemania2 App Dev @girish last edited by

                @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 Reply Quote 1
                • First post
                  Last post
                Powered by NodeBB