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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Minio not Use /app/data

Scheduled Pinned Locked Moved Minio
6 Posts 3 Posters 252 Views
    • 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
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to doodlemania2 on last edited by
    #2

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

    doodlemania2D 1 Reply Last reply
    0
  • doodlemania2D Offline
    doodlemania2D Offline
    doodlemania2 App Dev
    replied to girish 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
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to doodlemania2 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
  • robiR Offline
    robiR Offline
    robi
    replied to girish on last edited by
    #5

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

    Life of sky tech

    1 Reply Last reply
    0
  • doodlemania2D Offline
    doodlemania2D Offline
    doodlemania2 App Dev
    replied to girish 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

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.