Skip to main content

Upgrade Debian 8 to 9

Please be sure to follow the notes on the Operating system upgrade page.

Instruction

  1. Download the operating system upgrade script with the following command.

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

  2. Run the script with the following command.

    php keyhelp_debian_upgrade_8_to_9.php

  3. You are now in the start screen of the application.
    After pressing [ENTER], the script will perform all necessary tasks in preparation for the upgrade. Additional restarts may be required. Perform these when prompted.

  4. The program flow is passed to the Debian application dist-upgrade. Please follow the instructions of this program.
    On questions about Should system config files be overwritten?, be sure to answer Keep the local version currently installed.

  5. In the last step, the script will be restarted automatically. Confirm the continuation of the upgrade with [ENTER]. The required configuration files will then be updated. Confirm the restart of the system when finished. The upgrade is now complete.

Congratulations, you are now using KeyHelp with Debian 9.

 

Problems with Fail2ban after upgrade

In rare cases, Fail2ban may stop working properly following an operating system upgrade to Debian 9. Please first check the status of your Fail2ban installation with the following command.

service fail2ban status

If the service is not shown as Active, try restarting the service.

service fail2ban restart

If Fail2Ban is still displayed as Inactive, try to reinstall Fail2ban. Execute the following commands.

apt-get purge fail2ban ;
apt-get install fail2ban ;
cp /home/keyhelp/www/keyhelp/install/config/common/fail2ban/jail.d/keyhelp.local /etc/fail2ban/jail.d/keyhelp.local ;
cp /home/keyhelp/www/keyhelp/install/config/common/fail2ban/filter.d/keyhelp-phpmyadmin.conf /etc/fail2ban/filter.d/keyhelp-phpmyadmin.conf ;
service fail2ban restart ;