# Probleme bei Update von 5.1.4 auf 5.2.21

**URL:** <https://forum.shopware.com/t/probleme-bei-update-von-5-1-4-auf-5-2-21/45130>\
**Category:** Allgemein\
**Created:** [10. April 2017 um 10:09 UTC](https://forum.shopware.com/t/probleme-bei-update-von-5-1-4-auf-5-2-21/45130 "2017-04-10T10:09:34Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![pwwu](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pwwu](https://forum.shopware.com/u/pwwu)\
**Post date:** [10. April 2017 um 10:09 UTC](https://forum.shopware.com/t/probleme-bei-update-von-5-1-4-auf-5-2-21/45130/1 "2017-04-10T10:09:34Z")

</div>

Hallo,

Wir betreiben aktuell Shopware Version 5.1.4 für unseren Onlineshop und wollen nun das Sicherheitsupdate 5.2.21 einspielen. Zunächst wurden die Vorraussetzungen für das Update (php Version etc.) erfüllt. Nach dem Erstellen der Backups und dem Hochladen der Updatedateien geht der Shop wie erwartet in den Wartungsmodus.

Jetzt zum Problem: Ein Aufruf der Seite /recovery/update leitet sofort auf /recovery/install/index.php um. Wenn wir versuchen das Update über die Shell-Konsole aufzurufen ( php recovery/update/index.php) erhalten wir folgende Fehlermeldung:

```
    /html$ php recovery/update/index.php
    Failed loading /usr/local/php/ext/ioncube_loader_lin_5.4.so: /usr/local/php/ext/ioncube_loader_lin_5.4.so: cannot open shared object file: No such file or directory
    Cannot load the ionCube PHP Loader - extension already loaded
    Cannot load Zend Guard Loader - extension already loaded
    Status: 404 Not Found

    Content-type: text/html;charset=UTF-8

    
    Notice: Undefined index: REQUEST_METHOD in /html/recovery/common/vendor/slim/slim/Slim/Environment.php on line 124
    
    Notice: Undefined index: REMOTE_ADDR in /html/recovery/common/vendor/slim/slim/Slim/Environment.php on line 127
    
    Notice: Undefined index: SCRIPT_NAME in /html/recovery/common/vendor/slim/slim/Slim/Environment.php on line 130
    
    Notice: Undefined index: REQUEST_URI in /html/recovery/common/vendor/slim/slim/Slim/Environment.php on line 131
    
    Notice: Undefined index: SERVER_NAME in /html/recovery/common/vendor/slim/slim/Slim/Environment.php on line 151
    
    Notice: Undefined index: SERVER_PORT in /html/recovery/common/vendor/slim/slim/Slim/Environment.php on line 154
    404 Page Not Foundbody{margin:0;padding:30px;font:12px/1.5 Helvetica,Arial,Verdana,sans-serif;}h1{margin:0;font-size:48px;font-weight:normal;line-height:48px;}strong{display:inline-block;width:65px;}404 Page Not FoundThe page you are looking for could not be found. Check the address bar to ensure your URL is spelled correctly. If all else fails, you can visit our home page at the link below.Visit the Home Page

```

&nbsp;

Bei bisherigen Forums/Googlesuchen habe ich nichts in diese Richtung gefunden, weiß jemand wo hier das Problem liegt?

Freundliche Grüße

---

<div class="post-metadata">

**Author:** ![NextMike](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@NextMike](https://forum.shopware.com/u/NextMike)\
**Post date:** [10. April 2017 um 10:13 UTC](https://forum.shopware.com/t/probleme-bei-update-von-5-1-4-auf-5-2-21/45130/2 "2017-04-10T10:13:13Z")

</div>

Scheinbar ist Deine php-cli so konfiguriert, dass sie&nbsp;/usr/local/php/ext/ioncube\_loader\_lin\_5.4.so sucht aber nicht findet. Wer ist der Hoster?

---

<div class="post-metadata">

**Author:** ![pwwu](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pwwu](https://forum.shopware.com/u/pwwu)\
**Post date:** [10. April 2017 um 10:16 UTC](https://forum.shopware.com/t/probleme-bei-update-von-5-1-4-auf-5-2-21/45130/3 "2017-04-10T10:16:46Z")

</div>

Wir hosten bei Mittwald.

---

<div class="post-metadata">

**Author:** ![NextMike](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@NextMike](https://forum.shopware.com/u/NextMike)\
**Post date:** [10. April 2017 um 10:22 UTC](https://forum.shopware.com/t/probleme-bei-update-von-5-1-4-auf-5-2-21/45130/4 "2017-04-10T10:22:21Z")

</div>

Das sollte helfen:&nbsp;[https://www.mittwald.de/faq/frage/php-einstellungen-phpini](https://www.mittwald.de/faq/frage/php-einstellungen-phpini)

Ansonsten der Support von Mittwald.

---

<div class="post-metadata">

**Author:** ![pwwu](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pwwu](https://forum.shopware.com/u/pwwu)\
**Post date:** [10. April 2017 um 10:29 UTC](https://forum.shopware.com/t/probleme-bei-update-von-5-1-4-auf-5-2-21/45130/5 "2017-04-10T10:29:06Z")

</div>

Okay, danke, dann werden wir es da weiter probieren.

---

<div class="post-metadata">

**Author:** ![NextMike](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@NextMike](https://forum.shopware.com/u/NextMike)\
**Post date:** [10. April 2017 um 10:32 UTC](https://forum.shopware.com/t/probleme-bei-update-von-5-1-4-auf-5-2-21/45130/6 "2017-04-10T10:32:41Z")

</div>

Abgesehen davon benötigt Shopware 5.2 php 5.6.4

---

<div class="post-metadata">

**Author:** ![pwwu](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pwwu](https://forum.shopware.com/u/pwwu)\
**Post date:** [10. April 2017 um 10:53 UTC](https://forum.shopware.com/t/probleme-bei-update-von-5-1-4-auf-5-2-21/45130/7 "2017-04-10T10:53:08Z")

</div>

Ja auf php 5.6.30 haben wir vorher bereits geupdatet

---

<div class="post-metadata">

**Author:** ![NextMike](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@NextMike](https://forum.shopware.com/u/NextMike)\
**Post date:** [10. April 2017 um 10:58 UTC](https://forum.shopware.com/t/probleme-bei-update-von-5-1-4-auf-5-2-21/45130/8 "2017-04-10T10:58:33Z")

</div>

> [@pwwu schrieb:](https://forum.shopware.com/profile/17181/pwwu "pwwu")
> 
> Ja auf php 5.6.30 haben wir vorher bereits geupdatet

ok, dann scheinbar nicht sauber, das Problem durfte daher kommen.&nbsp;

---

<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:** [10. April 2017 um 11:45 UTC](https://forum.shopware.com/t/probleme-bei-update-von-5-1-4-auf-5-2-21/45130/9 "2017-04-10T11:45:11Z")

</div>

Die PHP Version in der Shell kann durchaus von der Version, mit welcher Dein Webspace läuft, abweichen.

Wenn Du über Konsole aktualisieren möchtest, muss auf dieser ebenfalls mind. PHP 5.6.4 laufen.

VG

---

<div class="post-metadata">

**Author:** ![thueske](https://avatars.discourse-cdn.com/v4/letter/t/ebca7d/32.png) [@thueske](https://forum.shopware.com/u/thueske)\
**Post date:** [21. Juni 2017 um 13:32 UTC](https://forum.shopware.com/t/probleme-bei-update-von-5-1-4-auf-5-2-21/45130/10 "2017-06-21T13:32:48Z")

</div>

Hallo,

&nbsp;

konnte dieses Problem mittlerweile gelöst werden und falls ja, wie?

Wir müssen feststellen, dass wir bei einigen Installationen das selbe Problem haben.

Die CLI-Version ist von der Version her gleich mit der Webserver-Version, nur halt eine CLI-Variante. Die Variable SERVER\_NAME sollte somit eigentlich nicht gesetzt sein.

Vor Version 5.2.21 ist es noch nie zu Problemen bekommen.

Hat jemand eine Idee?

&nbsp;

Viele Grüße
