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 844 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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post