Localhost:8000 service unvailable - error 503

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 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.

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

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).

:slight_smile:

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?

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!! :slight_smile:

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?

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

Das hat mit Shopware nichts zu tun.