# shopware/development

**URL:** <https://forum.shopware.com/t/shopware-development/58663>\
**Category:** Programmierung\
**Created:** [19. März 2019 um 22:36 UTC](https://forum.shopware.com/t/shopware-development/58663 "2019-03-19T22:36:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreischild](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dreischild](https://forum.shopware.com/u/dreischild)\
**Post date:** [19. März 2019 um 22:36 UTC](https://forum.shopware.com/t/shopware-development/58663/1 "2019-03-19T22:36:26Z")

</div>

Hallo zusammen,

ich habe heute den Tag damit verbracht ein System auf den Git Stand von shopware/development zu bringen. Leider bis jetzt ohne Erfolg. Ich komme hier lediglich von Fehler zu Fehler. Habe mich nun genau an die Anweisung von dem Guide gehalten ([https://docs.shopware.com/en/shopware-platform-en/getting-started/dev-setup?category=shopware-platform-en/getting-started](https://docs.shopware.com/en/shopware-platform-en/getting-started/dev-setup?category=shopware-platform-en/getting-started)), sieht leider nicht besser aus.

Erst hatte ich Probleme, dass shopware/platform nicht per composer geladen werden konnte. Dies habe ich nun gelöst, indem ich das Repro manuell per git clone in den ventor Ordner gelegt habe. Nun habe ich den nächsten Fehler im bin/setup Prozess bei Schritt 23 von 29

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/0/04169029d658881f9f6605e5ec94fc905bb61185.png)

Schon irgendwie alles nicht so geil? Hat jemand hier ähnliche Erfahrungen gemacht?

VG Dennis

---

<div class="post-metadata">

**Author:** ![dreischild](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dreischild](https://forum.shopware.com/u/dreischild)\
**Post date:** [20. März 2019 um 07:22 UTC](https://forum.shopware.com/t/shopware-development/58663/2 "2019-03-20T07:22:27Z")

</div>

Hallo nochmal,

den o.s. Fehler habe ich nun lösen können, indem ich den MySQL-Wert&nbsp;max\_group\_concat auf 100.000 gesetzt habe

```
SET GLOBAL group_concat_max_len = 1000000;

```

Nun bin ich soweit, dass die Administration arbeitet, ich in der Storefront aber noch den folgenden Fehler erhalte:  
&nbsp;

```
Argument 2 passed to Shopware\\Storefront\\PageController\\CheckoutPageController::cart() must be an instance of Shopware\\Core\\Checkout\\CheckoutContext, null given, called in \/home\/dreischild\/shopware-dev\/vendor\/symfony\/http-kernel\/HttpKernel.php on line 150

```

Diesen Fehler finde ich auch in unter&nbsp;Troubleshooting in dem Guide. Doch hilft mir die Beschreibung hier nicht wirklich weiter:  
Wenn der Host nicht richtig konfiguriert wäre, könnte ich doch auch nicht die Adminstration komplett nutzen!?

```
if you get the following error when calling the storefront with a local setup (not docker): Argument 1 passed to Shopware\\Storefront\\Content\\Controller\\Widget\\IndexController::shopMenuAction() must be an instance of Shopware\\Core\\Checkout\\CheckoutContext, null given it usually means that you haven't configured the vhost properly or the configured host doesn't match with the host you are using to call the website

```

Wäre hier dankbar um einen Tipp!

VG Dennis

---

<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:** [20. März 2019 um 07:56 UTC](https://forum.shopware.com/t/shopware-development/58663/3 "2019-03-20T07:56:44Z")

</div>

Was steht denn in deiner .psh.yaml.ovverride und was in der DB&nbsp;sales\_channel\_domain. Past das alles zusammen?

---

<div class="post-metadata">

**Author:** ![dreischild](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dreischild](https://forum.shopware.com/u/dreischild)\
**Post date:** [20. März 2019 um 08:18 UTC](https://forum.shopware.com/t/shopware-development/58663/4 "2019-03-20T08:18:26Z")

</div>

Hi,

in der .psh.yaml.override habe ich den folgenden Inhalt:

```
const:
  APP_ENV: "dev"
  APP_URL: "http://shopware.local"
  DB_HOST: "localhost"
  DB_PORT: "3306"
  DB_NAME: "shopware"
  DB_USER: "app"
  DB_PASSWORD: "app"

```

In der sales\_channel\_domain steht ebenfalls als URL&nbsp;[http://shopware.local](http://shopware.local)

Bei dem aktuellen Setting habe die Konfiguration so umgesetzt, wie in dem Developer Getting Started Guide beschrieben.

Muss hier ggf. noch der Port hinterlegt werden? Das läuft ja über den Port 8000.

/etc/apache2/sites-available/shopware.test.conf

```
LISTEN 8000

    DocumentRoot "/var/www/shopware.test/public"
    ServerName shopware.test
    
        AllowOverride All

```

VG und vielen Dank!

Dennis

---

<div class="post-metadata">

**Author:** ![AndreHerking](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/andreherking/32/7839_2.png) [@AndreHerking](https://forum.shopware.com/u/AndreHerking)\
**Post date:** [20. März 2019 um 08:38 UTC](https://forum.shopware.com/t/shopware-development/58663/5 "2019-03-20T08:38:49Z")

</div>

Wieso steht dort als ServerName shopware.test? Änder das am Besten auch mal in shopware.local ab.

LG Andre

---

<div class="post-metadata">

**Author:** ![dreischild](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dreischild](https://forum.shopware.com/u/dreischild)\
**Post date:** [20. März 2019 um 08:46 UTC](https://forum.shopware.com/t/shopware-development/58663/6 "2019-03-20T08:46:47Z")

</div>

Hi,

weil der Host so lautet?! 😉

Abgesehen davon habe ich dieses Mal, wie oben geschrieben, 1:1 die Einstellungen aus eurem Guide übernommen. Daran kann es dann ja wohl eher nicht liegen. Ich gehe ja mal davon aus, dass ihr den Guide auch selber einmal getestet habt.

Konfiguration:  
[https://docs.shopware.com/en/shopware-platform-en/getting-started/dev-setup?category=shopware-platform-en/getting-started#web-root](https://docs.shopware.com/en/shopware-platform-en/getting-started/dev-setup?category=shopware-platform-en/getting-started#web-root)

VG

---

<div class="post-metadata">

**Author:** ![dreischild](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dreischild](https://forum.shopware.com/u/dreischild)\
**Post date:** [20. März 2019 um 09:00 UTC](https://forum.shopware.com/t/shopware-development/58663/7 "2019-03-20T09:00:05Z")

</div>

Kann es vielleicht hieran liegen? Ist doch bestimmt nicht normal, dass der Storefront API endpoint zweimal erstellt wurde, oder?

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/3/363e66e6e7f139d9a09947d28938b8718d8d5a5a.png)

---

<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:** [20. März 2019 um 09:04 UTC](https://forum.shopware.com/t/shopware-development/58663/8 "2019-03-20T09:04:57Z")

</div>

An den Verkaufskanälen liegt das nicht. Das ist im Development-Setup normal.

Ich nutze selbst das Docker-Setup nicht, hab die Kollegen aber mal auf den Thread angesetzt. Vielleicht meldet sich da noch jemand.

Ansonsten sieht es für mich gut aus. Hatte das Problem allerdings auch noch nicht bei der Installation.

---

<div class="post-metadata">

**Author:** ![dreischild](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@dreischild](https://forum.shopware.com/u/dreischild)\
**Post date:** [20. März 2019 um 09:16 UTC](https://forum.shopware.com/t/shopware-development/58663/9 "2019-03-20T09:16:57Z")

</div>

Zunächst vielen Dank hierfür. Bei mir ist das auch nicht das Docker Setup, sondern das Ubuntu Setup:

[https://docs.shopware.com/en/shopware-platform-en/getting-started/dev-setup?category=shopware-platform-en/getting-started#ubuntu-18-04-lts](https://docs.shopware.com/en/shopware-platform-en/getting-started/dev-setup?category=shopware-platform-en/getting-started#ubuntu-18-04-lts)
