# Migrationsmanager gibt "503 Service Unavailable" aus.

**URL:** https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039
**Category:** Installation/Einstieg
**Created:** [22. September 2016 um 13:26 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039 "2016-09-22T13:26:03Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![derHeiko](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@derHeiko](https://forum.shopware.com/u/derHeiko)
#### Post date: [22. September 2016 um 13:26 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039/1 "2016-09-22T13:26:03Z")

</div>

Hallo liebe Communtiy,

ich habe versucht meinem Modified Shop zu Shopware zu migrieren.

Ich erhalte im letzten Schritt&nbsp;die Meldung:

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/b/b5be2a9240308fa82b7776b14d54c130047e6cd6.jpeg)

Es erscheint kurz vorher noch die Meldung:&nbsp;

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/a/aeb7ba56b09b3b04c676f41d43a1a7abf223d71f.jpeg),

dann bricht er aber und meldet eben: Import fehlgeschlagen -&nbsp;503 Service Unavailable

Ich nutze dafür eine nakte Shopware 5.2.5 installation&nbsp;(die letzte wo der Migrationsmanager derzeit freigeschaltet ist).  
Auf der anderen Seite Modified Shop in der Version "modified eCommerce Shopssoftware v1.06 rev 4356 "

Beides läuft zusammen auf einem eigenen Unbuntu Server bei All-Inkl.

Vielen lieben Dank vorab für die Mühe.

&nbsp;

Gruß Heiko

---

<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: [22. September 2016 um 16:45 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039/2 "2016-09-22T16:45:36Z")

</div>

Gibt es eine entsprechende Fehlermeldung im Error-Log der Website oder in den Shopware-Logs?

![](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: ![derHeiko](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@derHeiko](https://forum.shopware.com/u/derHeiko)
#### Post date: [26. September 2016 um 07:29 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039/3 "2016-09-26T07:29:50Z")

</div>

Guten morgen,

leider nein.&nbsp;

Im Shopware Log zeigt er mir nur an das eine neue Version vorhanden ist von Shopware.&nbsp;

In der Error.log ist leider auch nichts brauchbares drin.

---

<div class="post-metadata">

### Author: ![derHeiko](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@derHeiko](https://forum.shopware.com/u/derHeiko)
#### Post date: [26. September 2016 um 07:39 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039/4 "2016-09-26T07:39:16Z")

</div>

Ich habe jetzt mal auf die &nbsp;5.2.7 angehoben, da auch der Migrationsmanager dafür frei gegeben ist.&nbsp;  
Leider gleicher Fehler.&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: [26. September 2016 um 17:43 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039/5 "2016-09-26T17:43:48Z")

</div>

> &nbsp;
> 
> Im Shopware Log zeigt er mir nur an das eine neue Version vorhanden ist von Shopware.&nbsp;
> 
> &nbsp;

Hast Du Dir denn das Shopware-Log im var/logs-Ordner angesehen?

![](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: ![sschreier](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sschreier/32/23296_2.png) [@sschreier](https://forum.shopware.com/u/sschreier)
#### Post date: [28. September 2016 um 06:40 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039/6 "2016-09-28T06:40:54Z")

</div>

> [@derHeiko schrieb:](https://forum.shopware.com/profile/20958/derHeiko "derHeiko")
> 
> Hallo liebe Communtiy,
> 
> ich habe versucht meinem Modified Shop zu Shopware zu migrieren.
> 
> Ich erhalte im letzten Schritt&nbsp;die Meldung:
> 
> ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/b/b5be2a9240308fa82b7776b14d54c130047e6cd6.jpeg)
> 
> Es erscheint kurz vorher noch die Meldung:&nbsp;
> 
> ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/a/aeb7ba56b09b3b04c676f41d43a1a7abf223d71f.jpeg),
> 
> dann bricht er aber und meldet eben: Import fehlgeschlagen -&nbsp;503 Service Unavailable
> 
> Ich nutze dafür eine nakte Shopware 5.2.5 installation&nbsp;(die letzte wo der Migrationsmanager derzeit freigeschaltet ist).  
> Auf der anderen Seite Modified Shop in der Version "modified eCommerce Shopssoftware v1.06 rev 4356 "
> 
> Beides läuft zusammen auf einem eigenen Unbuntu Server bei All-Inkl.
> 
> Vielen lieben Dank vorab für die Mühe.
> 
> &nbsp;
> 
> Gruß Heiko

Hallo,

am besten aktivierst du einmal die Shopware Debug - Parameter: [Debugging Shopware](https://developers.shopware.com/developers-guide/debugging/#default-log-output) . Danach dürfte es dir zumindestens im (Ajax-)Request die vollständige Fehlermeldung anzeigen. Ich gehe davon aus, dass es sicher entweder an einer zu niedrigen Skriptausführzeit ( php\_value max\_execution\_time ) oder zu wenig Arbeitsspeicher ( php\_value memory\_limit ) des Hostingpakets / Servers liegt.

Beste Grüße

Sebastian

---

<div class="post-metadata">

### Author: ![derHeiko](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@derHeiko](https://forum.shopware.com/u/derHeiko)
#### Post date: [29. September 2016 um 12:49 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039/7 "2016-09-29T12:49:42Z")

</div>

Hallo und danke an euch beiden für die Hilfe.&nbsp;

Ich habe im Log Verzeichnis nachgeschaut und konnte da keinen error.log finden.&nbsp;  
Habe folgendes dann nach eurer Anleitung in die Config eingebaut.&nbsp;

```
  array (
    'host' => 'localhost',
    'port' => '3306',
    'username' => ' *******',
    'password' => ' ******',
    'dbname' => ' *****',
  ),

array(
    'db' => [
        // your database configuration
    ],
    'front' => [
        'showException' => true
    ],
    'phpsettings' => [
        'display_errors' => 1,
    ],
)

);

```

Brachte aber leider immer noch keine error.log hervor.&nbsp;

Dann habe ich in [www.meinshop.de/var/log/](http://www.meinshop.de/var/log/) eine error.log angelegt.

Auch dann wird dort leider nicht reingeschrieben.&nbsp;

Die gleiche Aktion habe ich vor einem Jahr auf dem gleichen Server schon mal gemacht.&nbsp;  
Eben nur mit Shopware 5.0

Das hatte auf anhieb funktioniert.

---

<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: [29. September 2016 um 12:54 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039/8 "2016-09-29T12:54:12Z")

</div>

Da fehlt auch noch was.&nbsp;

Mach das mal wie hier beschrieben:&nbsp;[http://community.shopware.com/Fehlermeldungen-in-Shopware-debuggen\_detail\_1880.html](http://community.shopware.com/Fehlermeldungen-in-Shopware-debuggen_detail_1880.html)

---

<div class="post-metadata">

### Author: ![derHeiko](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@derHeiko](https://forum.shopware.com/u/derHeiko)
#### Post date: [29. September 2016 um 13:10 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039/9 "2016-09-29T13:10:18Z")

</div>

Danke Herr Naczenski,

jetzt habe ich endliche eine brauchbare Fehlermeldung! Mein&nbsp;Fehler 😉

```
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /www/htdocs/ ****/*****.de/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php on line 91
503 Service Unavailable

```

Dann werde ich mich wohl nochmal mit meinem Hoster unterhalten müssen.&nbsp;

Wieviel bytes an memory werden denn benötigt?

Mit freundlichen Gruß

Heiko&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: [2. Oktober 2016 um 00:47 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039/10 "2016-10-02T00:47:32Z")

</div>

Für Shopware solltest Du mind. ein PHP-Memory-Limit von 256MB eingestellt haben. Momentan sind es nur 64MB, was viel zu wenig ist (s. [http://community.shopware.com/Systemanforderungen\_detail\_1840.html](http://community.shopware.com/Systemanforderungen_detail_1840.html) ).

![](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: ![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: [2. Oktober 2016 um 09:02 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039/11 "2016-10-02T09:02:43Z")

</div>

Die Migration kann u.U. auch noch mehr davon brauchen, da einige Dinge zwischengespeichert werden müssen.  
&nbsp;

---

<div class="post-metadata">

### Author: ![derHeiko](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@derHeiko](https://forum.shopware.com/u/derHeiko)
#### Post date: [10. Oktober 2016 um 06:59 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039/12 "2016-10-10T06:59:56Z")

</div>

Hallo,

vielen Dank für die Hilfe.&nbsp;

Ich habe jetzt in der htaccess&nbsp;

> php\_value memory\_limit 512M

eingefügt.

Leider erhalte ich immer noch die Meldung:

> **Fatal error** : Allowed memory size of 536870912 bytes exhausted (tried to allocate 89 bytes) in **/www/htdocs/\*\*\*\*/\*\*\*\*\*/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php** on line&nbsp; **132**  
> 503 Service Unavailable

Haben Sie evtl. noch eine Lösung?&nbsp;

Vielen Dank vorab.

---

<div class="post-metadata">

### Author: ![derHeiko](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@derHeiko](https://forum.shopware.com/u/derHeiko)
#### Post date: [10. Oktober 2016 um 10:55 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039/13 "2016-10-10T10:55:47Z")

</div>

So, ich bin ein Schritt weiter.&nbsp;

Ich habe den Memory auf 1024MB angehoben.&nbsp;

Rund 20 Minuten stand der Balken, dann kam die Meldung:&nbsp;

> Internal Server Error
> 
> The server encountered an internal error or misconfiguration and was unable to complete your request.
> 
> Please contact the server administrator, webmaster@\*\*\*.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.
> 
> More information about this error may be available in the server error log.

In der error.log kann ich leider nichts finden.&nbsp;&nbsp;

Rund 7000 Artikel hat er auch schon übernommen.&nbsp;

Ich habe auch mal einen Durchlauf nur mit den Kategorien laufen lassen, das ging ohne Probleme durch.  
Vielleicht sollte ich noch erwähnen, das rund 200.000 Artikel zu portieren sind.&nbsp;

---

<div class="post-metadata">

### Author: ![derHeiko](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@derHeiko](https://forum.shopware.com/u/derHeiko)
#### Post date: [11. Oktober 2016 um 07:12 UTC](https://forum.shopware.com/t/migrationsmanager-gibt-503-service-unavailable-aus/40039/14 "2016-10-11T07:12:15Z")

</div>

Ich habe heute die error.log von gestern durch All-Inkl erhalten.&nbsp;

```
[Mon Oct 10 15:46:23 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w****/cgi-bin/cgi-fpm/php56-fpm" stderr: PHP message: PHP Fatal error: Call to a member function getChildren() on null in /www/htdocs/w****/domain.tld/engine/Shopware/Controllers/Backend/Category.php on line 653, referer: http://domain.tld/backend/
[Mon Oct 10 15:46:30 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w****/cgi-bin/cgi-fpm/php56-fpm" stderr: PHP message: PHP Fatal error: Call to a member function getChildren() on null in /www/htdocs/w****/domain.tld/engine/Shopware/Controllers/Backend/Category.php on line 653, referer: http://domain.tld/backend/
[Mon Oct 10 15:46:46 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w****/cgi-bin/cgi-fpm/php56-fpm" stderr: PHP message: PHP Fatal error: Call to a member function getChildren() on null in /www/htdocs/w****/domain.tld/engine/Shopware/Controllers/Backend/Category.php on line 653, referer: http://domain.tld/backend/
[Mon Oct 10 15:48:10 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w****/cgi-bin/cgi-fpm/php56-fpm" stderr: PHP message: PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'd02365ab.s_core_plugins' doesn't exist' in /www/htdocs/w****/domain.tld/engine/Shopware/Kernel.php:302, referer: http://domain.tld/backend/
[Mon Oct 10 15:48:10 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w **** /cgi-bin/cgi-fpm/php56-fpm" stderr: Stack trace:, referer: http://domain.tld/backend/
[Mon Oct 10 15:48:10 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w ****/cgi-bin/cgi-fpm/php56-fpm" stderr: #0 /www/htdocs/w**** /domain.tld/engine/Shopware/Kernel.php(302): PDO->query('SELECT name FRO...'), referer: http://domain.tld/backend/
[Mon Oct 10 15:48:10 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w ****/cgi-bin/cgi-fpm/php56-fpm" stderr: #1 /www/htdocs/w**** /domain.tld/engine/Shopware/Kernel.php(268): Shopware\\Kernel->initializePlugins(), referer: http://domain.tld/backend/
[Mon Oct 10 15:48:10 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w ****/cgi-bin/cgi-fpm/php56-fpm" stderr: #2 /www/htdocs/w**** /domain.tld/engine/Shopware/Components/HttpCache/AppCache.php(249): Shopware\\Kernel->boot(), referer: http://domain.tld/backend/
[Mon Oct 10 15:48:10 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w ****/cgi-bin/cgi-fpm/php56-fpm" stderr: #3 /www/htdocs/w**** /domain.tld/vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\\Components\\HttpCache\\AppCache->forward(Object(Symfony\\Component\\HttpFoundation\\Request), true), referer: http://domain.tld/backend/
[Mon Oct 10 15:48:10 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w ****/cgi-bin/cgi-fpm/php56-fpm" stderr: #4 /www/htdocs/w**** /domain.tld/engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\\Component\\HttpKernel\\HttpCache\\HttpCach..., referer: http://domain.tld/backend/
[Mon Oct 10 15:48:47 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w ****/cgi-bin/cgi-fpm/php56-fpm" stderr: PHP message: PHP Fatal error: Uncaught exception 'Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException' with message 'You have requested a non-existent service "shop". Did you mean one of these: "shopware.plugin.config_reader", "shopware.plugin.cached_config_reader", "shopware.escaper", "shopware.csrftoken_validator"?' in /www/htdocs/w**** /domain.tld/vendor/symfony/dependency-injection/Container.php:305
[Mon Oct 10 15:48:47 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w **** /cgi-bin/cgi-fpm/php56-fpm" stderr: Stack trace:
[Mon Oct 10 15:48:47 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w ****/cgi-bin/cgi-fpm/php56-fpm" stderr: #0 /www/htdocs/w**** /domain.tld/engine/Shopware/Components/DependencyInjection/Container.php(182): Symfony\\Component\\DependencyInjection\\Container->get('shop', 1)
[Mon Oct 10 15:48:47 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w ****/cgi-bin/cgi-fpm/php56-fpm" stderr: #1 /www/htdocs/w**** /domain.tld/engine/Shopware/Components/DependencyInjection/Container.php(138): Shopware\\Components\\DependencyInjection\\Container->doLoad('shop', 1)
[Mon Oct 10 15:48:47 2016] [error] [client ***.**. **.**] FastCGI: server "/www/htdocs/w ****/cgi-bin/cgi-fpm/php56-fpm" stderr: #2 /www/htdocs/w**** /domain.tld/engine/Shopware/Components/DependencyInjection/Bridge/Session.php(57): Shopware\\Components\\DependencyInjection\\Container->get('Shop'...

```

Vielleicht hilft das zur Fehlersuche
