Probleme beim Upgrade von Ubuntu 22 auf 24
Posted: Tue 17. Sep 2024, 12:53
Das Update hat einen meiner Server leider etwas demoliert 
Nun fange ich neu an. Aber die Installation von KeyHelp auf einem blanken System, um dann das Backup einspielen zu können, schlägt fehl:
--
_ __ _ _ _ (R)
| |/ /___ _ _| |_| |___| |___
| | / -_) |_/ | _ | -_) | _ \
|_|\_\___|\__, |_| |_|___|_| _/ Ihr Server Control Panel
=========== |___/ ========== |_| ========================================
Installation wird durchgeführt:
Update sources list ................................................ OKAY
Installation requirements .......................................... OKAY
Hostname ........................................................... OKAY
Sudo ............................................................... OKAY
Bind9 .............................................................. OKAY
SSL/TLS ............................................................ OKAY
PHP ................................................................ OKAY
Apache web server .................................................. OKAY
PHP-FPM ............................................................ OKAY
MariaDB ............................................................ OKAY
KeyHelp ............................................................ OKAY
Backup tools ....................................................... OKAY
Firewall ........................................................... OKAY
SSH ................................................................ OKAY
ProFTPD ............................................................ OKAY
Postfix ............................................................ OKAY
Dovecot ............................................................ OKAY
Email protection ................................................... OKAY
AWStats ............................................................ OKAY
Fail2ban .......................................................... ERROR
Logrotate .......................................................... OKAY
Composer ........................................................... OKAY
PhpMyAdmin 5.2.1
Warning: Database error: SQLSTATE[HY000] [2002] Connection refused in /home/keyhelp/www/keyhelp/core-ns/Database/DatabaseConnection.php on line 499
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/keyhelp/www/keyhelp/core-ns/Database/DatabaseConnection.php:253
Stack trace:
#0 /home/keyhelp/www/keyhelp/core-ns/Database/DatabaseConnection.php(343): Database\DatabaseConnection->query()
#1 /home/keyhelp/www/keyhelp/core-ns/Database/DatabaseConnection.php(613): Database\DatabaseConnection->fetchColumn()
#2 /home/keyhelp/www/keyhelp/core-ns/Database/DatabaseConnection.php(181): Database\DatabaseConnection->loadServerInformation()
#3 /home/keyhelp/www/keyhelp/core-ns/Install/KeyHelpInstaller.php(385): Database\DatabaseConnection->__construct()
#4 /home/keyhelp/www/keyhelp/core-ns/Install/KeyHelpInstaller.php(266): Install\KeyHelpInstaller->databaseOperation()
#5 /home/keyhelp/www/keyhelp/install/install.php(838): Install\KeyHelpInstaller->installComponent()
#6 {main}
thrown in /home/keyhelp/www/keyhelp/core-ns/Database/DatabaseConnection.php on line 253
--

Nun fange ich neu an. Aber die Installation von KeyHelp auf einem blanken System, um dann das Backup einspielen zu können, schlägt fehl:
--
_ __ _ _ _ (R)
| |/ /___ _ _| |_| |___| |___
| | / -_) |_/ | _ | -_) | _ \
|_|\_\___|\__, |_| |_|___|_| _/ Ihr Server Control Panel
=========== |___/ ========== |_| ========================================
Installation wird durchgeführt:
Update sources list ................................................ OKAY
Installation requirements .......................................... OKAY
Hostname ........................................................... OKAY
Sudo ............................................................... OKAY
Bind9 .............................................................. OKAY
SSL/TLS ............................................................ OKAY
PHP ................................................................ OKAY
Apache web server .................................................. OKAY
PHP-FPM ............................................................ OKAY
MariaDB ............................................................ OKAY
KeyHelp ............................................................ OKAY
Backup tools ....................................................... OKAY
Firewall ........................................................... OKAY
SSH ................................................................ OKAY
ProFTPD ............................................................ OKAY
Postfix ............................................................ OKAY
Dovecot ............................................................ OKAY
Email protection ................................................... OKAY
AWStats ............................................................ OKAY
Fail2ban .......................................................... ERROR
Logrotate .......................................................... OKAY
Composer ........................................................... OKAY
PhpMyAdmin 5.2.1
Warning: Database error: SQLSTATE[HY000] [2002] Connection refused in /home/keyhelp/www/keyhelp/core-ns/Database/DatabaseConnection.php on line 499
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/keyhelp/www/keyhelp/core-ns/Database/DatabaseConnection.php:253
Stack trace:
#0 /home/keyhelp/www/keyhelp/core-ns/Database/DatabaseConnection.php(343): Database\DatabaseConnection->query()
#1 /home/keyhelp/www/keyhelp/core-ns/Database/DatabaseConnection.php(613): Database\DatabaseConnection->fetchColumn()
#2 /home/keyhelp/www/keyhelp/core-ns/Database/DatabaseConnection.php(181): Database\DatabaseConnection->loadServerInformation()
#3 /home/keyhelp/www/keyhelp/core-ns/Install/KeyHelpInstaller.php(385): Database\DatabaseConnection->__construct()
#4 /home/keyhelp/www/keyhelp/core-ns/Install/KeyHelpInstaller.php(266): Install\KeyHelpInstaller->databaseOperation()
#5 /home/keyhelp/www/keyhelp/install/install.php(838): Install\KeyHelpInstaller->installComponent()
#6 {main}
thrown in /home/keyhelp/www/keyhelp/core-ns/Database/DatabaseConnection.php on line 253
--