XOCE - Config path
-
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 -
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.
-
I also tried this script, you need to modify the configuration file in
/opt/xen-orchestra/packages/xo-server/.xo-server.toml -
@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? -
I modified this file to force to https (I completely disabled http), and to enable Redis. And it works
-
Please open an issue on the associated Github repo
-
@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
-
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 -
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
-
@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!