# Localhost:8000 service unvailable - error 503

**URL:** https://forum.shopware.com/t/localhost-8000-service-unvailable-error-503/90637
**Category:** Installation / Einstieg
**Tags:** installation--gettin
**Created:** [30. September 2021 um 14:14 UTC](https://forum.shopware.com/t/localhost-8000-service-unvailable-error-503/90637 "2021-09-30T14:14:47Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![DanaSara](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@DanaSara](https://forum.shopware.com/u/DanaSara)
#### Post date: [30. September 2021 um 14:14 UTC](https://forum.shopware.com/t/localhost-8000-service-unvailable-error-503/90637/1 "2021-09-30T14:14:47Z")

</div>

Neue VirtualMachine installiert mit Ubuntu 20.04 für Shopware 6 developer.  
Ich habe es mit mehreren versucht, und immer dasselbe: error 503. Habe in Forums und Internet gesucht = nichts.  
Ich gehe genau das [Docker - Shopware Developer](https://developer.shopware.com/docs/guides/installation/docker) Tutorial nach. Vorher habe ich auch das [Installation overview] alles installiert. Diese zwei Seiten.  
Fehlt etwas im Tutorial was ich noch zu machen habe? Ich bin neu in diesem Thema.

---

<div class="post-metadata">

### Author: ![ninja](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@ninja](https://forum.shopware.com/u/ninja)
#### Post date: [30. September 2021 um 16:50 UTC](https://forum.shopware.com/t/localhost-8000-service-unvailable-error-503/90637/2 "2021-09-30T16:50:15Z")

</div>

Laufen die ./psh.phar Befehle denn alle sauber durch?

---

<div class="post-metadata">

### Author: ![DanaSara](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@DanaSara](https://forum.shopware.com/u/DanaSara)
#### Post date: [1. Oktober 2021 um 14:18 UTC](https://forum.shopware.com/t/localhost-8000-service-unvailable-error-503/90637/3 "2021-10-01T14:18:33Z")

</div>

Ich konnte es nur machen indem ich sudo benuzte. Dann habe ich mein User in Docker group getan. Auzerdem musste ich auch Zulassung mit „chown -R user:user /root/.composer“ und „chown -R user:user /root/.npm“ sonst funktionierte es nicht, es hatte keine genehmigung.

Mit Dockware funktioniert augezeichnet (Ich muss nur Apache runterfahren).  
Aber mit Docker…  
sudo ./psh.phar docker:start = Kein Problem.  
sudo /.psh.phar docker:ssh = Ich habe einige Beobachtungen, aber am Ende ist alles in Ordnung:

29/49 [================\>-----------] 59% Skipped installation of bin Resources/bin/var-dump-server for package symfony/var-dumper: name conflicts with an existing file

Package symfony/inflector is abandoned, you should avoid using it. Use use `EnglishInflector` from the String component instead instead.

29/50 [================\>-----------] 57% Skipped installation of bin Resources/bin/var-dump-server for package symfony/var-dumper: name conflicts with an existing file

**ERROR** Failed to apply patch for package eslint at path

```
    node_modules/eslint

  This error was caused because patch-package cannot apply the following patch file:

    patches/eslint+7.10.0.patch

  Try removing node_modules and trying again. If that doesn't work, maybe there was
  an accidental change made to the patch file? Try recreating it by manually
  editing the appropriate files and running:
  
    patch-package eslint
  
  If that doesn't work, then it's a bug in patch-package, so please submit a bug
  report. Thanks!

    https://github.com/ds300/patch-package/issues
    

**ERROR** Failed to apply patch for package eslint-plugin-vue at path
  
    node_modules/eslint-plugin-vue

  This error was caused because patch-package cannot apply the following patch file:

    patches/eslint-plugin-vue+7.9.0.patch

  Try removing node_modules and trying again. If that doesn't work, maybe there was
  an accidental change made to the patch file? Try recreating it by manually
  editing the appropriate files and running:
  
    patch-package eslint-plugin-vue
  
  If that doesn't work, then it's a bug in patch-package, so please submit a bug
  report. Thanks!

    https://github.com/ds300/patch-package/issues
    

**ERROR** Failed to apply patch for package vue-eslint-parser at path
  
    node_modules/vue-eslint-parser

  This error was caused because patch-package cannot apply the following patch file:

    patches/vue-eslint-parser+7.6.0.patch

  Try removing node_modules and trying again. If that doesn't work, maybe there was
  an accidental change made to the patch file? Try recreating it by manually
  editing the appropriate files and running:
  
    patch-package vue-eslint-parser
  
  If that doesn't work, then it's a bug in patch-package, so please submit a bug
  report. Thanks!

    https://github.com/ds300/patch-package/issues
    

---
patch-package finished with 3 error(s).

```

🙂

---

<div class="post-metadata">

### Author: ![ninja](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@ninja](https://forum.shopware.com/u/ninja)
#### Post date: [1. Oktober 2021 um 19:15 UTC](https://forum.shopware.com/t/localhost-8000-service-unvailable-error-503/90637/4 "2021-10-01T19:15:24Z")

</div>

Die Installation läuft also nicht sauber durch. Deswegen bekommst du wahrscheinlich auch den Error. Die Docker Installation sollte man auch NICHT mit sudo machen. Versuch dir die notwendigen Rechte zugeben und die Befehle ohne sudo auszuführen.

Das node\_modules/eslint macht anscheinend auch Probleme. Evtl. einmal den node\_modules Ordner löschen oder genauer schauen warum dieser Error geworfen wird.

Wenn es mit Dockware ohne Probleme funktioniert warum nutzt du dann nicht einfach das Dockware Image um zu entwickeln?

---

<div class="post-metadata">

### Author: ![DanaSara](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@DanaSara](https://forum.shopware.com/u/DanaSara)
#### Post date: [5. Oktober 2021 um 13:08 UTC](https://forum.shopware.com/t/localhost-8000-service-unvailable-error-503/90637/5 "2021-10-05T13:08:48Z")

</div>

Also, in einer ganz neuen Machine, habe ich es wieder versucht, alles neu, es fehlte mir dass hier um mit ohne Sudo zu arbeiten.

$ sudo service docker restart

$ sudo usermod -aG docker $USER

Log out und log back

$ docker run hello-world

und… localhost:8000 es es funktionierte!! 🙂

Dawischen kommt ein Tetxt, da heisst:

```
           npm update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /home/appuser/.config │

```

macht dass etwas aus?

---

<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: [5. Oktober 2021 um 14:29 UTC](https://forum.shopware.com/t/localhost-8000-service-unvailable-error-503/90637/6 "2021-10-05T14:29:26Z")

</div>

Der Hinweis sagt nur aus, dass nem nicht aktualisiert werden kann, da keine sudo-Rechte zugeteilt sind.

Das hat mit Shopware nichts zu tun.
