# Shopware 6.3.5.1 Update hängt sich auf

**URL:** https://forum.shopware.com/t/shopware-6-3-5-1-update-hangt-sich-auf/72662
**Category:** Administration
**Created:** [9. Februar 2021 um 18:48 UTC](https://forum.shopware.com/t/shopware-6-3-5-1-update-hangt-sich-auf/72662 "2021-02-09T18:48:18Z")
**Posts on this page:** 6
**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: [9. Februar 2021 um 18:48 UTC](https://forum.shopware.com/t/shopware-6-3-5-1-update-hangt-sich-auf/72662/1 "2021-02-09T18:48:18Z")

</div>

Hallo Forum,

ich bin in Shopware 6 vor 3 Monaten eingestiegen. Bisher haben ich alle Probleme fixen können die halt mal so entstehen. Und SW6 lief stabil. Der Shop läuft.

Nun habe ich das neueste Update 6.3.5.1 über das Backend installieren wollen, leider hängt es sich komplett mit unten aufgeführten Fehlermeldung weg. Ich stehe irgendwie auf dem Schlauch und finde den Ansatz nicht wirklich. Oder ich überlese etwas. Ich würde mich sehr freuen eine Hilfestellung oder Lösungsansatz zu bekommen.

Und ja, ich habe ein Update 😉

Grüße

Michael

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Fehlermeldung \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

Error

Received the following error message:

An exception occurred while executing ‚CREATE TRIGGER customer\_address\_vat\_id\_insert AFTER INSERT ON customer\_address FOR EACH ROW BEGIN IF NEW.vat\_id IS NOT NULL THEN UPDATE customer SET vat\_ids = JSON\_ARRAY(NEW.vat\_id) WHERE customer.default\_billing\_address\_id = NEW.id AND (JSON\_CONTAINS(vat\_ids, ‚"$NEW.vat\_id"‘) = 0 OR vat\_ids IS NULL); END IF; END;‘: SQLSTATE[HY000]: General error: 1419 You do not have the SUPER privilege and binary logging is enabled (you \*might\* want to use the less safe log\_bin\_trust\_function\_creators variable)

&nbsp;

Please try to fix this error and restart the update.

Response

{„valid“:false,„errorMsg“:„An exception occurred while executing 'CREATE TRIGGER customer\_address\_vat\_id\_insert AFTER INSERT ON customer\_address\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FOR EACH ROW BEGIN\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IF NEW.vat\_id IS NOT NULL THEN\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UPDATE customer SET vat\_ids = JSON\_ARRAY(NEW.vat\_id)\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WHERE customer.default\_billing\_address\_id = NEW.id\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AND (JSON\_CONTAINS(vat\_ids, '“$NEW.vat\_id"’) = 0 OR vat\_ids IS NULL);\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; END IF;\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; END;’:\n\nSQLSTATE[HY000]: General error: 1419 You do not have the SUPER privilege and binary logging is enabled (you \*might\* want to use the less safe log\_bin\_trust\_function\_creators variable)"}

---

<div class="post-metadata">

### Author: ![frezno](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/frezno/32/7801_2.png) [@frezno](https://forum.shopware.com/u/frezno)
#### Post date: [9. Februar 2021 um 19:31 UTC](https://forum.shopware.com/t/shopware-6-3-5-1-update-hangt-sich-auf/72662/2 "2021-02-09T19:31:15Z")

</div>

jaja, die Binary ID bereiten uns viel Freude…&nbsp; ![Frown](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/569ff272a6dd35730487f053b5b3cd1f98b23eea.png "Frown")

Du musst zu deinem DB Server und folgende Einstellung ändern:  
log\_bin\_trust\_function\_creators  
diese auf 1 bzw. ON setzen

Alternativ von der Commandline:

```
mysql> SET GLOBAL log_bin_trust_function_creators = 1;

```

Wenn dir das nicht möglich ist, setze bei der DB bei customer\_address in der Spalte vat\_id alle Einträge auf NULL  
Musst du dann später händisch wieder ändern&nbsp;

---

<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: [9. Februar 2021 um 21:02 UTC](https://forum.shopware.com/t/shopware-6-3-5-1-update-hangt-sich-auf/72662/3 "2021-02-09T21:02:18Z")

</div>

> [@frezno schrieb:](https://forum.shopware.com/profile/31866/frezno "frezno")
> 
> jaja, die Binary ID bereiten uns viel Freude…&nbsp; ![Frown](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/569ff272a6dd35730487f053b5b3cd1f98b23eea.png "Frown")
> 
> Du musst zu deinem DB Server und folgende Einstellung ändern:  
> log\_bin\_trust\_function\_creators  
> diese auf 1 bzw. ON setzen
> 
> Alternativ von der Commandline:
> 
> mysql\> SET GLOBAL log\_bin\_trust\_function\_creators = 1;
> 
> Wenn dir das nicht möglich ist, setze bei der DB bei customer\_address in der Spalte vat\_id alle Einträge auf NULL  
> Musst du dann später händisch wieder ändern&nbsp;
> 
> &nbsp;
> 
> Vielen Dank @frezno,
> 
> &nbsp;
> 
> ich werde das Morgen früh sofort machen. Ich melde mich dann und werde berichten.
> 
> Nochmals Danke

---

<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: [10. Februar 2021 um 07:33 UTC](https://forum.shopware.com/t/shopware-6-3-5-1-update-hangt-sich-auf/72662/4 "2021-02-10T07:33:44Z")

</div>

@frezno‍ vielen Dank,

&nbsp;

habe die Einstellungen über die Console gemacht und zusätzlich noch die Rechte für die Datenbank auf Super gesetzt. Diese habe ich nach dem Update wieder zurückgesetzt.

Das Update ist einwandfrei durchgelaufen !!

Nun geht es an das überprüfen ob alles noch läuft.

Änderst Du die “SET GLOBAL log\_bin\_trust\_function\_creators = 1;” nur vor einem Update oder wäre ein Eintag in die MSQL.ini sinnvoll, damit bei einem Neustart des Servers bzw SQL Servers die Einstellungen nicht wieder verschwunden ist. ?

Viele Grüße

Michael

&nbsp;

&nbsp;

---

<div class="post-metadata">

### Author: ![r.allenstein](https://avatars.discourse-cdn.com/v4/letter/r/848f3c/32.png) [@r.allenstein](https://forum.shopware.com/u/r.allenstein)
#### Post date: [10. Februar 2021 um 07:57 UTC](https://forum.shopware.com/t/shopware-6-3-5-1-update-hangt-sich-auf/72662/5 "2021-02-10T07:57:42Z")

</div>

Moin.

Ich vermute die Trigger werden uns noch die nächsten Monate und Jahre mit Shopwar 6 begleiten 😉

Viele Hoster gewähren keine SUPER Priviledges, weswegen es dann zu Fehlern kommt.

&nbsp;

Der Hintergrund:  
Trigger sollten vermieden werden, wenn man bin-logs für das Backup nutzt, da die Trigger nicht im Binlog aufgezeichnet werden.

---

<div class="post-metadata">

### Author: ![frezno](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/frezno/32/7801_2.png) [@frezno](https://forum.shopware.com/u/frezno)
#### Post date: [10. Februar 2021 um 08:23 UTC](https://forum.shopware.com/t/shopware-6-3-5-1-update-hangt-sich-auf/72662/6 "2021-02-10T08:23:45Z")

</div>

> [@micpic schrieb:](https://forum.shopware.com/profile/37826/micpic "micpic")
> 
> Änderst Du die „SET GLOBAL log\_bin\_trust\_function\_creators = 1;“ nur vor einem Update oder wäre ein Eintag in die MSQL.ini sinnvoll, damit bei einem Neustart des Servers bzw SQL Servers die Einstellungen nicht wieder verschwunden ist. ?

ich ändere es nur, wenn erforderlich.  
Kommt aber sicherlich drauf an, wie lange/oft es mich&nbsp;nerven würde
