XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

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

    Scheduled Pinned Locked Moved Xen Orchestra
    1 Posts 1 Posters 708 Views 1 Watching
    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.
    • G Offline
      goorooj
      last edited by goorooj

      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?

      1 Reply Last reply Reply Quote 2
      • First post
        Last post