Note: It is recommended that you create a restore point or snapshot for your VM and have at least 1GB of free disk space before beginning the upgrade.
-
- Connect to the OVA running your collector, via SSH or by connecting to the VM server running the OVA and launch a bash shell instance (option 6 in the agent-console menu).
- Confirm the version of release the VM is running using
lsb_release -a
: - Download the migration helper script.
curl -fsSL https://apt.my.auvik.com/agent/2204-migration-script.sh | sudo bash
The script will handle:-
updating and adding the auvik GPG key to the correct location within the VM
-
the APT repository location to point to the new 22.04 location (https://apt.my.auvik.com/agent/stable/ubuntu/jammy).
-
upgrading / installing any necessary packages
Once the script is completed, the VM will be rebooted automatically.
-
-
Once the VM is rebooted, launch another bash shell instance (option 6 in the agent-console menu)
-
Start the release upgrade by running
do-release-upgrade --allow-third-party
-
When prompted to start the upgrade, press 'y' to begin the release upgrade. The output indicates how much room is approximately needed in order to proceed.
- During the upgrade process there may be some packages which update their underlying config. If prompted, use the arrow keys to select ‘install the package maintainer’s version:
- After applying the distribution upgrade, reboot the machine to ensure all package settings have been applied. Once rebooted, confirm that the release upgrade was successful by running
lsb_release -a
- Connect to the OVA running your collector, via SSH or by connecting to the VM server running the OVA and launch a bash shell instance (option 6 in the agent-console menu).