Installationsfehler: Identifier DB not initialized yet

Hallo,
ich bekomme ab Schritt 96 von 250 folgenden Fehler:

Slim Application Error
The application could not run because of the following error:

Details
Type: RuntimeException
Message: Identifier DB not initialized yet
File: /var/www/shopware6/public/recovery/install/src/ContainerProvider.php
Line: 100

#0 /var/www/shopware6/public/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(118): Shopware\Recovery\Install\ContainerProvider::Shopware\Recovery\Install\{closure}(Object(Slim\Container))
#1 /var/www/shopware6/public/recovery/install/src/ContainerProvider.php(151): Pimple\Container->offsetGet('db')
#2 /var/www/shopware6/public/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(118): Shopware\Recovery\Install\ContainerProvider::Shopware\Recovery\Install\{closure}(Object(Slim\Container))
#3 /var/www/shopware6/public/recovery/install/src/ContainerProvider.php(177): Pimple\Container->offsetGet('dbal')
#4 /var/www/shopware6/public/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(118): Shopware\Recovery\Install\ContainerProvider::Shopware\Recovery\Install\{closure}(Object(Slim\Container))
#5 /var/www/shopware6/public/recovery/common/vendor/slim/slim/Slim/Container.php(123): Pimple\Container->offsetGet('migration.manag...')
#6 /var/www/shopware6/public/recovery/install/src/app.php(500): Slim\Container->get('migration.manag...')
#7 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#8 /var/www/shopware6/public/recovery/common/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#9 /var/www/shopware6/public/recovery/common/vendor/slim/slim/Slim/Route.php(356): Slim\Handlers\Strategies\RequestResponse->__invoke(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
#10 /var/www/shopware6/public/recovery/common/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#11 /var/www/shopware6/public/recovery/common/vendor/slim/slim/Slim/Route.php(334): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#12 /var/www/shopware6/public/recovery/common/vendor/slim/slim/Slim/App.php(515): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
#13 /var/www/shopware6/public/recovery/install/src/app.php(153): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
#14 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#15 /var/www/shopware6/public/recovery/common/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Closure), Array)
#16 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#17 /var/www/shopware6/public/recovery/common/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
#18 /var/www/shopware6/public/recovery/common/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
#19 /var/www/shopware6/public/recovery/common/vendor/slim/slim/Slim/App.php(405): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
#20 /var/www/shopware6/public/recovery/common/vendor/slim/slim/Slim/App.php(313): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
#21 /var/www/shopware6/public/recovery/install/index.php(51): Slim\App->run()
#22 {main}

Ordner-Berechtigungen/PHP-Extensions/PHP-Einstellungen werden wir am Anfang grün angezeigt.

Setup:
Ubuntu 16.04
Apache 2.4.39
Mariadb 10.4.6
PHP 7.3.7
Shopware 6.0.0 ea1

Ich hoffe Ihr habt noch eine Idee.

Gruß,
David

 

Edit: Ich sehe gerade das PHP-Version 7.3.7 und 7.2.20 wohl nicht kompatibel. Könnte es daran liegen? 
BTW: Bekomme ich überhaupt eine ältere Version installiert, wenn ich die beiden aktuellsten Versionen schon habe?

Könnte an der Version liegen.

Aber von der Meldung her klingt das eher so, als wäre die Connection vom DB Server geschlossen worden.

Hi,

Du benötigst auf jeden Fall MySQL 5.7 oder MariaDB 10.3 - sind diese Anforderungen in Deinem Webspace vorhanden ? Ggfs. Downgrade auf PHP 7.20.19 versuchen.

VG

MariaDB könnte ich nochmal mit 10.3 versuchen. Allerdings steht in den Voraussetzungen: MariaDB 10.3 oder höher.

PHP-Version bekomme ich jeweiles nur die aktuellsten 7.2 und 7.3 und kann entsprechend nicht unter 7.2.20 bzw 7.3.7.

Beim Blick in Datenbank kann ich trotzdem 148 angelegte Datenbanktabellen (Elemente) sehen (MariaDB 10.3.15 auf Debian 10). PHP ebenfalls 7.3.7

Alle Systemvorausetzungen waren mit grünem Häkchen versehen bei der vorhergehenden Prüfung der Systemvoraussetzungen vor Installationsbeginn.

Diese Fehlermeldung kommt bei mir bei der Installation (Version aus: install_6.0.0_ea1_1563354247.zip):

 

Error

Received an error message.
URL: importDatabase
Message: Internal Server Error

Please try to fix this error and restart the update.

Response

  

Slim Application Error

The application could not run because of the following error:

Details

Type: RuntimeException

Message: Identifier DB not initialized yet

File: /var/www/shopware/public/recovery/install/src/ContainerProvider.php

Line: 100

Trace

 #0 /var/www/shopware/public/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(118): Shopware\Recovery\Install\ContainerProvider::Shopware\Recovery\Install\{closure}(Object(Slim\Container)) #1 /var/www/shopware/public/recovery/install/src/ContainerProvider.php(151): Pimple\Container-\>offsetGet('db') #2 /var/www/shopware/public/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(118): Shopware\Recovery\Install\ContainerProvider::Shopware\Recovery\Install\{closure}(Object(Slim\Container)) #3 /var/www/shopware/public/recovery/install/src/ContainerProvider.php(177): Pimple\Container-\>offsetGet('dbal') #4 /var/www/shopware/public/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(118): Shopware\Recovery\Install\ContainerProvider::Shopware\Recovery\Install\{closure}(Object(Slim\Container)) #5 /var/www/shopware/public/recovery/common/vendor/slim/slim/Slim/Container.php(123): Pimple\Container-\>offsetGet('migration.manag...') #6 /var/www/shopware/public/recovery/install/src/app.php(500): Slim\Container-\>get('migration.manag...') #7 [internal function]: Closure-\>{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Array) #8 /var/www/shopware/public/recovery/common/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call\_user\_func(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array) #9 /var/www/shopware/public/recovery/common/vendor/slim/slim/Slim/Route.php(356): Slim\Handlers\Strategies\RequestResponse-\>\_\_invoke(Object(Closure), Object(Slim\Http\Request), Object(Slim\Http\Response), Array) #10 /var/www/shopware/public/recovery/common/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route-\>\_\_invoke(Object(Slim\Http\Request), Object(Slim\Http\Response)) #11 /var/www/shopware/public/recovery/common/vendor/slim/slim/Slim/Route.php(334): Slim\Route-\>callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response)) #12 /var/www/shopware/public/recovery/common/vendor/slim/slim/Slim/App.php(515): Slim\Route-\>run(Object(Slim\Http\Request), Object(Slim\Http\Response)) #13 /var/www/shopware/public/recovery/install/src/app.php(153): Slim\App-\>\_\_invoke(Object(Slim\Http\Request), Object(Slim\Http\Response)) #14 [internal function]: Closure-\>{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App)) #15 /var/www/shopware/public/recovery/common/vendor/slim/slim/Slim/DeferredCallable.php(43): call\_user\_func\_array(Object(Closure), Array) #16 [internal function]: Slim\DeferredCallable-\>\_\_invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App)) #17 /var/www/shopware/public/recovery/common/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call\_user\_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App)) #18 /var/www/shopware/public/recovery/common/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App-\>Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response)) #19 /var/www/shopware/public/recovery/common/vendor/slim/slim/Slim/App.php(405): Slim\App-\>callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response)) #20 /var/www/shopware/public/recovery/common/vendor/slim/slim/Slim/App.php(313): Slim\App-\>process(Object(Slim\Http\Request), Object(Slim\Http\Response)) #21 /var/www/shopware/public/recovery/install/index.php(51): Slim\App-\>run() #22 {main}

Du musst entweder auf PHP 7.3.8 warten oder eine Version unter 7.3.7 einsetzen. Das Problem wird von PHP in der nächsten Version gefixt.

Ich habe heute auf PHP 7.3.8 geupdatet und die Installation ging ohne Probleme durch Thumb-Up