🎉 Feature: Enhanced Admin Guest Requests API & Startup Initialization Documentation 📚

This commit is contained in:
Till Tomczak
2025-06-20 08:36:07 +02:00
parent 939f14199d
commit cbea4cb765
27 changed files with 1653 additions and 52 deletions

View File

@ -58774,3 +58774,565 @@ WHERE users.role = ?]
2025-06-20 08:19:39 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:19:42 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:19:42 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:20:14 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
2025-06-20 08:20:16 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-20 08:20:16 - [app] app - [WARNING] WARNING - Fehler beim Korrigieren der Admin-Berechtigungen:
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [STARTUP] 🏢
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-20 08:20:16 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-20 08:20:16 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) wurde angelegt.
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-20 08:20:16 - [app] app - [INFO] INFO - Drucker erstellt: Drucker 1 (192.168.0.100)
2025-06-20 08:20:16 - [app] app - [INFO] INFO - Drucker erstellt: Drucker 2 (192.168.0.101)
2025-06-20 08:20:16 - [app] app - [INFO] INFO - Drucker erstellt: Drucker 3 (192.168.0.102)
2025-06-20 08:20:16 - [app] app - [INFO] INFO - Drucker erstellt: Drucker 4 (192.168.0.103)
2025-06-20 08:20:16 - [app] app - [INFO] INFO - Drucker erstellt: Drucker 5 (192.168.0.104)
2025-06-20 08:20:16 - [app] app - [INFO] INFO - Drucker erstellt: Drucker 6 (192.168.0.106)
2025-06-20 08:20:16 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 6 erstellt, 0 aktualisiert
2025-06-20 08:20:16 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-20 08:20:16 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-20 08:20:16 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://:
2025-06-20 08:20:18 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
2025-06-20 08:20:19 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-20 08:20:19 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: erstellt, aktualisiert
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [STARTUP] 🏢
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-20 08:20:19 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-20 08:20:19 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-20 08:20:19 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-20 08:20:19 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-20 08:20:19 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-20 08:20:19 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-20 08:20:19 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-20 08:20:19 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-20 08:20:19 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-20 08:20:20 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-20 08:20:20 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-20 08:20:20 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-20 08:20:20 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-20 08:20:20 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-20 08:20:20 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-20 08:20:20 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-20 08:20:20 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-20 08:20:20 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://:
2025-06-20 08:20:23 - [app] app - [INFO] INFO - Locating template 'admin_tapo_monitoring.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\admin_tapo_monitoring.html')
2025-06-20 08:20:23 - [app] app - [INFO] INFO - Locating template 'base.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\base.html')
2025-06-20 08:20:23 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:20:23 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:20:23 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers :
2025-06-20 08:20:23 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:20:23 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:20:33 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:20:33 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system
2025-06-20 08:20:33 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:20:33 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system
2025-06-20 08:20:33 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:20:33 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system
2025-06-20 08:20:33 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:20:34 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system
2025-06-20 08:20:34 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:20:36 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system
2025-06-20 08:20:36 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:20:36 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system
2025-06-20 08:20:36 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:20:36 - [app] app - [DEBUG] DEBUG - ✅ Status-Updates für Drucker erfolgreich gespeichert
2025-06-20 08:20:36 - [app] app - [INFO] INFO - Locating template 'printers.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\printers.html')
2025-06-20 08:20:36 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:20:37 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:20:37 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:20:44 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:20:44 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system
2025-06-20 08:20:44 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:20:44 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system
2025-06-20 08:20:44 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:20:44 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system
2025-06-20 08:20:44 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:20:45 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system
2025-06-20 08:20:45 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:20:47 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system
2025-06-20 08:20:47 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:20:47 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system
2025-06-20 08:20:47 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:20:47 - [app] app - [DEBUG] DEBUG - ✅ Status-Updates für Drucker erfolgreich gespeichert
2025-06-20 08:20:47 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:20:47 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:20:47 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:20:58 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:20:58 - [app] app - [INFO] INFO - Locating template 'energy_dashboard.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\energy_dashboard.html')
2025-06-20 08:20:58 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:21:11 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:21:11 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:21:11 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:21:11 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:21:15 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:21:15 - [app] app - [INFO] INFO - Locating template 'energy_device_details.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\energy_device_details.html')
2025-06-20 08:21:15 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:21:16 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:21:16 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:21:16 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:21:16 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:21:16 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:21:16 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:21:16 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:21:16 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:21:16 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:21:16 - [app] app - [INFO] INFO - Locating template 'dashboard.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\dashboard.html')
2025-06-20 08:21:16 - [app] app - [INFO] INFO - Locating template 'macros/ui_components.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\macros\\ui_components.html')
2025-06-20 08:21:16 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:21:22 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:21:22 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system
2025-06-20 08:21:22 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:21:22 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system
2025-06-20 08:21:22 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:21:23 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system
2025-06-20 08:21:23 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:21:23 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system
2025-06-20 08:21:23 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:21:25 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system
2025-06-20 08:21:25 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:21:25 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system
2025-06-20 08:21:25 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:21:25 - [app] app - [DEBUG] DEBUG - ✅ Status-Updates für Drucker erfolgreich gespeichert
2025-06-20 08:21:25 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:21:26 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:21:26 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:21:56 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:21:56 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:22:15 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:22:15 - [app] app - [INFO] INFO - Locating template 'admin.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\admin.html')
2025-06-20 08:22:15 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:22:15 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:22:15 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:22:15 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:22:15 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:22:15 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:22:16 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:22:17 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:22:17 - [app] app - [INFO] INFO - Locating template 'admin_guest_requests.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\admin_guest_requests.html')
2025-06-20 08:22:17 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:22:18 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:22:18 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:22:18 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers :
2025-06-20 08:22:18 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:22:18 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:22:18 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:22:18 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:22:18 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:22:18 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:22:18 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:22:18 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:22:30 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:22:30 - [app] app - [INFO] INFO - Not Found (404):
2025-06-20 08:22:30 - [app] app - [INFO] INFO - Locating template 'errors/404.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\errors\\404.html')
2025-06-20 08:22:30 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:22:48 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:22:48 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:22:48 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:22:48 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:23:18 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:23:18 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:23:18 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:23:18 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:23:48 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:23:48 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:23:48 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:23:48 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:24:07 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:24:08 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system
2025-06-20 08:24:08 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:08 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system
2025-06-20 08:24:08 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:08 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system
2025-06-20 08:24:08 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:08 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system
2025-06-20 08:24:08 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:10 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system
2025-06-20 08:24:10 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:10 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system
2025-06-20 08:24:10 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:10 - [app] app - [DEBUG] DEBUG - ✅ Status-Updates für Drucker erfolgreich gespeichert
2025-06-20 08:24:10 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:24:11 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:24:11 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:24:14 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:24:15 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system
2025-06-20 08:24:15 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:15 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system
2025-06-20 08:24:15 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:15 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system
2025-06-20 08:24:15 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:15 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system
2025-06-20 08:24:15 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:17 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system
2025-06-20 08:24:17 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:17 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system
2025-06-20 08:24:17 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:17 - [app] app - [DEBUG] DEBUG - ✅ Status-Updates für Drucker erfolgreich gespeichert
2025-06-20 08:24:17 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:24:18 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:24:18 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:24:30 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:24:31 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system
2025-06-20 08:24:31 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:31 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system
2025-06-20 08:24:31 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:33 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system
2025-06-20 08:24:33 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:34 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system
2025-06-20 08:24:34 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:36 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system
2025-06-20 08:24:36 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:36 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system
2025-06-20 08:24:36 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:24:36 - [app] app - [DEBUG] DEBUG - ✅ Status-Updates für Drucker erfolgreich gespeichert
2025-06-20 08:24:36 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:24:36 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:24:36 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:25:06 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:25:06 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:25:36 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:25:36 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:25:55 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:25:56 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system
2025-06-20 08:25:56 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:25:56 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system
2025-06-20 08:25:56 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:25:56 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system
2025-06-20 08:25:56 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:25:56 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system
2025-06-20 08:25:56 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:25:59 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system
2025-06-20 08:25:59 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:25:59 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system
2025-06-20 08:25:59 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:25:59 - [app] app - [DEBUG] DEBUG - ✅ Status-Updates für Drucker erfolgreich gespeichert
2025-06-20 08:25:59 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:25:59 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:25:59 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:26:29 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:26:29 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:26:33 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:26:33 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system
2025-06-20 08:26:33 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:26:33 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system
2025-06-20 08:26:33 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:26:33 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system
2025-06-20 08:26:33 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:26:33 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system
2025-06-20 08:26:33 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:26:35 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system
2025-06-20 08:26:35 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:26:36 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system
2025-06-20 08:26:36 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:26:36 - [app] app - [DEBUG] DEBUG - ✅ Status-Updates für Drucker erfolgreich gespeichert
2025-06-20 08:26:36 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:26:36 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:26:36 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:27:07 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:27:07 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:31:43 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-20 08:33:20 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-20 08:33:21 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
2025-06-20 08:33:21 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
2025-06-20 08:33:21 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-20 08:33:21 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-20 08:33:21 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
2025-06-20 08:33:21 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
2025-06-20 08:33:21 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
2025-06-20 08:33:21 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
2025-06-20 08:33:21 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-20 08:33:21 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: erstellt, aktualisiert
2025-06-20 08:33:21 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
2025-06-20 08:33:21 - [app] app - [INFO] INFO - [STARTUP] 🏢
2025-06-20 08:33:21 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
2025-06-20 08:33:21 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-20 08:33:21 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-20 08:33:21 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-20 08:33:21 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-20 08:33:22 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-20 08:33:22 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-20 08:33:22 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-20 08:33:22 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-20 08:33:22 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-20 08:33:22 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-20 08:33:22 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-20 08:33:22 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-20 08:33:22 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-20 08:33:22 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-20 08:33:22 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-20 08:33:22 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-20 08:33:22 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-20 08:33:22 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-20 08:33:22 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-20 08:33:22 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-20 08:33:22 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-20 08:33:22 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Steckdosen (alle auf 'aus' = frei)...
2025-06-20 08:33:40 - [app] app - [WARNING] WARNING - [STARTUP] ⚠️ Keine der 6 Steckdosen konnte initialisiert werden
2025-06-20 08:33:40 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://:
2025-06-20 08:33:41 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
2025-06-20 08:33:42 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-20 08:33:42 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: erstellt, aktualisiert
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [STARTUP] 🏢
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-20 08:33:42 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-20 08:33:42 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-20 08:33:42 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-20 08:33:42 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-20 08:33:42 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-20 08:33:42 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-20 08:33:42 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-20 08:33:42 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-20 08:33:42 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-20 08:33:42 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-20 08:33:42 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-20 08:33:42 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Steckdosen (alle auf 'aus' = frei)...
2025-06-20 08:34:00 - [app] app - [WARNING] WARNING - [STARTUP] ⚠️ Keine der 6 Steckdosen konnte initialisiert werden
2025-06-20 08:34:00 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://:
2025-06-20 08:34:00 - [app] app - [INFO] INFO - Locating template 'dashboard.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\dashboard.html')
2025-06-20 08:34:00 - [app] app - [INFO] INFO - Locating template 'base.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\base.html')
2025-06-20 08:34:00 - [app] app - [INFO] INFO - Locating template 'macros/ui_components.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\macros\\ui_components.html')
2025-06-20 08:34:00 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:34:01 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 08:34:01 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:34:06 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system
2025-06-20 08:34:06 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 08:34:09 - [app] app - [INFO] INFO - [SHUTDOWN] 🧹 Cleanup wird ausgeführt...
2025-06-20 08:34:09 - [app] app - [INFO] INFO - [SHUTDOWN] ✅ Queue Manager gestoppt
2025-06-20 08:34:09 - [app] app - [ERROR] ERROR - [SHUTDOWN] ❌ Cleanup-Fehler:
2025-06-20 08:34:10 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
2025-06-20 08:34:11 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-20 08:34:11 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: erstellt, aktualisiert
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [STARTUP] 🏢
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-20 08:34:11 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-20 08:34:11 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-20 08:34:11 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-20 08:34:11 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-20 08:34:11 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-20 08:34:11 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-20 08:34:11 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-20 08:34:11 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-20 08:34:11 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-20 08:34:11 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-20 08:34:11 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-20 08:34:11 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Steckdosen (alle auf 'aus' = frei)...
2025-06-20 08:34:29 - [app] app - [WARNING] WARNING - [STARTUP] ⚠️ Keine der 6 Steckdosen konnte initialisiert werden
2025-06-20 08:34:29 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://:
2025-06-20 08:34:30 - [app] app - [INFO] INFO - Locating template 'guest_request.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\guest_request.html')
2025-06-20 08:34:30 - [app] app - [INFO] INFO - Locating template 'base.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\base.html')
2025-06-20 08:34:30 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 08:34:30 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers :
2025-06-20 08:34:36 - [app] app - [INFO] INFO - [SHUTDOWN] 🧹 Cleanup wird ausgeführt...
2025-06-20 08:34:36 - [app] app - [INFO] INFO - [SHUTDOWN] ✅ Queue Manager gestoppt
2025-06-20 08:34:36 - [app] app - [ERROR] ERROR - [SHUTDOWN] ❌ Cleanup-Fehler:
2025-06-20 08:34:37 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-20 08:34:39 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
2025-06-20 08:34:39 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
2025-06-20 08:34:39 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-20 08:34:39 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-20 08:34:39 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
2025-06-20 08:34:39 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
2025-06-20 08:34:39 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
2025-06-20 08:34:39 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
2025-06-20 08:34:39 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-20 08:34:39 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: erstellt, aktualisiert
2025-06-20 08:34:39 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
2025-06-20 08:34:39 - [app] app - [INFO] INFO - [STARTUP] 🏢
2025-06-20 08:34:39 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
2025-06-20 08:34:39 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-20 08:34:39 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-20 08:34:39 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-20 08:34:39 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-20 08:34:40 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-20 08:34:40 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-20 08:34:40 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-20 08:34:40 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-20 08:34:40 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-20 08:34:40 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-20 08:34:40 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-20 08:34:40 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-20 08:34:40 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-20 08:34:40 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-20 08:34:40 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-20 08:34:40 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-20 08:34:40 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-20 08:34:40 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-20 08:34:40 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-20 08:34:40 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-20 08:34:40 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-20 08:34:40 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Steckdosen (alle auf 'aus' = frei)...
2025-06-20 08:34:45 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db