Upgrade Debian 8 to 9
Please be sure to follow the notes on the Operating system upgrade page.
The additionally installable PHP interpreters are available under Debian 10 from PHP version 5.4.If older PHP interpreters are in use on your system, you must first change the affected domains to a higher version.
Instruction
- Download the operating system upgrade script with the following command.
wget --no-check-certificate https://install.keyhelp.de/scripts/
keyhelp_debian_upgrade_9_to_10keyhelp_debian_upgrade_8_to_9 -Okeyhelp_debian_upgrade_9_to_10.keyhelp_debian_upgrade_8_to_9.php - Run the script with the following command.
php
keyhelp_debian_upgrade_9_to_10.keyhelp_debian_upgrade_8_to_9.php - 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. - 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. -
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 109.
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 ;