XCP-ng 8.2.1 – how to update Xen Orchestra and all of it’s dependencies on Debian 12 Linux


root@xcp-ng-debian12-01:~# cd XenOrchestraInstallerUpdater
root@xcp-ng-debian12-01:~/XenOrchestraInstallerUpdater# ./xo-install.sh
—————————————–
Welcome to automated Xen Orchestra install
Following options will be used for installation:
OS: Debian 12
Basedir: /opt/xo
User: root
Port: 80
HTTPS: false
Git Branch for source: master
Following plugins will be installed: all
Number of previous installations to preserve: 3
Node.js and yarn auto update: true
Errorlog is stored to /root/XenOrchestraInstallerUpdater/logs/xo-install.log-202401081320 for debug purposes
Depending on which installation is chosen:
Xen Orchestra configuration will be stored to /root/.config/xo-server/config.toml, if you don’t want it to be replaced with every update, set CONFIGUPDATE to false in xo-install.cfg
Xen Orchestra Proxy configuration will be stored to /root/.config/xo-proxy/config.toml. Config won’t be overwritten during update, ever
—————————————–
1. Install
2. Update
3. Rollback
4. Install proxy
5. Update proxy
6. Exit
: 2
[info] Installing nodesource repository
[info] Checking current node.js version
[ok] node.js version already on 18, checking updates
[info] Fetching Xen Orchestra source code
[info] Creating install directory: /opt/xo/xo-builds/xen-orchestra-202401081320
[info] Updating Xen Orchestra from ‚b1e879ca2‘ to ‚ae518399f‘
[info] No 3rd party plugins to install
[info] xo-server and xo-web build takes quite a while. Grab a cup of coffee and lay back
[ok] Running installation
[ok] Installing plugins
[ok] Shutting down running xo-server
[info] Fixing binary path in systemd service configuration file
[info] Adding WorkingDirectory parameter to systemd service configuration file
[info] Replacing systemd service configuration file
[info] Reloading systemd configuration
[info] Fixing relative path to xo-web installation in xo-server configuration file
[info] Changing redis connection address in xo-server configuration file
[info] Activating modified configuration file
[info] Symlinking fresh xo-server install/update to /opt/xo/xo-server
[info] Symlinking fresh xo-web install/update to /opt/xo/xo-web
[info] Symlinking fresh xo-cli install/update to /opt/xo/xo-cli
[info] Symlinking xo-cli script to /usr/local/bin/xo-cli
[info] Starting xo-server…
waiting for port to be open
WebUI started in port 80. Make sure you have firewall rules in place to allow access.
[info] Update successful. Enabling xo-server service to start on reboot
[ok] Removing old inactive installations after update. Leaving 3 latest
root@xcp-ng-debian12-01:~/XenOrchestraInstallerUpdater#

Leave a Reply

You must be logged in to post a comment.