#96966Postgres: Installation fails at step 2/5
Description
I tried installing TYPO3 10.4.24 on Debian 11 with Nginx, php-fpm and postgresql 13.
Installation when moving from Step 1 to Step 2/5: i never get to enter the DB-Dtails.
Firefox Console:
GEThttps://deepthought.zegenet.eu/typo3/install.php?install[action]=checkDatabaseConnect
[HTTP/2 500 Internal Server Error 45ms]
Uncaught (in promise)
Object { response: Response }
response: Response { type: "basic", url: "https://deepthought.zegenet.eu/typo3/install.php?install[action]=checkDatabaseConnect", redirected: false, … }
body: ReadableStream { locked: false }
bodyUsed: false
headers: Headers { }
ok: false
redirected: false
status: 500
statusText: "Internal Server Error"
type: "basic"
url: "https://deepthought.zegenet.eu/typo3/install.php?install[action]=checkDatabaseConnect"
<prototype>: ResponsePrototype { clone: clone(), arrayBuffer: arrayBuffer(), blob: blob(), … }
<prototype>: Object { … }
constructor: class { constructor(e) }
dereference: async function dereference()
raw: function raw()
resolve: async function resolve(e)
<prototype>: Object { … }
nginx error.log
2022/02/18 13:46:21 [error] 14879#14879: *355 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mysqli_init() in /var/www/deepthought.zegenet.eu/typo3_src-10.4.24/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/MysqliConnection.php:64 Stack trace: #0 /var/www/deepthought.zegenet.eu/typo3_src-10.4.24/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/Mysqli/Driver.php(16): Doctrine\DBAL\Driver\Mysqli\MysqliConnection->__construct() #1 /var/www/deepthought.zegenet.eu/typo3_src-10.4.24/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(362): Doctrine\DBAL\Driver\Mysqli\Driver->connect() #2 /var/www/deepthought.zegenet.eu/typo3_src-10.4.24/typo3/sysext/core/Classes/Database/Connection.php(101): Doctrine\DBAL\Connection->connect() #3 /var/www/deepthought.zegenet.eu/typo3_src-10.4.24/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(428): TYPO3\CMS\Core\Database\Connection->connect() #4 /var/www/deepthought.zegenet.eu/typo3_src-10.4.24/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(388): Doctrine\DBAL\Connectio" while reading response header from upstream, client: 139.178.125.26, server: deepthought.zegenet.eu, request: "GET /typo3/install.php?install[action]=checkDatabaseConnect HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php-fpm.sock:", host: "deepthought.zegenet.eu", referrer: "https://deepthought.zegenet.eu/typo3/install.php"
Looks like the install.php is looking for mysql when no mysql is present. The install.php also creates a LocalConfiguration.php:
<?php
return [
'BE' => [
'explicitADmode' => 'explicitAllow',
'loginSecurityLevel' => 'normal',
],
'DB' => [
'Connections' => [
'Default' => [
'charset' => 'utf8',
'driver' => 'mysqli',
],
],
],
'EXTENSIONS' => [
'backend' => [
'backendFavicon' => '',
'backendLogo' => '',
'loginBackgroundImage' => '',
'loginFootnote' => '',
'loginHighlightColor' => '',
'loginLogo' => '',
],
'extensionmanager' => [
'automaticInstallation' => '1',
'offlineMode' => '0',
],
],
'FE' => [
'disableNoCacheParameter' => true,
],
'SYS' => [
'encryptionKey' => '82e5ff5aefbd41ffc9a2cd2781a8302c0dc9d6c2c66fc90dadf8213a0c1f3202c4d376141e3246f6804ff659c7836e56',
'features' => [
'felogin.extbase' => true,
'fluidBasedPageModule' => true,
'rearrangedRedirectMiddlewares' => true,
'unifiedPageTranslationHandling' => true,
'yamlImportsFollowDeclarationOrder' => true,
],
'sitename' => 'New TYPO3 site',
],
];Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.