This commit is contained in:
Till Tomczak / Torben via Frontend 2025-04-01 10:01:15 +02:00
parent f64ca592c3
commit ffefd51c0d

70
docker-fehler.txt Normal file
View File

@ -0,0 +1,70 @@
[2025-04-01 09:58:50] Baue und starte Frontend-Container...
[2025-04-01 09:58:50] Dies kann auf einem Raspberry Pi mehrere Minuten dauern - bitte geduldig sein
[2025-04-01 09:58:50] Baue lokales Image (ohne Pull-Versuch)...
WARN[0000] /home/user/Projektarbeit-MYP/packages/reservation-platform/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
Compose can now delegate builds to bake for better performance.
To do so, set COMPOSE_BAKE=true.
[+] Building 10.3s (2/2) FINISHED docker-container:myp-rp-arm64-builder
=> [frontend internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.78kB 0.0s
=> ERROR [frontend internal] load metadata for docker.io/library/node:20-alpine 10.0s
------
> [frontend internal] load metadata for docker.io/library/node:20-alpine:
------
failed to solve: node:20-alpine: failed to resolve source metadata for docker.io/library/node:20-alpine: failed to do request: Head "https://registry-1.docker.io/v2/library/node/manifests/20-alpine": dial tcp: lookup registry-1.docker.io on 192.168.0.1:53: read udp 172.17.0.2:49628->192.168.0.1:53: i/o timeout
[2025-04-01 09:59:00] FEHLER: Docker Compose Build (v2) fehlgeschlagen. Versuche mit v1 Format...
[+] Building 10.3s (2/2) FINISHED docker-container:myp-rp-arm64-builder
=> [frontend internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.78kB 0.0s
=> ERROR [frontend internal] load metadata for docker.io/library/node:20-alpine 10.0s
------
> [frontend internal] load metadata for docker.io/library/node:20-alpine:
------
failed to solve: node:20-alpine: failed to resolve source metadata for docker.io/library/node:20-alpine: failed to do request: Head "https://registry-1.docker.io/v2/library/node/manifests/20-alpine": dial tcp: lookup registry-1.docker.io on 192.168.0.1:53: read udp 172.17.0.2:39804->192.168.0.1:53: i/o timeout
[2025-04-01 09:59:11] FEHLER: Docker Compose Build fehlgeschlagen. Siehe Fehlermeldung oben.
root@raspberrypi:/home/user/Projektarbeit-MYP# git pull
remote: Enumerating objects: 13, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 7 (delta 5), reused 0 (delta 0), pack-reused 0 (from 0)
Entpacke Objekte: 100% (7/7), 831 Bytes | 415.00 KiB/s, fertig.
Von https://git.cnull.net/core/Projektarbeit-MYP
0109eeb..f64ca59 main -> origin/main
Aktualisiere 0109eeb..f64ca59
Fast-forward
backend/Dockerfile | 2 +-
packages/reservation-platform/Dockerfile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
root@raspberrypi:/home/user/Projektarbeit-MYP# ./install-frontend.sh
[2025-04-01 10:00:11] Bereinige vorhandene Installation...
[2025-04-01 10:00:11] Bereinigung abgeschlossen.
[2025-04-01 10:00:11] Docker Compose v2 Plugin ist bereits installiert.
[2025-04-01 10:00:11] Wechsle ins Verzeichnis: /home/user/Projektarbeit-MYP/packages/reservation-platform
[2025-04-01 10:00:11] Erstelle .env Datei...
[2025-04-01 10:00:11] .env Datei erfolgreich erstellt
[2025-04-01 10:00:11] HINWEIS: Bitte passen Sie die Backend-URL in der .env-Datei an, falls das Backend auf einem anderen Server läuft.
[2025-04-01 10:00:11] Erstelle Datenbankverzeichnis
[2025-04-01 10:00:11] Baue und starte Frontend-Container...
[2025-04-01 10:00:11] Dies kann auf einem Raspberry Pi mehrere Minuten dauern - bitte geduldig sein
[2025-04-01 10:00:11] Baue lokales Image (ohne Pull-Versuch)...
WARN[0000] /home/user/Projektarbeit-MYP/packages/reservation-platform/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
Compose can now delegate builds to bake for better performance.
To do so, set COMPOSE_BAKE=true.
[+] Building 10.3s (2/2) FINISHED docker-container:myp-rp-arm64-builder
=> [frontend internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 2.78kB 0.0s
=> ERROR [frontend internal] load metadata for docker.io/library/node:lts-alpine 10.0s
------
> [frontend internal] load metadata for docker.io/library/node:lts-alpine:
------
failed to solve: node:lts-alpine: failed to resolve source metadata for docker.io/library/node:lts-alpine: failed to do request: Head "https://registry-1.docker.io/v2/library/node/manifests/lts-alpine": dial tcp: lookup registry-1.docker.io on 192.168.0.1:53: read udp 172.17.0.2:38035->192.168.0.1:53: i/o timeout
[2025-04-01 10:00:21] FEHLER: Docker Compose Build (v2) fehlgeschlagen. Versuche mit v1 Format...
[+] Building 10.5s (2/2) FINISHED docker-container:myp-rp-arm64-builder
=> [frontend internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.78kB 0.0s
=> ERROR [frontend internal] load metadata for docker.io/library/node:lts-alpine 10.0s
------
> [frontend internal] load metadata for docker.io/library/node:lts-alpine:
------
failed to solve: node:lts-alpine: failed to resolve source metadata for docker.io/library/node:lts-alpine: failed to do request: Head "https://registry-1.docker.io/v2/library/node/manifests/lts-alpine": dial tcp: lookup registry-1.docker.io on 192.168.0.1:53: read udp 172.17.0.2:35086->192.168.0.1:53: i/o timeout
[2025-04-01 10:00:32] FEHLER: Docker Compose Build fehlgeschlagen. Siehe Fehlermeldung oben.