🎉 Updated project documentation and added new files for initial setup and system status reports. 📚 #DocumentationUpdate
This commit is contained in:
parent
7297c656e7
commit
a5a82618f5
1
backend/docs/PROJEKT_INITIALISIERUNG.md
Normal file
1
backend/docs/PROJEKT_INITIALISIERUNG.md
Normal file
@ -0,0 +1 @@
|
||||
|
1
backend/docs/SYSTEM_STATUS_REPORT.md
Normal file
1
backend/docs/SYSTEM_STATUS_REPORT.md
Normal file
@ -0,0 +1 @@
|
||||
|
@ -775,7 +775,7 @@ EOF' || warning "APT-Konfiguration timeout - verwende Defaults"
|
||||
# Repository-Listen korrigieren (timeout-gesichert)
|
||||
progress "Validiere APT-Repositories (timeout-gesichert)..."
|
||||
timeout 20 bash -c '
|
||||
if [ -f /etc/apt/sources.list ]; then
|
||||
if [ -f /etc/apt/sources.list ]; then
|
||||
cp /etc/apt/sources.list /etc/apt/sources.list.backup 2>/dev/null || true
|
||||
if grep -q "deb-src" /etc/apt/sources.list 2>/dev/null; then
|
||||
sed -i "s/^deb-src/#deb-src/g" /etc/apt/sources.list 2>/dev/null || true
|
||||
@ -1102,7 +1102,7 @@ configure_network_security() {
|
||||
success() { echo "[ERFOLG] $1"; }
|
||||
|
||||
progress "Deaktiviere IPv6 (essentiell, max 30s)..."
|
||||
|
||||
|
||||
# 1. Einfache sysctl IPv6-Deaktivierung (schnell)
|
||||
echo "net.ipv6.conf.all.disable_ipv6=1" > /etc/sysctl.d/99-myp-ipv6.conf 2>/dev/null || true
|
||||
echo "net.ipv6.conf.default.disable_ipv6=1" >> /etc/sysctl.d/99-myp-ipv6.conf 2>/dev/null || true
|
||||
@ -1120,9 +1120,9 @@ configure_network_security() {
|
||||
# update-grub nur mit 10s timeout
|
||||
if timeout 10 update-grub >/dev/null 2>&1; then
|
||||
success "GRUB IPv6 deaktiviert"
|
||||
else
|
||||
else
|
||||
warning "GRUB-Update timeout - wird beim nächsten Boot aktiv"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -1459,7 +1459,7 @@ install_ssl_certificates() {
|
||||
' -- "$CURRENT_DIR" 2>/dev/null || warning "Mercedes-Zertifikate timeout - überspringe"
|
||||
|
||||
info "Mercedes-Zertifikate werden beim nächsten Boot aktiv"
|
||||
else
|
||||
else
|
||||
info "Keine Mercedes-Zertifikate gefunden"
|
||||
fi
|
||||
|
||||
@ -2011,8 +2011,8 @@ test_application() {
|
||||
# Methode 3: nc als direkter Port-Test
|
||||
if command -v nc >/dev/null 2>&1; then
|
||||
if echo "GET / HTTP/1.0" | nc -w 3 localhost 5000 2>/dev/null | grep -q "HTTP"; then
|
||||
connection_successful=true
|
||||
break
|
||||
connection_successful=true
|
||||
break
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user