# Beim Update auf SW 6.7 Fehler wegen SERVICE\_REGISTRY\_URL

**URL:** <https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801>\
**Category:** Shopware 6 (German)\
**Created:** [28. August 2025 um 06:12 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801 "2025-08-28T06:12:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [28. August 2025 um 06:12 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/1 "2025-08-28T06:12:56Z")

</div>

Wir haben die letzten Tage einige Shops auf SW 6.7 aktualisiert, aber gestern hatten wir einen Fall der einen (bisher) unbekannten Fehler verursachte und der Shop war down:

```auto
{"errors":[{"code":"0","status":"500","title":"Internal Server Error","detail":"The controller for URI \u0022\/admin\u0022 is not callable: Environment variable not found: \u0022SERVICE_REGISTRY_URL\u0022."}]}

```

Darauf wurde in der ‘.env.local’ diese Zeile nachgetragen und der Fehler war weg:

```auto
SERVICE_REGISTRY_URL=http://localhost

```

Nun stellt sich nun die Frage woher ‘SERVICE\_REGISTRY\_URL’ auf eimal kommt, vor allem nur bei einem Shop bzw. für was diese Zeile benötigt wird? In der Shopware Doku wurde hierzu (bisher) nichts gefunden. Vielleicht ist ja jemand auch schon darüber gestolpert.

---

<div class="post-metadata">

**Author:** ![DannyBO](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/dannybo/32/27919_2.png) [@DannyBO](https://forum.shopware.com/u/DannyBO)\
**Post date:** [28. August 2025 um 06:29 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/2 "2025-08-28T06:29:20Z")

</div>

über prüf mal ob deine shopware url mit der vom shop passt den fehler hatte ich auch weil www fehlte im SW acount  
und in der env.local datei ob dort die richtige APP\_URL=deine-domain steht

---

<div class="post-metadata">

**Author:** ![DannyBO](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/dannybo/32/27919_2.png) [@DannyBO](https://forum.shopware.com/u/DannyBO)\
**Post date:** [28. August 2025 um 06:37 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/3 "2025-08-28T06:37:14Z")

</div>

[https://forum.shopware.com/t/komisch-fehlermeldung/107505/1](https://forum.shopware.com/t/komisch-fehlermeldung/107505/1)

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [28. August 2025 um 06:45 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/4 "2025-08-28T06:45:53Z")

</div>

> [@DannyBO](#):
>
> richtige APP\_URL=deine-domain

Ne, ne, das ist schon überall richtig 🙂 Das war ein ein Update, also gab es schon eine Installation 🙂

---

<div class="post-metadata">

**Author:** ![DannyBO](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/dannybo/32/27919_2.png) [@DannyBO](https://forum.shopware.com/u/DannyBO)\
**Post date:** [28. August 2025 um 07:07 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/5 "2025-08-28T07:07:46Z")

</div>

shopware unterscheide aber ob domain mit www.deine-domain angelegt ist nach meinere erfahrung mit SW6

---

<div class="post-metadata">

**Author:** ![DannyBO](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/dannybo/32/27919_2.png) [@DannyBO](https://forum.shopware.com/u/DannyBO)\
**Post date:** [28. August 2025 um 07:12 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/6 "2025-08-28T07:12:39Z")

</div>

ansonsten mal die daten weiter gabe deaktiviern cache löschen und wieder neu aktivieren

den shop vom shopware acount enfernen und neu verbinden hilft manchmal auch

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [28. August 2025 um 07:30 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/7 "2025-08-28T07:30:29Z")

</div>

Du ich habe keine Account-Probleme, das geht schon alles. Meine Fehlermeldung ist was anderes.

---

<div class="post-metadata">

**Author:** ![DannyBO](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/dannybo/32/27919_2.png) [@DannyBO](https://forum.shopware.com/u/DannyBO)\
**Post date:** [28. August 2025 um 07:44 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/8 "2025-08-28T07:44:30Z")

</div>

> [@Komisch fehlermeldung](https://forum.shopware.com/t/komisch-fehlermeldung/107505):
>
> was beteutet das hugs {"errors":[{"code":"0","status":"500","title":"Internal Server Error","detail":"Failed to acquire the \u0022oauth--185.137.156.40\u0022 lock."}]} hat das was damit zutun das aktuell sich in shopwere acount nicht anmelden kann zumindest springt die anmeldung es wird mefach versucht ne verbindung aufzubauen

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [28. August 2025 um 07:47 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/9 "2025-08-28T07:47:12Z")

</div>

Der wird hier gesetzt. Sicher, dass mit den Updates alles korrekt durchlief?

> <https://github.com/shopware/shopware/blob/3ac0d1aca65d836898bef81f01f5eb9ba952a30f/src/Core/Service/DependencyInjection/services.xml#L7>

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [28. August 2025 um 08:07 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/10 "2025-08-28T08:07:23Z")

</div>

> [@Max\_Shop](#):
>
> Sicher, dass mit den Updates alles korrekt durchlief?

Nach meiner Info soll das Update ohne Probleme durchgelaufen sein (ich habe es dieses mal nicht gemacht). Nach dem Update war dann das Frontend nicht mehr erreichbar. Komplette Fehlermeldung war wie folgt:

```auto
Uncaught PHP Exception InvalidArgumentException: 
"The controller for URI "/admin" is not callable: 
Environment variable not found: "SERVICE_REGISTRY_URL"." at ControllerResolver.php line 97 {"exception":"[object] (InvalidArgumentException(code: 0): 
The controller for URI \"/admin\" is not callable: 
Environment variable not found: \"SERVICE_REGISTRY_URL\". at /var/.../vendor/symfony/http-kernel/Controller/ControllerResolver.php:97)\n[previous exception] 
[object] (Symfony\\Component\\DependencyInjection\\Exception\\EnvNotFoundException(code: 0): 
Environment variable not found: \"SERVICE_REGISTRY_URL\". at /var/.../vendor/symfony/dependency-injection/EnvVarProcessor.php:221)"} []

```

Wir haben so eine Fehmeldung bisher noch nie gesehen und ‘SERVICE\_REGISTRY\_URL‘ ist in anderen SW 6.7 Shops nicht vorhanden.

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [28. August 2025 um 08:26 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/11 "2025-08-28T08:26:50Z")

</div>

Die Variable muss in der .env auch nicht vorhanden sein, da sie in der oben angegebenen Datei gesetzt wird.

Schau mal, ob die Datei existiert und den gleichen Inhalt hat.

---

<div class="post-metadata">

**Author:** ![DannyBO](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/dannybo/32/27919_2.png) [@DannyBO](https://forum.shopware.com/u/DannyBO)\
**Post date:** [28. August 2025 um 08:28 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/12 "2025-08-28T08:28:04Z")

</div>

ah okay wieder was gelernt 🙀 🤓

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [28. August 2025 um 08:38 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/13 "2025-08-28T08:38:58Z")

</div>

> [@DannyBO](#):
>
> okay wieder was gelernt

Kein Problem 🙂

> [@Max\_Shop](#):
>
> Schau mal, ob die Datei existiert

Habe das eben konrtolliert und die Datei ist sauber vorhanden. Hm, komisch.

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [28. August 2025 um 09:20 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/14 "2025-08-28T09:20:35Z")

</div>

Eventuell ist die alte Datei noch im OPCache gespeichert? Wurden alle Caches geleert?

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [28. August 2025 um 09:57 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/15 "2025-08-28T09:57:47Z")

</div>

Ich habe jetzt die Zeile in der ‘.env.local’ auskommentiert. Das Problem scheint wohl weg zu sein. Der Shop läuft ganz normal. Cache wird bei Updates generell gelöscht. Wer weiß …

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [28. August 2025 um 10:10 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/16 "2025-08-28T10:10:27Z")

</div>

> [@R4M](#):
>
> Das Problem scheint wohl weg zu sein.

Das sieht mir sehr nach einem Cache Problem aus.

---

<div class="post-metadata">

**Author:** ![Leif](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/leif/32/14886_2.png) [@Leif](https://forum.shopware.com/u/Leif)\
**Post date:** [11. September 2025 um 08:29 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/17 "2025-09-11T08:29:40Z")

</div>

Falls noch jemand dieses Problem hat: Ich bin auch auf diesen Fehler gestoßen, nachdem ich ein Update mit composer gemacht hatte.

Das Problem war, dass ich noch kein `composer recipe:update` ausgeführt hatte und daher das Bundle `Shopware\Core\Service\Service` nicht geladen wurde.

In der `config/bundles.php` fehlte daher:

```
Shopware\Core\Service\Service::class => ['all' => true],

```

Das Ausführen von `composer recipe:update` mit den recipe `shopware/core` hat diese Zeile hinzugefügt:

 ![Bildschirmfoto 2025-09-11 um 10.28.49](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/4/3/43d9fbb6834fbaab7bb3c87d28c6c05e3ed7d99c.jpeg)

---

<div class="post-metadata">

**Author:** ![moettigmann](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@moettigmann](https://forum.shopware.com/u/moettigmann)\
**Post date:** [19. September 2025 um 06:30 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/18 "2025-09-19T06:30:33Z")

</div>

Ich habe den Fehler auch, allerdings hat das Aktualisieren der Recipes bei mir keinen Effekt.Vermutlich hat es damit zu tun, dass ich beim Ausführen von

```auto
bin/console system:update:finish

```

folgende Fehlermeldung erhalte:

```auto
In Connection.php line 674:

  {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Mapper for [releaseDate] conflicts
  with existing mapper:\n\tCannot update parameter [format] from [yyyy-MM-dd HH:mm:ss.000||strict_date_optio
  nal_time||epoch_millis] to [yyyy-MM-dd HH:mm:ss.SSS||strict_date_optional_time||epoch_millis]"}],"type":"i
  llegal_argument_exception","reason":"Mapper for [releaseDate] conflicts with existing mapper:\n\tCannot up
  date parameter [format] from [yyyy-MM-dd HH:mm:ss.000||strict_date_optional_time||epoch_millis] to [yyyy-M
  M-dd HH:mm:ss.SSS||strict_date_optional_time||epoch_millis]"},"status":400}

```

Jemand zufällig eine Idee was es damit auf sich hat und wie man es gelöst bekommt?

---

<div class="post-metadata">

**Author:** ![moettigmann](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@moettigmann](https://forum.shopware.com/u/moettigmann)\
**Post date:** [19. September 2025 um 09:18 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/19 "2025-09-19T09:18:58Z")

</div>

Hat sich erledigt.  
Das Löschen und Neuindexieren des Elasticsearch-Indexes hat das Problem gelöst.

---

<div class="post-metadata">

**Author:** ![mac](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/mac/32/7855_2.png) [@mac](https://forum.shopware.com/u/mac)\
**Post date:** [23. September 2025 um 07:55 UTC](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801/20 "2025-09-23T07:55:16Z")

</div>

Ich hatte auch den Fehler beim Update auf 6.7.2.2. und konnte nicht den Adminbereich aufrufen.  
Habe dann den DEV Mode aktiviert und der Zugriff hat geklappt. Lag wohl am Cache.

[Nächste Seite](https://forum.shopware.com/t/beim-update-auf-sw-6-7-fehler-wegen-service-registry-url/107801.md?page=2)
