📝 "Add logs for improved debugging

This commit is contained in:
2025-06-10 06:54:42 +02:00
parent c7f9738bbe
commit 430454820f
4 changed files with 86 additions and 0 deletions

32
backend/logs/debug.log Normal file
View File

@ -0,0 +1,32 @@
=================================================================
MYP Installation DEBUG Log - 2025-06-10 06:54:34
=================================================================
[2025-06-10 06:54:34] DEBUG von setup.sh:464
Debian erkannt über /etc/debian_version: 12.11
---
[2025-06-10 06:54:34] DEBUG von setup.sh:532
Kein Raspberry Pi erkannt. Hardware-Info:
---
[2025-06-10 06:54:34] DEBUG von setup.sh:533
- Device Tree: nicht verfügbar
---
[2025-06-10 06:54:34] DEBUG von setup.sh:534
- CPU Hardware: nicht verfügbar
---
[2025-06-10 06:54:34] DEBUG von setup.sh:574
Vollständige Kernel-Info: Linux debian 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux
---
[2025-06-10 06:54:34] DEBUG von setup.sh:630
DNS-Test Details: Teste DNS für 8.8.8.8: Erfolg mit nslookup.
---
[2025-06-10 06:54:34] DEBUG von setup.sh:731
Externe IP ermittelt über ifconfig.me: 163.116.178.113
---

4
backend/logs/errors.log Normal file
View File

@ -0,0 +1,4 @@
=================================================================
MYP Installation FEHLER Log - 2025-06-10 06:54:34
=================================================================

46
backend/logs/install.log Normal file
View File

@ -0,0 +1,46 @@
=================================================================
MYP Installation Log - 2025-06-10 06:54:34
Script Version: 4.1.0
System: Linux debian 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux
Arbeitsverzeichnis: /mnt
Log-Verzeichnis: /mnt/logs
=================================================================
[2025-06-10 06:54:34] === MODUS: ROBUSTE ABHÄNGIGKEITEN-INSTALLATION FÜR MANUELLES TESTEN ===
[2025-06-10 06:54:34] ✅ Root-Berechtigung bestätigt
[2025-06-10 06:54:34] === SYSTEM-RESSOURCEN PRÜFUNG ===
[FORTSCHRITT] Prüfe RAM...
[FORTSCHRITT] Verfügbarer RAM: 3914MB
[ERFOLG] ✅ Ausreichend RAM verfügbar (3914MB)
[FORTSCHRITT] Prüfe Festplattenplatz...
[FORTSCHRITT] Verfügbarer Festplattenplatz: 13,2GB (13473MB)
[ERFOLG] ✅ Ausreichend Festplattenplatz verfügbar (13,2GB)
[FORTSCHRITT] Prüfe CPU...
[FORTSCHRITT] CPU: 4 Kern(e) - 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz
[ERFOLG] ✅ CPU-Information erfolgreich ermittelt
[2025-06-10 06:54:34] ✅ System-Ressourcen-Prüfung abgeschlossen
[FORTSCHRITT] Prüfe Debian/Raspbian-System...
[DEBUG] Debian erkannt über /etc/debian_version: 12.11
[2025-06-10 06:54:34] ✅ Debian/Raspbian-basiertes System erkannt (Version: 12.11)
[FORTSCHRITT] Prüfe Raspberry Pi Hardware...
[INFO] 💻 Standard-PC/Server System (kein Raspberry Pi)
[DEBUG] Kein Raspberry Pi erkannt. Hardware-Info:
[DEBUG] - Device Tree: nicht verfügbar
[DEBUG] - CPU Hardware: nicht verfügbar
[FORTSCHRITT] Prüfe System-Architektur...
[INFO] 📐 System-Architektur: x86_64
[INFO] → 64-Bit x86 Architektur erkannt
[FORTSCHRITT] Prüfe Kernel-Version...
[INFO] 🐧 Kernel-Version: 6.1.0-37-amd64
[DEBUG] Vollständige Kernel-Info: Linux debian 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux
[2025-06-10 06:54:34] ✅ System-Analyse abgeschlossen
[FORTSCHRITT] Prüfe Internetverbindung (erweiterte Methoden)...
[FORTSCHRITT] Teste DNS-Auflösung...
[DEBUG] DNS-Test Details: Teste DNS für 8.8.8.8: Erfolg mit nslookup. 
[ERFOLG] ✅ Internetverbindung verfügbar
[INFO] 🔍 Erkannt via: DNS-Auflösung (nslookup: 8.8.8.8)
[FORTSCHRITT] Ermittle externe IP-Adresse...
[INFO] 🌐 Externe IP: 163.116.178.113
[DEBUG] Externe IP ermittelt über ifconfig.me: 163.116.178.113
[2025-06-10 06:54:34] === KONFIGURIERE HOSTNAME ===
[FORTSCHRITT] Setze Hostname von 'debian' auf 'raspberrypi'...

View File

@ -0,0 +1,4 @@
=================================================================
MYP Installation WARNUNGEN Log - 2025-06-10 06:54:34
=================================================================