# Fehler bei Update von 6.4.13.0 auf 6.4.20.2

**URL:** <https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315>\
**Category:** Shopware 6 (German)\
**Created:** [14. März 2024 um 06:52 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315 "2024-03-14T06:52:34Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![micpic](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@micpic](https://forum.shopware.com/u/micpic)\
**Post date:** [14. März 2024 um 06:52 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/1 "2024-03-14T06:52:34Z")

</div>

Hallo und Moin,

Shopware hängt sich permanent bei dem entsprechenden Updarte Vorgang von 6.4.13.0 auf 6.4.20.2  
beim schreiben der Datenbank auf.

Ich habe alle Plugins vorher auf den neuesten Stand gebracht, hat auch nicht funktioniert.

Datenbank: Maria  
PHP. 8.0.30 oder 8.2.16

Fehlermeldung aus dem Log File

2024-03-13 15:20:17 Error 54.78.70.68 AH01071: Got error ‚PHP message: PHP Fatal error: Uncaught Error: Class „ComposerAutoloaderInit1310691b2575a5214701e797c0504d15“ not found in /var/www/vhosts/XXXx.de/httpdocs/vendor/autoload.php:7\nStack trace:\n#0 /var/www/vhosts/XXXx.de/httpdocs/public/index.php(16): require()\n#1 {main}\n thrown in /var/www/vhosts/XXXxde/httpdocs/vendor/autoload.php on line 7‘

| 2024-03-14 07:06:42 | Error | 91.50.227.75 | 500 | POST /api/\_action/increment/user\_activity HTTP/1.0 | | | 740 | SSL/TLS-Zugriff für Apache |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 2024-03-14 07:06:44 | Error | 91.50.227.75 | | AH01071: Got error ‚PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in [/var/www/vhosts/3dpoint-service.de/httpdocs/vendor/symfony/error-handler/ErrorHandler.php](https://82.165.168.243:8443/smb/file-manager/code-editor?currentDir=%2Fhttpdocs%2Fvendor%2Fsymfony%2Ferror-handler&subscriptionId=1&file=ErrorHandler.php&redirect=%2Fsmb%2Flog-file%2Fbrowser%2Fid%2F1) on line 781; PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65536 bytes) in [/var/www/vhosts/XXXX-service.de/httpdocs/vendor/composer/ClassLoader.php](https://82.165.168.243:8443/smb/file-manager/code-editor?currentDir=%2Fhttpdocs%2Fvendor%2Fcomposer&subscriptionId=1&file=ClassLoader.php&redirect=%2Fsmb%2Flog-file%2Fbrowser%2Fid%2F1) on line 478‘, referer: [https://XXXX-service.de/admin](https://XXXX-service.de/admin) | | | | |

Den Domainnamen habe ich ersetzt.

Ich würde mich sehr über eine Hilfe freuen.

Viele Grüße  
Michael

---

<div class="post-metadata">

**Author:** ![SCOOPEX](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/scoopex/32/18328_2.png) [@SCOOPEX](https://forum.shopware.com/u/SCOOPEX)\
**Post date:** [14. März 2024 um 08:34 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/2 "2024-03-14T08:34:11Z")

</div>

> [@micpic](#):
>
> PHP Fatal error: Allowed memory size of 134217728 bytes exhausted

Das PHP Memory Limit von 128MB ist zu gering für Shopware.

Viele Grüße

---

<div class="post-metadata">

**Author:** ![micpic](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@micpic](https://forum.shopware.com/u/micpic)\
**Post date:** [14. März 2024 um 09:02 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/3 "2024-03-14T09:02:40Z")

</div>

Hallo @SCOOPEX ,

vielen Dank für die Info, habe auf 512M erhöht startet mit Fehler  
|  
|2024-03-14 08:51:45|Warning|91.50.227.75||AH01071: Got error ‚PHP message: PHP Warning: Trying to access array offset on value of type null in /var/www/vhosts/XXXX-service.de/httpdocs/vendor/shopware/recovery/Update/src/Controller/RequirementsController.php on line 85‘, referer: [https://XXXX-service.de/admin||||Apache-Fehler|](https://XXXX-service.de/admin%7C%7C%7C%7CApache-Fehler%7C)

Und hängt beim schreiben der DB bei 1/3 fest

Und dann sind wir wieder hier:

2024-03-14 09:00:39 Error 101.36.108.158 AH01071: Got error ‚PHP message: PHP Fatal error: Uncaught Error: Class „ComposerAutoloaderInit1310691b2575a5214701e797c0504d15“ not found in [/var/www/vhosts/XXXX-service.de/httpdocs/vendor/autoload.php](https://82.165.168.243:8443/smb/file-manager/code-editor?currentDir=%2Fhttpdocs%2Fvendor&subscriptionId=1&file=autoload.php&redirect=%2Fsmb%2Flog-file%2Fbrowser%2Fid%2F1):7\nStack trace:\n#0 [/var/www/vhosts/XXX-service.de/httpdocs/public/index.php](https://82.165.168.243:8443/smb/file-manager/code-editor?currentDir=%2Fhttpdocs%2Fpublic&subscriptionId=1&file=index.php&redirect=%2Fsmb%2Flog-file%2Fbrowser%2Fid%2F1)(16): require()\n#1 {main}\n thrown in [/var/www/vhosts/XXXX-service.de/httpdocs/vendor/autoload.php](https://82.165.168.243:8443/smb/file-manager/code-editor?currentDir=%2Fhttpdocs%2Fvendor&subscriptionId=1&file=autoload.php&redirect=%2Fsmb%2Flog-file%2Fbrowser%2Fid%2F1) on line 7‘

Viele Grüße

---

<div class="post-metadata">

**Author:** ![micpic](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@micpic](https://forum.shopware.com/u/micpic)\
**Post date:** [14. März 2024 um 09:37 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/4 "2024-03-14T09:37:24Z")

</div>

Ich habe den Speicher nun auf 1024M gesetzt.  
Ein Plugin habe ich gelöscht „Shipcloud“  
Und PHP auf 8.2.30 gesetzt.

Noch ein Fehler, der bisher nur 1 x auftrat

{  
„component“: „Unknown component“,  
„stack“: „TypeError: Cannot read properties of null (reading ‚length‘)\n at eval (eval at ls ([https://XXXX-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1321510](https://XXXX-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1321510)), :3:2288)\n at a.Ct [as \_t] ([https://3dpoint-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1245605](https://3dpoint-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1245605))\n at eval (eval at ls ([https://3dpoint-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1321510](https://3dpoint-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1321510)), :3:1485)\n at a.Ct [as \_t] ([https://XXXXservice.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1245605](https://XXXXservice.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1245605))\n at a.eval (eval at ls ([https://XXXX-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1321510](https://XXXX-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1321510)), :3:71)\n at e.\_render ([https://XXXX-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1264422](https://XXXX-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1264422))\n at a.i ([https://XXXX-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1297532](https://XXXX-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1297532))\n at xn.get ([https://XXXX-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1255813](https://XXXX-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1255813))\n at xn.run ([https://XXXX-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1256697](https://XXXX-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1256697))\n at bn ([https://XXXX-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1254805](https://XXXX-service.de/bundles/administration/static/js/vendors-node.js?16569124601632908:2:1254805))“,  
„url“: „[https://XXXX-service.de/admin#/sw/order/detail/5b63a3fd4bb24582979571deb5576e73/base?limit=25&page=1&term=&sortBy&sortDirection=ASC&naturalSorting=false](https://XXXX-service.de/admin#/sw/order/detail/5b63a3fd4bb24582979571deb5576e73/base?limit=25&page=1&term=&sortBy&sortDirection=ASC&naturalSorting=false)“  
}

---

<div class="post-metadata">

**Author:** ![micpic](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@micpic](https://forum.shopware.com/u/micpic)\
**Post date:** [14. März 2024 um 13:33 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/5 "2024-03-14T13:33:33Z")

</div>

Moin,

einen Schritt weiter !!

Limit auf 1028M gesetzt  
MaxExecutionTime 1200

Alle Plugins upgedatet.

Komme in guter Geschwindigkeit bis zum Datenbankupdate Schritt 2/3  
DAnn kommt dieses Fehlermeldung:  
Error  
Received the following error message:  
An exception occurred while executing ‚ALTER TABLE `product` ADD COLUMN `variant_listing_config` JSON GENERATED ALWAYS AS (CASE WHEN `display_parent` IS NOT NULL OR `main_variant_id` IS NOT NULL OR `configurator_group_config` IS NOT NULL THEN (JSON\_OBJECT( ‚displayParent‘, `display_parent`, ‚mainVariantId‘, LOWER(HEX(`main_variant_id`)) ,‚configuratorGroupConfig‘, JSON\_EXTRACT(`configurator_group_config`, ‚$‘))) END) VIRTUAL‘: SQLSTATE[HY000]: General error: 1901 Function or expression ‚variant\_listing\_config‘ cannot be used in the CHECK clause of `variant_listing_config`

Please try to fix this error and restart the update.  
Response  
{„valid“:false,„errorMsg“:„An exception occurred while executing ‚ALTER TABLE `product` ADD COLUMN `variant_listing_config` JSON\n GENERATED ALWAYS AS (CASE WHEN `display_parent` IS NOT NULL OR `main_variant_id` IS NOT NULL OR `configurator_group_config` IS NOT NULL\n THEN (JSON\_OBJECT( ‚displayParent‘, `display_parent`, ‚mainVariantId‘, LOWER(HEX(`main_variant_id`)) ,‚configuratorGroupConfig‘, JSON\_EXTRACT(`configurator_group_config`, ‚$‘)))\n END) VIRTUAL‘:\n\nSQLSTATE[HY000]: General error: 1901 Function or expression ‚variant\_listing\_config‘ cannot be used in the CHECK clause of `variant_listing_config`“}

Fehlt hier ein Datenbank Feld ??

---

<div class="post-metadata">

**Author:** ![Patrick\_Muenster](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@Patrick\_Muenster](https://forum.shopware.com/u/Patrick_Muenster)\
**Post date:** [18. März 2024 um 20:59 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/6 "2024-03-18T20:59:19Z")

</div>

Ich hänge an exakt der selben Stelle. Freue mich auch über Lösungsvorschläge. Hab mich schon gefragt ob das ein Problem mit der MariaB Version 10.5.23 ist. Kann ich aber nicht ohne weiteres prüfen.

---

<div class="post-metadata">

**Author:** ![area-net-gmbh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/area-net-gmbh/32/21995_2.png) [@area-net-gmbh](https://forum.shopware.com/u/area-net-gmbh)\
**Post date:** [19. März 2024 um 07:48 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/7 "2024-03-19T07:48:56Z")

</div>

Mit großer Wahrscheinlichkeit ein Problem mit der MariaDB-Version, welche hast du genau?

Wir setzen grundsätzlich nur noch MySQL ein, hatten mit MariaDB zu oft Probleme.

---

<div class="post-metadata">

**Author:** ![micpic](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@micpic](https://forum.shopware.com/u/micpic)\
**Post date:** [19. März 2024 um 13:47 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/8 "2024-03-19T13:47:24Z")

</div>

Moin,

auf dem Server läuft MAriaDB 10.6.16

---

<div class="post-metadata">

**Author:** ![Patrick\_Muenster](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@Patrick\_Muenster](https://forum.shopware.com/u/Patrick_Muenster)\
**Post date:** [22. März 2024 um 12:50 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/9 "2024-03-22T12:50:17Z")

</div>

Kann bestätigen mit MariaDB 10.6.16 läuft es nicht. Hoster ist All-inkl

---

<div class="post-metadata">

**Author:** ![Patrick\_Muenster](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@Patrick\_Muenster](https://forum.shopware.com/u/Patrick_Muenster)\
**Post date:** [22. März 2024 um 13:16 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/10 "2024-03-22T13:16:39Z")

</div>

Verdacht war richtig! mit MySQL 8.0.36-28 lief das update problemlos durch.  
Hätte man die SQL-Query nicht auch anders schreiben können…

---

<div class="post-metadata">

**Author:** ![micpic](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@micpic](https://forum.shopware.com/u/micpic)\
**Post date:** [24. März 2024 um 12:39 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/11 "2024-03-24T12:39:12Z")

</div>

Die Frage ist nun, welche Maria Version würde funktionieren ?

---

<div class="post-metadata">

**Author:** ![MichaelH74](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michaelh74/32/10014_2.png) [@MichaelH74](https://forum.shopware.com/u/MichaelH74)\
**Post date:** [25. März 2024 um 09:10 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/12 "2024-03-25T09:10:20Z")

</div>

Laut Aussage auf der folgend genannten Website sind alle MariaDB Versionen betroffen.  
Mit dem Workaround dort habe ich das Update aber auf einer 10.5.23 hingekommen.  
Einfach die SQL Queries z.B. in phpMyAdmin vor dem Update ausführen. Dann sollte das durchlaufen.

> **[Shopware 6.5 - Function or Expression 'variant\_listing\_config' cannot be used...](https://help.creoline.com/doc/shopware-65-function-or-expression-variant_listing_config-cannot-be-used-in-the-check-clause-Dgbg2nAJTX)**
>
> Fehlermeldung
> Beim Shopware Update von der Version 6.4 auf 6.5 entsteht folgende Fehlermeldung:
> SQLSTATE\[HY000\]: 
> General error: 1901 
> Function or expression 'variant\_listing\_config' cannot be used in the CHECK clause of...

Das Thema ist bereits in den letzten 6.4.x Update \> 6.4.18 relevant.

---

<div class="post-metadata">

**Author:** ![Patrick\_Muenster](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@Patrick\_Muenster](https://forum.shopware.com/u/Patrick_Muenster)\
**Post date:** [25. März 2024 um 11:20 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/13 "2024-03-25T11:20:21Z")

</div>

Danke dafür!  
Das wäre eine Möglichkeit. Ich werde notgedrungen noch eine MariaDB 10.11.xx versuchen.

---

<div class="post-metadata">

**Author:** ![creoline](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/creoline/32/15592_2.png) [@creoline](https://forum.shopware.com/u/creoline)\
**Post date:** [25. März 2024 um 12:48 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/14 "2024-03-25T12:48:28Z")

</div>

Hi @Patrick_Muenster,

sollte es trotz der SQL-Queries aus unserer Anleitung weiterhin zu Problemen kommen, teile uns gerne die exakte Fehlermeldung mit, wir helfen jederzeit gerne 🙂

Liebe Grüße  
Kadir

[![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/7/7/7776dd118a9cf33ecbafd2b2e1cda5828898e421.png) ](https://www.creoline.com/?utm_source=shopware_forum_post)

---

<div class="post-metadata">

**Author:** ![micpic](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@micpic](https://forum.shopware.com/u/micpic)\
**Post date:** [4. April 2024 um 09:44 UTC](https://forum.shopware.com/t/fehler-bei-update-von-6-4-13-0-auf-6-4-20-2/103315/15 "2024-04-04T09:44:47Z")

</div>

Sorry für mein verspätes Rückmelden.

Ich habe heute die SQL-Queries ausgeführt. Gab zwar einige SQL Fehlermeldungen aber das Update wurde durchgeführt.  
Ich bin nun hochgearbeitet über diverse Updates auf 6.6.0.2

Vielen Dank für Eure Hilfen  
Michael
