Shopware 6 - Update Problem Shopware 6.4.9.0 - Unsere Website befindet sich gerade in der Wartung

Hallo, wie löse ich folgendes Problem:

Die Meldung erhalt ich seit heutigem GUI Update.
Ein Reboot vom Server brachte keine Abhilfe.

Per ssh habe ich Zugriff auf den VPS Server.

MfG
sven-sw

Das Update ist anscheinend nicht sauber durchgelaufen. Hier gibt es zahlreiche Beiträge im Forum, wie man das Problem löst.

Meine im Forum gefunden Lösungen beziehen sich nicht auf Shopware 6.

‘files/update/update.json’ existiert

Die Datei löschen?

32 Ergebnisse für update wartungsmodus #shopware-6-german

Wartungsmodus habe ich in der Suche nicht eingegeben, woher soll ich den Begriff auch wissen.

‘files/update/update.json’ existiert

Das Löschen war die Lösung.

Wie bin ich zu dem Problem gekommen, was könnte ich falsch gemacht haben?

Irgendwie wird mir in solchen Situation immer warm.

Beim nächsten Update folgende Meldung:

Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 133

Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 98

Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 79

Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 143

Deprecated: Return type of Slim\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 112

Deprecated: Return type of Slim\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 124

Deprecated: Return type of Slim\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 135

Deprecated: Return type of Slim\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 145

Deprecated: Return type of Slim\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 155

Deprecated: Return type of Slim\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 165

Deprecated: Return type of Slim\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 112

Deprecated: Return type of Slim\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 124

Deprecated: Return type of Slim\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 135

Deprecated: Return type of Slim\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 145

Deprecated: Return type of Slim\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 155

Deprecated: Return type of Slim\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 165

Fatal error: Uncaught RuntimeException: Unexpected data in output buffer. Maybe you have characters before an opening <?php tag? in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/App.php:621 Stack trace: #0 /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/App.php(317): Slim\App->finalize() #1 /var/www/html/vendor/shopware/recovery/Update/index.php(39): Slim\App->run() #2 /var/www/html/public/recovery/update/index.php(6): require_once('...') #3 {main} thrown in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/App.php on line 621

mein aktuelles Shopware 6 - v6.4.8.2 Stable Version

Die neue Shopware-Version 6.4.9.0 ist verfügbar
Starte den Auto-Updater, um die Installation zu starten.

Gibt es Probleme mit dem Release?

Es scheint so ----> Shopware 6 Fatal error: Uncaught RuntimeException: Unable to create the "cache" directory - #2 von Max_Shop

Das Problem ist deine PHP-Einstellung. Wenn du Fehlermeldungen im Frontend ausgibst, dann führt das mit hoher Wahrscheinlichkeit zu Fehlern.

Wie löse ich das Problem?

Was muss ich umstellen?

https://www.php.net/manual/de/errorfunc.configuration.php#ini.error-reporting

display_errors = Off in der php.ini

sudo nano /etc/php/8.1/apache2/php.ini

Abschnitt

; Quick Reference ;
;;;;;;;;;;;;;;;;;;;

; The following are all the settings which are different in either the production
; or development versions of the INIs with respect to PHP's default behavior.
; Please see the actual settings later in the document for more details as to why
; we recommend these changes in PHP's behavior.

; display_errors
;   Default Value: On
;   Development Value: On
;   Production Value: Off


Was muss da konkret geändert werden?

Und wie bist Du auf die Fehlerursache gekommen?

Der Fehler steht in deiner Fehlermeldung.

Wie geschrieben: display_errors: Off bzw. display_errors = Off

; Quick Reference ;
;;;;;;;;;;;;;;;;;;;

; The following are all the settings which are different in either the production
; or development versions of the INIs with respect to PHP's default behavior.
; Please see the actual settings later in the document for more details as to why
; we recommend these changes in PHP's behavior.

; display_errors = OFF
;   Default Value: On
;   Development Value: On
;   Production Value: Off

So richtig?

In finde in meiner Fehlermeldung den Hinweis nicht.

Das Semikolon muss weg, sonst ist es auskommentiert.

In welcher Zeile steht der Fehlerhinweis?

Lösung: ??

; Quick Reference ;
;;;;;;;;;;;;;;;;;;;

; The following are all the settings which are different in either the production
; or development versions of the INIs with respect to PHP's default behavior.
; Please see the actual settings later in the document for more details as to why
; we recommend these changes in PHP's behavior.

display_errors = OFF
;   Default Value: On
;   Development Value: On
;   Production Value: Off


So aber?

Der Fehler ist noch da:


Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 133

Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 98

Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 79

Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 143

Deprecated: Return type of Slim\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 112

Deprecated: Return type of Slim\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 124

Deprecated: Return type of Slim\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 135

Deprecated: Return type of Slim\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 145

Deprecated: Return type of Slim\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 155

Deprecated: Return type of Slim\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 165

Deprecated: Return type of Slim\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 112

Deprecated: Return type of Slim\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 124

Deprecated: Return type of Slim\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 135

Deprecated: Return type of Slim\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 145

Deprecated: Return type of Slim\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 155

Deprecated: Return type of Slim\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 165

Fatal error: Uncaught RuntimeException: Unexpected data in output buffer. Maybe you have characters before an opening <?php tag? in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/App.php:621 Stack trace: #0 /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/App.php(317): Slim\App->finalize() #1 /var/www/html/vendor/shopware/recovery/Update/index.php(39): Slim\App->run() #2 /var/www/html/public/recovery/update/index.php(6): require_once('...') #3 {main} thrown in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/App.php on line 621

Was muss ich evtl. neu „restarten“?

Du solltest dir wirklich How-To für den Betrieb von eigenen Servern durchlesen (persönliche Meinung). Das sind wirklich alles Fragen, die absolute Basics sind, wenn man einen eigenen Server betreibt.

Ja, du musst Apache neu starten.

sudo systemctl restart apache2

Fehlermeldung ist noch da:


Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 133

Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 98

Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 79

Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/pimple/pimple/src/Pimple/Container.php on line 143

Deprecated: Return type of Slim\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 112

Deprecated: Return type of Slim\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 124

Deprecated: Return type of Slim\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 135

Deprecated: Return type of Slim\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 145

Deprecated: Return type of Slim\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 155

Deprecated: Return type of Slim\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 165

Deprecated: Return type of Slim\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 112

Deprecated: Return type of Slim\Collection::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 124

Deprecated: Return type of Slim\Collection::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 135

Deprecated: Return type of Slim\Collection::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 145

Deprecated: Return type of Slim\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 155

Deprecated: Return type of Slim\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/Collection.php on line 165

Fatal error: Uncaught RuntimeException: Unexpected data in output buffer. Maybe you have characters before an opening <?php tag? in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/App.php:621 Stack trace: #0 /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/App.php(317): Slim\App->finalize() #1 /var/www/html/vendor/shopware/recovery/Update/index.php(39): Slim\App->run() #2 /var/www/html/public/recovery/update/index.php(6): require_once('...') #3 {main} thrown in /var/www/html/vendor/shopware/recovery/Common/vendor/slim/slim/Slim/App.php on line 621

Meine PHP Version:

php -v
PHP 8.1.3 (cli) (built: Feb 21 2022 14:48:42) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.3, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.3, Copyright (c), by Zend Technologies

Nach dieser Anleitung habe ich installiert:

https://www.dogado.de/vps/vserver-anwendungsfaelle/shopware-auf-vserver-installieren

Wo liegt mein Fehler?

Das Update Shopware 6.4.8.1 ----> Shopware 6.4.8.2 funktionierte zuvor ohne Probleme.

Auch ohne Änderung der php.ini ( display_errors = OFF).
„display_errors = OFF“ war auch schon zuvor eingestellt, nur an anderer Stelle in der datei.

Liegt es evtl. an dem Shopware 6.4.9.0 Update?

Min. Version:

6.3.0.0

Art des Releases:

Minor

Projekt-Status:

Veröffentlicht

Release-Zeitpunkt:

14.03.2022 - 09:38

Umgesetzte Tickets:

issues.shopware.com

GitHub Repository:

github.com

Upgrade Info:

upgrade.md

Das Problem kann, konnte ich alleine nicht lösen.

Die Shopware 6.4.9.0 Installation wurde von mir gelöscht.

Hey @sven-sw,

falls du es nochmal versuchen willst könntest du es einmal mit einer tieferen PHP Version versuchen.

MfG
Patrick