# Erstinstallation: Slim Application Error

**URL:** https://forum.shopware.com/t/erstinstallation-slim-application-error/50792
**Category:** Installation/Einstieg
**Created:** [30. Januar 2018 um 13:24 UTC](https://forum.shopware.com/t/erstinstallation-slim-application-error/50792 "2018-01-30T13:24:14Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![UdoSchmitz](https://avatars.discourse-cdn.com/v4/letter/u/65b543/32.png) [@UdoSchmitz](https://forum.shopware.com/u/UdoSchmitz)
#### Post date: [30. Januar 2018 um 13:24 UTC](https://forum.shopware.com/t/erstinstallation-slim-application-error/50792/1 "2018-01-30T13:24:14Z")

</div>

Hallo,

beim ersten Installationsversuch (Linux, Uberspace) bekomme ich nach scheinbar erfolgreicher Einrichtung der Datenbank folgende Fehlermeldung beim Punkt „Installation“:

```
Error
Received an error message.
URL: importSnippets?offset=600&totalCount=1455
Message: HTTP/2.0 500

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/virtual/server/html/recovery/install/src/ContainerProvider.php
Line: 162
Trace
#0 /var/www/virtual/server/html/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(113): Shopware\Recovery\Install\ContainerProvider->Shopware\Recovery\Install\{closure}(Object(Pimple\Container))
#1 /var/www/virtual/server/html/recovery/install/src/app.php(634): Pimple\Container->offsetGet('db')
#2 [internal function]: {closure}()
#3 /var/www/virtual/server/html/recovery/common/vendor/slim/slim/Slim/Route.php(462): call_user_func_array(Object(Closure), Array)
#4 /var/www/virtual/server/html/recovery/common/vendor/slim/slim/Slim/Slim.php(1326): Slim\Route->dispatch()
#5 /var/www/virtual/server/html/recovery/common/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#6 /var/www/virtual/server/html/recovery/common/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#7 /var/www/virtual/server/html/recovery/common/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#8 /var/www/virtual/server/html/recovery/common/vendor/slim/slim/Slim/Slim.php(1271): Slim\Middleware\PrettyExceptions->call()
#9 /var/www/virtual/server/html/recovery/install/index.php(75): Slim\Slim->run()
#10 {main}

```

&nbsp;

---

<div class="post-metadata">

### Author: ![TimmeHosting](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timmehosting/32/15580_2.png) [@TimmeHosting](https://forum.shopware.com/u/TimmeHosting)
#### Post date: [30. Januar 2018 um 13:39 UTC](https://forum.shopware.com/t/erstinstallation-slim-application-error/50792/2 "2018-01-30T13:39:05Z")

</div>

Könnte ein Problem mit der Datenbank sein - existiert diese und stimmen die Zugangsdaten?

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/385eaa628505df573ebf33722f780335f53ac1b2.png)

Timme Hosting - schnelles nginx-Hosting

[www.timmehosting.de](https://timmehosting.de/)

---

<div class="post-metadata">

### Author: ![UdoSchmitz](https://avatars.discourse-cdn.com/v4/letter/u/65b543/32.png) [@UdoSchmitz](https://forum.shopware.com/u/UdoSchmitz)
#### Post date: [30. Januar 2018 um 13:53 UTC](https://forum.shopware.com/t/erstinstallation-slim-application-error/50792/3 "2018-01-30T13:53:48Z")

</div>

> [@TimmeHosting schrieb:](https://forum.shopware.com/profile/9009/TimmeHosting "TimmeHosting")
> 
> Könnte ein Problem mit der Datenbank sein - existiert diese und stimmen die Zugangsdaten?

Die DB existiert (Default von Uberspace angelegt), phpMyAdmin sagt:

```
Datenbank. Kollation Aktion
information_schema utf8_general_ci Rechte überprüfen
meinedb utf8_unicode_ci Rechte überprüfen
Insgesamt: 2 utf8mb4_unicode_ci 

```

Ich sehe auch Inhalte &nbsp;von „s\_addon\_premiums“ bis „s\_blog\_attributes“, dann ist Schluss.

Zugangsdaten: Ja, wenn ich die Login-Daten falsch eingegeben hätte, hätte der Installer mir nicht die DB „meinedb“ vorgeschlagen?

Ich habe schon gegoogelt, aber keine Antwort gefunden, die direkt passt. Es gab Vorschläge wie: Server antwortet nicht auf Frage nach verfügbarem Platz, Server antwortet zu langsam … Die Lösungen waren aber anscheinend für ältere Versionen von Shopware.

---

<div class="post-metadata">

### Author: ![TimmeHosting](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timmehosting/32/15580_2.png) [@TimmeHosting](https://forum.shopware.com/u/TimmeHosting)
#### Post date: [30. Januar 2018 um 13:57 UTC](https://forum.shopware.com/t/erstinstallation-slim-application-error/50792/4 "2018-01-30T13:57:39Z")

</div>

Gibt es Fehlermeldungen im Error-Log der Website oder in den Shopware-Logs? Evtl. ist der Installer in irgendeinen Timeout gelaufen, weil ja Tabellen da sind, aber die Installation nicht abgeschlossen wurde.

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/385eaa628505df573ebf33722f780335f53ac1b2.png)

Timme Hosting - schnelles nginx-Hosting

[www.timmehosting.de](https://timmehosting.de/)

---

<div class="post-metadata">

### Author: ![UdoSchmitz](https://avatars.discourse-cdn.com/v4/letter/u/65b543/32.png) [@UdoSchmitz](https://forum.shopware.com/u/UdoSchmitz)
#### Post date: [30. Januar 2018 um 14:02 UTC](https://forum.shopware.com/t/erstinstallation-slim-application-error/50792/5 "2018-01-30T14:02:30Z")

</div>

> [@TimmeHosting schrieb:](https://forum.shopware.com/profile/9009/TimmeHosting "TimmeHosting")
> 
> Gibt es Fehlermeldungen im Error-Log der Website oder in den Shopware-Logs? Evtl. ist der Installer in irgendeinen Timeout gelaufen, weil ja Tabellen da sind, aber die Installation nicht abgeschlossen wurde.

In welchem Verzeichnis finde ich diese? Die Installation steht und ist nicht abgeschlossen:

&nbsp;

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/0/075e4d84767baff370a3b8b7bf7f5afe5568e140.png)

---

<div class="post-metadata">

### Author: ![TimmeHosting](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timmehosting/32/15580_2.png) [@TimmeHosting](https://forum.shopware.com/u/TimmeHosting)
#### Post date: [30. Januar 2018 um 14:13 UTC](https://forum.shopware.com/t/erstinstallation-slim-application-error/50792/6 "2018-01-30T14:13:53Z")

</div>

Die Shopware-Logs findest Du unter var/logs; das Error-Log der Website sollte außerhalb des Document Roots liegen, vermutlich auch in einem Ordner, der sich nach Logs anhört - im Zweifel mußt Du bei Deinem Hoster anfragen.

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/385eaa628505df573ebf33722f780335f53ac1b2.png)

Timme Hosting - schnelles nginx-Hosting

[www.timmehosting.de](https://timmehosting.de/)

---

<div class="post-metadata">

### Author: ![UdoSchmitz](https://avatars.discourse-cdn.com/v4/letter/u/65b543/32.png) [@UdoSchmitz](https://forum.shopware.com/u/UdoSchmitz)
#### Post date: [30. Januar 2018 um 14:23 UTC](https://forum.shopware.com/t/erstinstallation-slim-application-error/50792/7 "2018-01-30T14:23:56Z")

</div>

> [@TimmeHosting schrieb:](https://forum.shopware.com/profile/9009/TimmeHosting "TimmeHosting")
> 
> Die Shopware-Logs findest Du unter var/logs; das Error-Log der Website sollte außerhalb des Document Roots liegen, vermutlich auch in einem Ordner, der sich nach Logs anhört - im Zweifel mußt Du bei Deinem Hoster anfragen.

Im Shopware /var/log liegt nur eine .htaccess

Der Server bietet mir ein supervisord.log an, da ist die letzte Meldung vom 25.1.

Hat der Installer nicht sein eigenes Log?

---

<div class="post-metadata">

### Author: ![UdoSchmitz](https://avatars.discourse-cdn.com/v4/letter/u/65b543/32.png) [@UdoSchmitz](https://forum.shopware.com/u/UdoSchmitz)
#### Post date: [30. Januar 2018 um 14:34 UTC](https://forum.shopware.com/t/erstinstallation-slim-application-error/50792/8 "2018-01-30T14:34:25Z")

</div>

Habe den Installer einfach erneut gestartet. Diesmal lief alles durch.

ಠ\_ಠ

Zeit für Feierabend …
