...
Upgrading Ubuntu 18.04 to 20.04
Install update-manager-core and software-properties-common if not already installed.
Code Block apt install update-manager-core software-properties-common
- Make sure the Prompt line in
/etc/update-manager/release-upgrades
is set tolts
(long-term support) Launch the upgrade tool with the command
Code Block sudo do-release-upgrade
- Follow the on-screen instructions.
- When the upgrade is finished, reboot when prompted.
...
Update the X-Road package repository to point to the Ubuntu 20.04 packages
Update the X-Road apt repository (remove old and add new):
Code Block apt-add-repository -r "deb https://artifactory.niis.org/xroad-release-deb bionic-current main"
(alternativelyapt-add-repository "deb https://artifactory.niis.org/xroad-release-deb focal-current main"
- Alternatively, find the repository definition in /etc/apt/sources.list and edit it directly).
Upgrade the packages
Code Block |
---|
sudo apt update && sudo apt full-upgrade |
Verify the upgrade
Check that all services are running and activate the security tokens if xroad-autologin is not configured.
...
- If recovery from a upgrade failure is not possible and there is a backup/snapshot available, one can restore it and start over
- If you have the configuration backup available:
- Install a new configuration proxy to a Ubuntu 20.04 host (see the Configuration Proxy Manual)
Restore the configuration and activate the security token(s).
Code Block language bash title Example sudo systemctl stop xroad-signer nginx sudo tar xvf confproxy-backup.tar -C / sudo systemctl start xroad-signer nginx sudo -iu xroad signer-console login-token 0 PIN:***********
...
Page Properties | ||
---|---|---|
| ||
|