The updater is the central piece that keeps your XO Appliance running the latest Xen Orchestra code.
It also allows you to change your current version into another (Trial, Starter, Enterprise or Premium) without downloading a new XOA.
By design, the updater is only available in XOA. If you are using XO from the sources, you'll have to use
gitcommands and rebuild to keep up.
In order to work, the updater needs access to
xen-orchestra.com (port 443).
The updater is configurable directly from the web interface, or via the CLI.
The updater is available in the "Update" menu:
You can see the yellow bell icon: it means your appliance is not registered. You must register in order to have updates and a trial.
Updates and trials will be available as soon as you register your appliance. To register, use your https://xen-orchestra.com credentials you gave to download it previously (your email and your password):
The updater will check for new versions periodically. A green tick in the menu means your version is up to date:
However, if you want to start a manual check, you can do it by clicking on the "Update" button:
If a new version is found, you'll have an upgrade button and its tooltip displayed:
If you are behind a proxy, you can edit your proxy settings in this panel:
If your interface is not accessible, or you just prefer to use CLIs commands, it's still possible to perform the same steps. You need to access your XOA via SSH (remember the default credentials: xoa/xoa. Change them ASAP).
# xoa-updater --register Successfully connected to xoa-updater-service Please enter your xen-orchestra.com identifiers to register your XOA: ? Email: email@example.com ? Password: ***** ℹ Your Xen Orchestra Appliance has been succesfully registered
# xoa-updater Successfully connected to xoa-updater-service Checking new versions...ok ✔ New versions available: xo-server 4.8.1 ℹ xoa-updater may be run again to upgrade packages
# xoa-updater --upgrade Successfully connected to xoa-updater-service Checking new versions...ok ✔ New versions available: xo-server 4.8.1 [...] Downloading packages... Installing new packages... ✔ Your XOA has been successfully updated.
If your updater is down, you can restart it with
systemctl restart xoa-updater.
If you can't fetch updates, perform a few checks from your XOA:
- you should be able to successfully
- if not, check your
/etc/resolv.conffile and modify it if necessary (give a correct DNS server)
ifconfigto check your network configuration
- check your firewall(s) and allow XOA to reach xen-orchestra.com (port 443)