Since version 18.1 KeyHelp also supports the operating system Ubuntu 18.04 LTS.

Do you run your KeyHelp on a server with Ubuntu 16.04 LTS and want to take advantage of the optimized Ubuntu 18.04 LTS? With this guide, we give you the opportunity to update the software by yourself and provide you with the required script and detailed instructions. Please do not hesitate to contact us if you have any questions or need assistance.

There are also instructions and corresponding scripts for older operating systems such as Ubuntu 12.04 / Ubuntu 14.04 / Debian 8 to comfortably upgrade by yourself. Further information can be found here.

 


 

Upgrade guide

 

Preparation)
Download the script with this command:

wget --no-check-certificate https://install.keyhelp.de/scripts/keyhelp_ubuntu_upgrade_16_to_18_php7 -O keyhelp_ubuntu_upgrade_16_to_18.php

Afterwards start script with:

php keyhelp_ubuntu_upgrade_16_to_18.php

ATTENTION:  After you have started the script and confirmed the start of the upgrade with [ENTER], all the steps described here must be completed. If you cancel the current process, any changes already made must be undone manually.

ATTENTION: Although extensively tested, a previous backup of the server should always be performed.

1.)
Follow the instructions of the script. It will automatically run necessary tasks in preparation for the upgrade. Your current operating system will be updated.

2.)
During the execution of the script, the control of the program flow is transferred to “do-release-upgrade”. Please follow the instructions of the program and answer the questions (see below). Note that depending on the services installed on your server, you may receive further questions.

  • Continue running under SSH?
    ⇒ y
  • Note SSH
    ⇒ [ENTER]
  • Disable third-party package sources
    ⇒ [ENTER]
  • Do you want to start the upgrade?
    ⇒ y
  • Configuration file »/etc/default/grub«
    ⇒ Keep your currently-installed version
  • Configuration file »/etc/apache2/apache2.conf«
    ⇒ Keep your currently-installed version
  • Configuration file »/etc/apache2/mods-available/mine.conf«
    ⇒ Keep your currently-installed version
  • Configuration file »/etc/nagios/nrpe.cfg«
    ⇒ Keep your currently-installed version
  • Configuration file »/etc/ssh/sshd_config«
    ⇒ Keep your currently-installed version
  • Configuration file »/etc/awstats/awstats.conf«
    ⇒ Keep your currently-installed version
  • Configuration file »/etc/dovecot/conf.d/10-ssl.conf«
    ⇒ Keep your currently-installed version
  • Configuration file »/etc/init.d/proftpd«
    ⇒ Keep your currently-installed version
  • Configuration file »/etc/apt/apt.conf.d/50unattended-upgrades«
    ⇒ Keep your currently-installed version
  • Configuration file »/etc/postfix-policyd-spf-python/policyd-spf.conf«
    ⇒ Keep your currently-installed version
  • Remove obsolete packages?
    ⇒ y
  • Restart required
    ⇒ y

3.)
Please execute the following command after the restart:

phpenmod ioncube

Afterwards restart the script again with:

php keyhelp_ubuntu_upgrade_16_to_18.php

4.)
Follow the script’s instructions. This last step completes the upgrade. Your system will then restart.

In this step, the web server configuration files are rewritten. Any web server error messages that may appear can be ignored in this step and are reasoned in the order in which the pending tasks must be processed. After all tasks have been completed, these errors no longer exist.

Congratulations, you now use KeyHelp with Ubuntu LTS 18.04!