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

    XOCE - Config path

    Scheduled Pinned Locked Moved Xen Orchestra
    10 Posts 3 Posters 1.7k Views 3 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.
    • K Offline
      KPS Top contributor
      last edited by

      Hi!

      I am a bit embarassed, but I am not able to find the right place for the config files, of my XOCE.

      My XOCE is deployed with the xenorchestra_updater script of Jarli01. Now, I want to add some settings to "config.toml", but nothing seems to have an effect.

      I tried:

      • /etc/xo-server/config.toml
      • ~/.config/xo-server/config.toml
      • /opt/xen-orchestra/packages/xo-server/.xo-server.toml

      Can you give me a hint, on how to do this the right way?

      Thank you and best wishes
      KPS

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by olivierlambert

        Hi,

        Since it's a 3rd party script, you should ask on the Github repo where this script is made 🙂 We can't assist on specifics regarding those scripts, because we can't guess what are they doing, since there's a various number of them around.

        1 Reply Last reply Reply Quote 0
        • GheppyG Offline
          Gheppy
          last edited by

          I also tried this script, you need to modify the configuration file in
          /opt/xen-orchestra/packages/xo-server/.xo-server.toml

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            KPS Top contributor @Gheppy
            last edited by

            @Gheppy
            Thank you! I tried that, but this does not seem to have an effect, too... Did you modify the sample-file, or create an empty one?

            1 Reply Last reply Reply Quote 0
            • GheppyG Offline
              Gheppy
              last edited by

              I modified this file to force to https (I completely disabled http), and to enable Redis. And it works

              K 1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                Please open an issue on the associated Github repo 🙂

                1 Reply Last reply Reply Quote 0
                • K Offline
                  KPS Top contributor @Gheppy
                  last edited by

                  @Gheppy
                  For me, too. I must have any other problem. Changing the port is working, so there must be something wrong about the other two changes, I made:

                  I added at the end

                  [backups]
                  useNBD = true
                  
                  [logs]
                  filter='xo:backups:DeltaBackupWriter'
                  
                  

                  ...but I do not find debug-logs for DeltaBackupWriter in syslog

                  1 Reply Last reply Reply Quote 0
                  • GheppyG Offline
                    Gheppy
                    last edited by Gheppy

                    You could try steps from the XOCE documentation, it's a little more difficult but not too difficult. I use Ubuntu 22.04.01 LTS server.
                    I don't have NBD active to see if I have this logs

                    1 Reply Last reply Reply Quote 0
                    • GheppyG Offline
                      Gheppy
                      last edited by

                      It seems that there is something different between the service files.
                      It missing Environment="DEBUG=xo:main"

                      Original one

                      # systemd service for XO-Server.
                      
                      [Unit]
                      Description= XO Server
                      After=network-online.target
                      
                      [Service]
                      Environment="DEBUG=xo:main"
                      ExecStart=/usr/local/bin/xo-server
                      Restart=always
                      SyslogIdentifier=xo-server
                      
                      [Install]
                      WantedBy=multi-user.target
                      

                      Install with script

                      # Systemd service for XO-Server.
                      
                      [Unit]
                      Description= XO Server
                      After=network-online.target
                      
                      [Service]
                      WorkingDirectory=/opt/xen-orchestra/packages/xo-server/
                      ExecStart=/usr/local/bin/node ./dist/cli.mjs
                      
                      Restart=always
                      SyslogIdentifier=xo-server
                      
                      [Install]
                      WantedBy=multi-user.target
                      
                      K 1 Reply Last reply Reply Quote 0
                      • K Offline
                        KPS Top contributor @Gheppy
                        last edited by

                        @Gheppy
                        I found my issue... The changes, I wanted to test have not been committed to "master-branch". After changing the branch, everything is clear...

                        Thank you for your help!

                        1 Reply Last reply Reply Quote 0

                        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