Skip to content

Operating system upgrades ​

DANGER

Before upgrading your operating system make sure to make a backup! We do not provide support for broken operating system installations. We only provide this page for information about Lokahostcp issues that may come up while upgrading.

General ​

INFO

Make sure to verify that MariaDB is running on a supported version for the new operating system. If that is not the case, update MariaDB version to a supported version before upgrading your OS!

Once a backup has been made, update Lokahostcp to the last supported version:

bash
apt update && apt upgrade

Follow system instructions to upgrade your OS. When done, make sure to check that the files in /etc/apt/sources.list.d are not hashed out. If they are, remove the hash and run apt update && apt upgrade again.

Debian 10 Buster to Debian 11 Bullseye ​

SHA512 password encryption ​

bash
sed -i "s/obscure yescrypt/obscure sha512/g" /etc/pam.d/common-password

Exim4 config ​

bash
rm -f /etc/exim4/exim4.conf.template
cp -f /usr/local/lokahostcp/install/deb/exim/exim4.conf.4.94.template /etc/exim4/exim4.conf.template

ProFTPD ​

Comment out line 29 in /etc/profpd/prodtpd.conf.

Debian 9 Stretch to Debian 10 Buster ​

No issues have been found in the past.

Ubuntu 20.04 Focal to Ubuntu 22.04 Jammy ​

TIP

Verify that MariaDB is running at least version 10.6. If not, first upgrade to this version in your current operating system! After that, comment out the line in /etc/apt/sources.list.d/mariadb.list and then upgrade your OS.

SHA512 password encryption ​

bash
sed -i "s/obscure yescrypt/obscure sha512/g" /etc/pam.d/common-password

Exim4 config ​

bash
rm -f /etc/exim4/exim4.conf.template
cp -f /usr/local/lokahostcp/install/deb/exim/exim4.conf.4.94.template /etc/exim4/exim4.conf.template

ProFTPD ​

Comment out line 29 in /etc/profpd/prodtpd.conf.

Ubuntu 18.04 Bionic to Ubuntu 20.04 Focal ​

No issues have been found in the past.

Older versions ​

We haven’t tested the upgrade paths from Ubuntu 16.04 to Ubuntu 20.04 or Debian 8 Jessy to Debian 10

Released under the GPLv3 License.