Another bump.
Hopefully someone would be able to help test this approach if it's possible to do an in-place-upgade (do-release-upgrade)
https://ubuntu.com/blog/how-to-upgrade-from-ubuntu-18-04-lts-to-20-04-lts-today
So far, openvpn's documentation only states an update via migration to a newer instance with the latest version
https://openvpn.net/vpn-server-resources/migrate-access-server-aws/
update:
background: i setup a linode with 18.04 in it and installed openvpnas on it. it's running on 2.11.3. fully updated the instance. i also had it registered to ubuntu one to allow it to get the latest patches for 18.04. take note of the openvpnas accounts and credentials.
in-place upgrade: here are the commands and remarks
lsb_release -a
sudo apt update
sudo apt full-upgrade -y
sudo apt autoremove -y
sudo apt install update-manager -y
sudo nano /etc/update-manager/release-upgrades.d/ubuntu-advantage-upgrades.cfg
[Sources]
AllowThirdParty=yes
sudo do-release-upgrade
- have the update restart services
update lsd 4.0
grub boot loader install to /sda
allow the update to restart
lsb_release -a
sudo apt autoremove -y
sudo nano /etc/apt/sources.list.d/openvpn-as-repo.list
- replace bionic with focal
sudo apt update && sudo apt -y install openvpn-as
the OS is now on after this the OS is updated from 18.x LTS to 20.04.6 LTS, openvpn is re-installed and is updated to the latest version 2.12.1 (as of typing) and the existing credentials intact.