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

Volumes error on access but work? kinda?

Scheduled Pinned Locked Moved Solved Support
volumeshetznercifssshfs
11 Posts 4 Posters 94 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.
  • BrutalBirdieB Online
    BrutalBirdieB Online
    BrutalBirdie Staff
    wrote on last edited by girish
    #1

    What I am doing right now?
    Playing around with Hetzner Storage Boxes SSHFS and Cloudron Volumes.
    Wanted to know if I can use a Volume as a Minio "Drive" more like MINIO_VOLUMES

    So I create a sub-account yada yada that is all working.
    Now I add the Volume in Cloudron. . . no issue.

    I press the Open FileManager button and saw some errors popping up, Ignored them. Smart!
    Try to create a file:
    ac368f9c-f955-4e84-a8c2-c388ac88cfac-image.png

    500 Object { errno: -13, code: "EACCES", syscall: "chown", path: "/mnt/volumes/5283b6c6e7c0493f97093cd9d7c17b5a/test.txt" }
    ------
    Cloudron Internal Error
    
    If you see this, please send a mail with above log to support@cloudron.io
    ------
    
    {
      "name": "ClientError",
      "statusCode": 500,
      "errno": -13,
      "code": "EACCES",
      "syscall": "chown",
      "path": "/mnt/volumes/5283b6c6e7c0493f97093cd9d7c17b5a/test.txt"
    }
    

    Strange 🤔

    Trying as root in the server.

    chown -R root:root /mnt/volumes/5283b6c6e7c0493f97093cd9d7c17b5a
    chown: changing ownership of '/mnt/volumes/5283b6c6e7c0493f97093cd9d7c17b5a/test.txt': Permission denied
    chown: changing ownership of '/mnt/volumes/5283b6c6e7c0493f97093cd9d7c17b5a': Permission denied
    

    Huh? It created the file but I cant change its permission?

    This also results in a Minio startup error since it can not change the permissions.
    Odd. Did I miss anything?

    668801ca-94cc-4c7a-a151-f2579102e326-image.png
    53b5082f-c722-4000-b13b-7fec3ac35942-image.png

    Like my work? Consider donating a drink drink. Cheers!

    1 Reply Last reply
    1
  • BrutalBirdieB BrutalBirdie marked this topic as a question on
  • BrutalBirdieB Online
    BrutalBirdieB Online
    BrutalBirdie Staff
    wrote on last edited by
    #2

    This also block using the volume as the main data directory:

    image.png

    Like my work? Consider donating a drink drink. Cheers!

    1 Reply Last reply
    1
  • BrutalBirdieB Online
    BrutalBirdieB Online
    BrutalBirdie Staff
    wrote on last edited by
    #3

    Seems like the setting for the mount is not being respected:

    mount -l | grep -i '/mnt/volumes/5283b6c6e7c0493f97093cd9d7c17b5a'
    REDACTED-sub1@REDACTED-sub1.your-storagebox.de:/home/data on /mnt/volumes/5283b6c6e7c0493f97093cd9d7c17b5a type fuse.sshfs (rw,relatime,user_id=0,group_id=0,allow_other)
    

    It should be uid and gid 0 but is uid=1012 && gid=1013 🤔

    Like my work? Consider donating a drink drink. Cheers!

    1 Reply Last reply
    2
  • nebulonN Online
    nebulonN Online
    nebulon Staff
    wrote on last edited by
    #4

    using sub-accounts with sshfs and hetzner was showing odd side-effects in the past, as mentioned in https://docs.cloudron.io/backups/#sshfs Although this is referring to backups, same applies to volumes. Best do not use sub-accounts or use cifs instead.

    jdaviescoatesJ 1 Reply Last reply
    1
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    replied to nebulon on last edited by
    #5

    @nebulon what exactly does a "subaccount" mean in this context please?

    I use Cloudron with Gandi & Hetzner

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to jdaviescoates on last edited by
    #6

    @jdaviescoates it's a concept in hetzner storage box - https://docs.hetzner.com/robot/storage-box/additional-users/

    1 Reply Last reply
    1
  • BrutalBirdieB Online
    BrutalBirdieB Online
    BrutalBirdie Staff
    wrote on last edited by
    #7

    Ahhhh okay I will try cifs with the sub-account.

    Like my work? Consider donating a drink drink. Cheers!

    jdaviescoatesJ 1 Reply Last reply
    1
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    replied to BrutalBirdie on last edited by
    #8

    @BrutalBirdie said in Volumes error on access but work? kinda?:

    Ahhhh okay I will try cifs with the sub-account.

    Out of interest, why not just no use a sub-account? Or put another way: why use a sub-account? 🙂

    I use Cloudron with Gandi & Hetzner

    BrutalBirdieB 1 Reply Last reply
    0
  • BrutalBirdieB Online
    BrutalBirdieB Online
    BrutalBirdie Staff
    replied to jdaviescoates on last edited by
    #9

    @jdaviescoates Socialist hosting 😄
    The community pays for the server and the storage box.

    If someone wants to use part of the storage box for an app or something?
    Can't just give the the whole Storage Box Account, they could access data from other members of the community.
    With Sub-Accounts each account has only access to his... Account.

    You could also think it in a way of:
    You buy a 20 TB Storage box and each 1TB is for 1x Sub-Account, 1x Cloudron, 1x App, 1x Customer. yada yada yada

    Getting the picture?

    Like my work? Consider donating a drink drink. Cheers!

    jdaviescoatesJ 1 Reply Last reply
    1
  • BrutalBirdieB Online
    BrutalBirdieB Online
    BrutalBirdie Staff
    wrote on last edited by
    #10

    The CIFS version worked btw.

    Like my work? Consider donating a drink drink. Cheers!

    1 Reply Last reply
    1
  • girishG girish has marked this topic as solved on
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    replied to BrutalBirdie on last edited by
    #11

    @BrutalBirdie said in Volumes error on access but work? kinda?:

    Getting the picture?

    Yes! Excellent

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    0

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