# Fehler beim Update auf 5.0

**URL:** <https://forum.shopware.com/t/fehler-beim-update-auf-5-0/48395>\
**Category:** Allgemein\
**Created:** [20. September 2017 um 22:12 UTC](https://forum.shopware.com/t/fehler-beim-update-auf-5-0/48395 "2017-09-20T22:12:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marstein](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@Marstein](https://forum.shopware.com/u/Marstein)\
**Post date:** [20. September 2017 um 22:12 UTC](https://forum.shopware.com/t/fehler-beim-update-auf-5-0/48395/1 "2017-09-20T22:12:16Z")

</div>

Beim update auf 5.0 erscheint folgender Fehler.

Error

Received the following error message:  
Could not apply migration: SQLSTATE[42000]: Syntax error or access violation: 1142 REFERENCES command denied to user ‚s191079\_1967873‘@‚[mv2000.1blu.de](http://mv2000.1blu.de)‘ for table ‚s\_articles\_details‘

Kann mir bitte jemand helfen.

---

<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:** [21. September 2017 um 05:29 UTC](https://forum.shopware.com/t/fehler-beim-update-auf-5-0/48395/2 "2017-09-21T05:29:05Z")

</div>

Dein MySQL-Benutzer darf den Befehl “REFERENCES” nicht ausführen. Da musst du die MySQL-Rechte anpassen oder den Hoster kontaktieren.

---

<div class="post-metadata">

**Author:** ![Marstein](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@Marstein](https://forum.shopware.com/u/Marstein)\
**Post date:** [23. September 2017 um 10:46 UTC](https://forum.shopware.com/t/fehler-beim-update-auf-5-0/48395/3 "2017-09-23T10:46:21Z")

</div>

DAtenbank läuft.

Update ist durchgelaufen.

Aber jetzt erscheint folgender Fehler wenn ich die Seite aufrufen möchte

&nbsp;

**Fatal error** : Uncaught Doctrine\Common\Annotations\AnnotationException: You have to enable opcache.load\_comments=1 or zend\_optimizerplus.load\_comments=1. in /hp/mv/www/glasertshop/install\_4.1.3/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:193 Stack trace: #0 /hp/mv/www/glasertshop/install\_4.1.3/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php(171): Doctrine\Common\Annotations\AnnotationException::optimizerPlusLoadComments() #1 /hp/mv/www/glasertshop/install\_4.1.3/engine/Shopware/Components/Model/Configuration.php(188): Doctrine\Common\Annotations\AnnotationReader-\>\_\_construct() #2 /hp/mv/www/glasertshop/install\_4.1.3/engine/Shopware/Components/DependencyInjection/Bridge/ModelAnnotation.php(53): Shopware\Components\Model\Configuration-\>getAnnotationsReader() #3 /hp/mv/www/glasertshop/install\_4.1.3/cache/production\_201504271122/proxies/ShopwareProductionProjectContainer.php(447): Shopware\Components\DependencyInjection\Bridge\ModelAnnotation-\>factory(Obje in **/hp/mv/www/glasertshop/install\_4.1.3/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php** on line **193**

---

<div class="post-metadata">

**Author:** ![kulli](https://avatars.discourse-cdn.com/v4/letter/k/a3d4f5/32.png) [@kulli](https://forum.shopware.com/u/kulli)\
**Post date:** [23. September 2017 um 13:50 UTC](https://forum.shopware.com/t/fehler-beim-update-auf-5-0/48395/4 "2017-09-23T13:50:31Z")

</div>

> **[Shopware Dokumentation](https://docs.shopware.com/de)**
