# Installationsfehler: Identifier DB not initialized yet

**URL:** <https://forum.shopware.com/t/installationsfehler-identifier-db-not-initialized-yet/60640>\
**Category:** Installation / Einstieg\
**Created:** [24. Juli 2019 um 13:00 UTC](https://forum.shopware.com/t/installationsfehler-identifier-db-not-initialized-yet/60640 "2019-07-24T13:00:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xcreen](https://avatars.discourse-cdn.com/v4/letter/x/f6c823/32.png) [@Xcreen](https://forum.shopware.com/u/Xcreen)\
**Post date:** [24. Juli 2019 um 13:00 UTC](https://forum.shopware.com/t/installationsfehler-identifier-db-not-initialized-yet/60640/1 "2019-07-24T13:00:35Z")

</div>

Hallo,  
ich bekomme ab Schritt 96&nbsp;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&nbsp;6.0.0 ea1

Ich hoffe Ihr habt noch eine Idee.

Gruß,  
David

&nbsp;

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

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [24. Juli 2019 um 14:55 UTC](https://forum.shopware.com/t/installationsfehler-identifier-db-not-initialized-yet/60640/2 "2019-07-24T14:55:51Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dogado\_shops](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@dogado\_shops](https://forum.shopware.com/u/dogado_shops)\
**Post date:** [24. Juli 2019 um 21:23 UTC](https://forum.shopware.com/t/installationsfehler-identifier-db-not-initialized-yet/60640/3 "2019-07-24T21:23:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Xcreen](https://avatars.discourse-cdn.com/v4/letter/x/f6c823/32.png) [@Xcreen](https://forum.shopware.com/u/Xcreen)\
**Post date:** [25. Juli 2019 um 07:16 UTC](https://forum.shopware.com/t/installationsfehler-identifier-db-not-initialized-yet/60640/4 "2019-07-25T07:16:45Z")

</div>

MariaDB könnte ich nochmal mit 10.3 versuchen. Allerdings steht in den&nbsp;Voraussetzungen:&nbsp;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.

---

<div class="post-metadata">

**Author:** ![SWTester6](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@SWTester6](https://forum.shopware.com/u/SWTester6)\
**Post date:** [6. August 2019 um 13:58 UTC](https://forum.shopware.com/t/installationsfehler-identifier-db-not-initialized-yet/60640/5 "2019-08-06T13:58:53Z")

</div>

Beim Blick in&nbsp;Datenbank kann ich trotzdem 148 angelegte Datenbanktabellen&nbsp;(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):

&nbsp;

Error

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

Please try to fix this error and restart the update.

Response

```
 &nbsp;

```

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}
```

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [6. August 2019 um 15:06 UTC](https://forum.shopware.com/t/installationsfehler-identifier-db-not-initialized-yet/60640/6 "2019-08-06T15:06:37Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Xcreen](https://avatars.discourse-cdn.com/v4/letter/x/f6c823/32.png) [@Xcreen](https://forum.shopware.com/u/Xcreen)\
**Post date:** [7. August 2019 um 16:02 UTC](https://forum.shopware.com/t/installationsfehler-identifier-db-not-initialized-yet/60640/7 "2019-08-07T16:02:02Z")

</div>

Ich habe heute auf PHP 7.3.8 geupdatet und die Installation ging ohne Probleme durch ![Thumb-Up](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/thumb-up.png "Thumb-Up")
