XO CE Backup remote: no right to make /run/xo-server when xo not running as root



  • hi,

    i installed myself a xo community edition, great tool.
    worth mentioning:
    when trying to make a remote for the backup, it fails with

    EACCES: permission denied, mkdir '/run/xo-server'
    

    in the webgui.

    su root
    mkdir /run/xo-server
    chown /run/xo-server yourusernamehere:yourusernamehere

    changes the error message in the gui to

    Command failed: mount -t nfs 192.168.30.60:/mnt/Brutus/Remote /run/xo-server/mounts/bb4532ab-12a7-4103-9420-7847da8ca9ff -o vers=3
    mount: only root can use "--options" option
    

    when nfs-common is installed ( which should ) then i can mount the remote as root in the terminal with the command from the message.

    works then, but when restarting the xo-vm the mount is gone.

    i did a dirty workaround and scripting that when starting the vm.
    is there a "clean" solution?


Log in to reply
 

XCP-ng Pro Support