Upgrade and Migrate Hermes SEG 18.04 to 20.04

Introduction

Hermes SEG version 18.04 is based on Ubuntu Server 18.04 LTS (Bionic Beaver). On May 31, 2023, Ubuntu will reach the end of the standard five year maintenance window for Long Term Support (LTS) for 18.04 which means there will be no more bug fixes or security patches unless you opt to upgrade to Ubuntu Pro which will extend support to 2028 or upgrade your Ubuntu installation to a higher version. Consequently, Hermes SEG is no longer supported on Ubuntu 18.04 LTS.

Fortunately, if you have an existing Hermes SEG installation on Ubuntu 18.04 LTS, you can perform a release upgrade to Ubuntu Server 20.04 LTS (Focal Fossa) which will extend the standard maintenance window to May 31, 2028. 

Ensure that you have a recent and valid backup of your Hermes SEG installation before attempting any of the steps below. These instructions are offered with absolutely no warranty or guarantee of any kind. We cannot be held liable for any damage that my occur to your system by following the instructions below!

Install the latest updates and patches on Ubuntu Server 18.04 LTS

sudo su
apt-get update && apt-get dist-upgrade -y && apt-get auto-remove -y

Perform a release upgrade of Ubuntu Server 18.04 LTS to Ubuntu Server 20.04 LTS

do-release-upgrade
Third party sources disabled

Some third party entries in your sources.list were disabled. You can
re-enable them after the upgrade with the 'software-properties' tool
or your package manager.

To continue please press [ENTER]
Do you want to start the upgrade?


18 installed packages are no longer supported by Canonical. You can
still get support from the community.

20 packages are going to be removed. 190 new packages are going to be
installed. 752 packages are going to be upgraded.

You have to download a total of 616 M. This download will take about
2 minutes with your connection.

Installing the upgrade can take several hours. Once the download has
finished, the process cannot be canceled.

 Continue [yN]  Details [d]

Figure 1

image.png

Figure 2

image.png

Run the Hermes SEG Migrate 18.04 to 20.04 Script

During the release upgrade, several obsolete packages are removed including packages that Hermes SEG requires to operate correctly. You must run the Hermes SEG Migrate 18.04 to 20.04 script in order to install newer versions of those packages and migrate the necessary settings.

rm -rf Hermes-Secure-Email-Gateway/
git clone https://github.com/deeztek/Hermes-Secure-Email-Gateway.git
cd Hermes-Secure-Email-Gateway/
chmod +x hermes_migrate_1804_2004.sh
./hermes_migrate_1804_2004.sh

Hermes SEG Pro installations will display an INVALID license after the release upgrade due to a mismatch in the device ID. Please send your serial number to support@deeztek.com and we can help you re-activate it.

Issues

If you run into any issues with the upgrade, you can post your question on our Github Issues page or our Matrix Community Chat channel.



Revision #9
Created 20 May 2023 11:46:36 by Dino Edwards
Updated 24 May 2023 15:54:25 by Dino Edwards