🐛 Aktualisierung der Protokolldateien und Verbesserung der Benutzeroberfläche im Admin-Dashboard. 📈 Hinzufügen von Fallback-Optionen für die Benutzererstellung und Optimierung der Live-Statistiken. 🛠️ Behebung von Problemen mit nicht definierten Attributen in den Protokollen und Verbesserung der Benutzererfahrung durch informative Meldungen. 🌟

This commit is contained in:
Till Tomczak
2025-06-20 12:42:07 +02:00
parent 984512ae12
commit ef252c68d1
17 changed files with 558 additions and 54 deletions

View File

@ -2197,3 +2197,15 @@ jinja2.exceptions.UndefinedError: 'maintenance_info' is undefined
2025-06-20 12:35:01 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_live_stats: User authenticated: True, User ID: 1, Is Admin: True
2025-06-20 12:35:02 - [admin] admin - [INFO] INFO - Admin-Check für Funktion get_system_status_api: User authenticated: True, User ID: 1, Is Admin: True
2025-06-20 12:35:03 - [admin] admin - [INFO] INFO - System-Status abgerufen von admin
2025-06-20 12:38:11 - [admin] admin - [INFO] INFO - Admin-Check für Funktion tapo_monitoring: User authenticated: True, User ID: 1, Is Admin: True
2025-06-20 12:38:11 - [admin] admin - [INFO] INFO - Tapo-Monitoring aufgerufen von admin
2025-06-20 12:38:47 - [admin] admin - [INFO] INFO - Tapo-Monitoring geladen: 6 Steckdosen, 0 online
2025-06-20 12:39:20 - [admin] admin - [INFO] INFO - Admin-Check für Funktion admin_dashboard: User authenticated: True, User ID: 1, Is Admin: True
2025-06-20 12:39:20 - [admin] admin - [INFO] INFO - Admin-Dashboard geladen von admin mit 2 Benutzern
2025-06-20 12:39:20 - [admin] admin - [ERROR] ERROR - Fehler beim Laden des Admin-Dashboards: 'dict object' has no attribute 'online_printers'
2025-06-20 12:39:23 - [admin] admin - [INFO] INFO - Admin-Check für Funktion users_overview: User authenticated: True, User ID: 1, Is Admin: True
2025-06-20 12:39:23 - [admin] admin - [INFO] INFO - Benutzerübersicht geladen von admin
2025-06-20 12:39:23 - [admin] admin - [ERROR] ERROR - Fehler beim Laden der Benutzerübersicht: 'dict object' has no attribute 'online_printers'
2025-06-20 12:39:31 - [admin] admin - [INFO] INFO - Admin-Check für Funktion advanced_settings: User authenticated: True, User ID: 1, Is Admin: True
2025-06-20 12:39:31 - [admin] admin - [INFO] INFO - Erweiterte Einstellungen werden geladen von admin
2025-06-20 12:39:31 - [admin] admin - [INFO] INFO - Template wird gerendert mit stats: {'total_users': 2, 'total_printers': 6, 'active_printers': 0, 'total_jobs': 0, 'pending_jobs': 0}

View File

@ -66178,3 +66178,265 @@ AttributeError: type object 'Job' has no attribute 'updated_at'. Did you mean: '
2025-06-20 12:35:03 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:35:06 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system
2025-06-20 12:35:06 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 12:37:31 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: database/myp.db
2025-06-20 12:37:32 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
2025-06-20 12:37:32 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
2025-06-20 12:37:32 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-20 12:37:32 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-20 12:37:32 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
2025-06-20 12:37:32 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
2025-06-20 12:37:32 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
2025-06-20 12:37:32 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
2025-06-20 12:37:33 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-20 12:37:33 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: erstellt, aktualisiert
2025-06-20 12:37:33 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
2025-06-20 12:37:33 - [app] app - [INFO] INFO - [STARTUP] 🏢
2025-06-20 12:37:33 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
2025-06-20 12:37:33 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-20 12:37:33 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-20 12:37:33 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-20 12:37:33 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-20 12:37:33 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-20 12:37:33 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-20 12:37:33 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-20 12:37:33 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-20 12:37:33 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-20 12:37:33 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-20 12:37:33 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-20 12:37:33 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-20 12:37:33 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-20 12:37:33 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-20 12:37:33 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-20 12:37:33 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-20 12:37:33 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-20 12:37:33 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-20 12:37:33 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-20 12:37:33 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-20 12:37:33 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-20 12:37:33 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Steckdosen (alle auf 'aus' = frei)...
2025-06-20 12:37:51 - [app] app - [WARNING] WARNING - [STARTUP] ⚠️ Keine der 6 Steckdosen konnte initialisiert werden
2025-06-20 12:37:51 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://:
2025-06-20 12:37:52 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: database/myp.db
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
2025-06-20 12:37:53 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-20 12:37:53 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: erstellt, aktualisiert
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [STARTUP] 🏢
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-20 12:37:53 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-20 12:37:53 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-20 12:37:53 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-20 12:37:53 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-20 12:37:53 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-20 12:37:53 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-20 12:37:53 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-20 12:37:53 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-20 12:37:53 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-20 12:37:53 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-20 12:37:53 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-20 12:37:53 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Steckdosen (alle auf 'aus' = frei)...
2025-06-20 12:38:11 - [app] app - [WARNING] WARNING - [STARTUP] ⚠️ Keine der 6 Steckdosen konnte initialisiert werden
2025-06-20 12:38:11 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://:
2025-06-20 12:38:47 - [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 12:38:47 - [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 12:38:47 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:38:47 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:38:47 - [app] app - [INFO] INFO - Not Found (404):
2025-06-20 12:38:47 - [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 12:38:47 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:38:47 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:38:47 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:38:58 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:38:58 - [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 12:38:58 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:38:58 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:38:58 - [app] app - [INFO] INFO - Not Found (404):
2025-06-20 12:38:58 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:38:58 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:38:58 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:08 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:08 - [app] app - [INFO] INFO - ✅ Dashboard geladen für Administrator: 0 aktive Jobs, 0 verfügbare Drucker
2025-06-20 12:39:08 - [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 12:39:08 - [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 12:39:08 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:08 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:08 - [app] app - [INFO] INFO - Not Found (404):
2025-06-20 12:39:08 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:08 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:08 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:20 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:20 - [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 12:39:20 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:21 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:21 - [app] app - [INFO] INFO - Not Found (404):
2025-06-20 12:39:21 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:21 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:21 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:23 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:23 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:23 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:23 - [app] app - [INFO] INFO - Not Found (404):
2025-06-20 12:39:23 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:23 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers :
2025-06-20 12:39:23 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:23 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:31 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:31 - [app] app - [INFO] INFO - Locating template 'admin_advanced_settings.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_advanced_settings.html')
2025-06-20 12:39:31 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:31 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:31 - [app] app - [INFO] INFO - Not Found (404):
2025-06-20 12:39:31 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:31 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:31 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:38 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:38 - [app] app - [INFO] INFO - ✅ Dashboard geladen für Administrator: 0 aktive Jobs, 0 verfügbare Drucker
2025-06-20 12:39:38 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:38 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:38 - [app] app - [INFO] INFO - Not Found (404):
2025-06-20 12:39:38 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:38 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:38 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:45 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:45 - [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 12:39:45 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:45 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:45 - [app] app - [INFO] INFO - Not Found (404):
2025-06-20 12:39:45 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:39:45 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:45 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:39:45 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:40:15 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:40:15 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:40:21 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:40:21 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:40:35 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:40:46 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:40:46 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:40:57 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:40:57 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:41:06 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:41:11 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:41:15 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:41:15 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:41:33 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:41:33 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:41:35 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:41:42 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:41:45 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 12:41:45 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 12:41:56 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: database/myp.db
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
2025-06-20 12:41:57 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-20 12:41:57 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: erstellt, aktualisiert
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [STARTUP] 🏢
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-20 12:41:57 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-20 12:41:57 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-20 12:41:57 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-20 12:41:57 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-20 12:41:57 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-20 12:41:57 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-20 12:41:57 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-20 12:41:57 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-20 12:41:57 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-20 12:41:57 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-20 12:41:57 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-20 12:41:57 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Steckdosen (alle auf 'aus' = frei)...

View File

@ -528,3 +528,9 @@
2025-06-20 12:33:39 - [core_system] core_system - [INFO] INFO - 📊 Massive Konsolidierung: 6 Dateien → 1 Datei (88% Reduktion)
2025-06-20 12:34:05 - [core_system] core_system - [INFO] INFO - ✅ Core System Management Module erfolgreich initialisiert
2025-06-20 12:34:05 - [core_system] core_system - [INFO] INFO - 📊 Massive Konsolidierung: 6 Dateien → 1 Datei (88% Reduktion)
2025-06-20 12:37:31 - [core_system] core_system - [INFO] INFO - ✅ Core System Management Module erfolgreich initialisiert
2025-06-20 12:37:31 - [core_system] core_system - [INFO] INFO - 📊 Massive Konsolidierung: 6 Dateien → 1 Datei (88% Reduktion)
2025-06-20 12:37:52 - [core_system] core_system - [INFO] INFO - ✅ Core System Management Module erfolgreich initialisiert
2025-06-20 12:37:52 - [core_system] core_system - [INFO] INFO - 📊 Massive Konsolidierung: 6 Dateien → 1 Datei (88% Reduktion)
2025-06-20 12:41:56 - [core_system] core_system - [INFO] INFO - ✅ Core System Management Module erfolgreich initialisiert
2025-06-20 12:41:56 - [core_system] core_system - [INFO] INFO - 📊 Massive Konsolidierung: 6 Dateien → 1 Datei (88% Reduktion)

View File

@ -1067,3 +1067,9 @@
2025-06-20 12:33:39 - [data_management] data_management - [INFO] INFO - 📊 Massive Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-20 12:34:05 - [data_management] data_management - [INFO] INFO - ✅ Data Management Module initialisiert
2025-06-20 12:34:05 - [data_management] data_management - [INFO] INFO - 📊 Massive Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-20 12:37:31 - [data_management] data_management - [INFO] INFO - ✅ Data Management Module initialisiert
2025-06-20 12:37:31 - [data_management] data_management - [INFO] INFO - 📊 Massive Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-20 12:37:52 - [data_management] data_management - [INFO] INFO - ✅ Data Management Module initialisiert
2025-06-20 12:37:52 - [data_management] data_management - [INFO] INFO - 📊 Massive Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-20 12:41:56 - [data_management] data_management - [INFO] INFO - ✅ Data Management Module initialisiert
2025-06-20 12:41:56 - [data_management] data_management - [INFO] INFO - 📊 Massive Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)

View File

@ -121,3 +121,6 @@
2025-06-20 12:33:20 - [drucker_steuerung] drucker_steuerung - [INFO] INFO - 🖨️ Drucker-Steuerungs-Blueprint (Backend-Kontrolle) geladen
2025-06-20 12:33:41 - [drucker_steuerung] drucker_steuerung - [INFO] INFO - 🖨️ Drucker-Steuerungs-Blueprint (Backend-Kontrolle) geladen
2025-06-20 12:34:06 - [drucker_steuerung] drucker_steuerung - [INFO] INFO - 🖨️ Drucker-Steuerungs-Blueprint (Backend-Kontrolle) geladen
2025-06-20 12:37:33 - [drucker_steuerung] drucker_steuerung - [INFO] INFO - 🖨️ Drucker-Steuerungs-Blueprint (Backend-Kontrolle) geladen
2025-06-20 12:37:53 - [drucker_steuerung] drucker_steuerung - [INFO] INFO - 🖨️ Drucker-Steuerungs-Blueprint (Backend-Kontrolle) geladen
2025-06-20 12:41:57 - [drucker_steuerung] drucker_steuerung - [INFO] INFO - 🖨️ Drucker-Steuerungs-Blueprint (Backend-Kontrolle) geladen

View File

@ -854,3 +854,24 @@
2025-06-20 12:33:20 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiemonitoring-Blueprint initialisiert
2025-06-20 12:33:41 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiemonitoring-Blueprint initialisiert
2025-06-20 12:34:06 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiemonitoring-Blueprint initialisiert
2025-06-20 12:37:33 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiemonitoring-Blueprint initialisiert
2025-06-20 12:37:53 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiemonitoring-Blueprint initialisiert
2025-06-20 12:39:45 - [energy_monitoring] energy_monitoring - [INFO] INFO - 🔋 Energiemonitoring-Dashboard aufgerufen von admin
2025-06-20 12:39:45 - [energy_monitoring] energy_monitoring - [INFO] INFO - 📊 API-Energiemonitoring-Dashboard von admin
2025-06-20 12:40:21 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Dashboard-Daten erfolgreich erstellt: 0 Geräte online
2025-06-20 12:40:21 - [energy_monitoring] energy_monitoring - [INFO] INFO - [OK] API-Energiemonitoring-Dashboard 'api_energy_dashboard' erfolgreich in 35954.04ms
2025-06-20 12:40:21 - [energy_monitoring] energy_monitoring - [INFO] INFO - 📊 API-Energiemonitoring-Dashboard von admin
2025-06-20 12:40:35 - [energy_monitoring] energy_monitoring - [INFO] INFO - 📊 API-Energiemonitoring-Dashboard von admin
2025-06-20 12:40:57 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Dashboard-Daten erfolgreich erstellt: 0 Geräte online
2025-06-20 12:40:57 - [energy_monitoring] energy_monitoring - [INFO] INFO - [OK] API-Energiemonitoring-Dashboard 'api_energy_dashboard' erfolgreich in 35991.62ms
2025-06-20 12:40:57 - [energy_monitoring] energy_monitoring - [INFO] INFO - 📊 API-Energiemonitoring-Dashboard von admin
2025-06-20 12:41:06 - [energy_monitoring] energy_monitoring - [INFO] INFO - 📊 API-Energiemonitoring-Dashboard von admin
2025-06-20 12:41:11 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Dashboard-Daten erfolgreich erstellt: 0 Geräte online
2025-06-20 12:41:11 - [energy_monitoring] energy_monitoring - [INFO] INFO - [OK] API-Energiemonitoring-Dashboard 'api_energy_dashboard' erfolgreich in 35927.72ms
2025-06-20 12:41:33 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Dashboard-Daten erfolgreich erstellt: 0 Geräte online
2025-06-20 12:41:33 - [energy_monitoring] energy_monitoring - [INFO] INFO - [OK] API-Energiemonitoring-Dashboard 'api_energy_dashboard' erfolgreich in 35996.59ms
2025-06-20 12:41:33 - [energy_monitoring] energy_monitoring - [INFO] INFO - 📊 API-Energiemonitoring-Dashboard von admin
2025-06-20 12:41:35 - [energy_monitoring] energy_monitoring - [INFO] INFO - 📊 API-Energiemonitoring-Dashboard von admin
2025-06-20 12:41:42 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Dashboard-Daten erfolgreich erstellt: 0 Geräte online
2025-06-20 12:41:42 - [energy_monitoring] energy_monitoring - [INFO] INFO - [OK] API-Energiemonitoring-Dashboard 'api_energy_dashboard' erfolgreich in 36014.30ms
2025-06-20 12:41:57 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiemonitoring-Blueprint initialisiert

View File

@ -4016,3 +4016,96 @@
2025-06-20 12:35:00 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.100 ist im Netzwerk nicht erreichbar
2025-06-20 12:35:06 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.101 ist über keine Methode erreichbar
2025-06-20 12:35:06 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.101 ist im Netzwerk nicht erreichbar
2025-06-20 12:37:31 - [hardware_integration] hardware_integration - [INFO] INFO - 🚀 Hardware Integration (Backend-Kontrolle) erfolgreich geladen
2025-06-20 12:37:33 - [hardware_integration] hardware_integration - [INFO] INFO - 🎯 DruckerSteuerung initialisiert - BACKEND ÜBERNIMMT KONTROLLE
2025-06-20 12:37:52 - [hardware_integration] hardware_integration - [INFO] INFO - 🚀 Hardware Integration (Backend-Kontrolle) erfolgreich geladen
2025-06-20 12:37:53 - [hardware_integration] hardware_integration - [INFO] INFO - 🎯 DruckerSteuerung initialisiert - BACKEND ÜBERNIMMT KONTROLLE
2025-06-20 12:38:17 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.100 ist über keine Methode erreichbar
2025-06-20 12:38:17 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.100 ist im Netzwerk nicht erreichbar
2025-06-20 12:38:23 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.101 ist über keine Methode erreichbar
2025-06-20 12:38:23 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.101 ist im Netzwerk nicht erreichbar
2025-06-20 12:38:29 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.102 ist über keine Methode erreichbar
2025-06-20 12:38:29 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.102 ist im Netzwerk nicht erreichbar
2025-06-20 12:38:35 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.103 ist über keine Methode erreichbar
2025-06-20 12:38:35 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.103 ist im Netzwerk nicht erreichbar
2025-06-20 12:38:41 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.104 ist über keine Methode erreichbar
2025-06-20 12:38:41 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.104 ist im Netzwerk nicht erreichbar
2025-06-20 12:38:47 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.106 ist über keine Methode erreichbar
2025-06-20 12:38:47 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.106 ist im Netzwerk nicht erreichbar
2025-06-20 12:39:51 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.100 ist über keine Methode erreichbar
2025-06-20 12:39:51 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.100 ist im Netzwerk nicht erreichbar
2025-06-20 12:39:57 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.101 ist über keine Methode erreichbar
2025-06-20 12:39:57 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.101 ist im Netzwerk nicht erreichbar
2025-06-20 12:40:03 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.102 ist über keine Methode erreichbar
2025-06-20 12:40:03 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.102 ist im Netzwerk nicht erreichbar
2025-06-20 12:40:09 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.103 ist über keine Methode erreichbar
2025-06-20 12:40:09 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.103 ist im Netzwerk nicht erreichbar
2025-06-20 12:40:15 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.104 ist über keine Methode erreichbar
2025-06-20 12:40:15 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.104 ist im Netzwerk nicht erreichbar
2025-06-20 12:40:21 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.106 ist über keine Methode erreichbar
2025-06-20 12:40:21 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.106 ist im Netzwerk nicht erreichbar
2025-06-20 12:40:21 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Energiestatistiken erstellt: 0/6 Drucker online
2025-06-20 12:40:27 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.100 ist über keine Methode erreichbar
2025-06-20 12:40:27 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.100 ist im Netzwerk nicht erreichbar
2025-06-20 12:40:33 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.101 ist über keine Methode erreichbar
2025-06-20 12:40:33 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.101 ist im Netzwerk nicht erreichbar
2025-06-20 12:40:39 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.102 ist über keine Methode erreichbar
2025-06-20 12:40:39 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.102 ist im Netzwerk nicht erreichbar
2025-06-20 12:40:41 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.100 ist über keine Methode erreichbar
2025-06-20 12:40:41 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.100 ist im Netzwerk nicht erreichbar
2025-06-20 12:40:45 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.103 ist über keine Methode erreichbar
2025-06-20 12:40:45 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.103 ist im Netzwerk nicht erreichbar
2025-06-20 12:40:47 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.101 ist über keine Methode erreichbar
2025-06-20 12:40:47 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.101 ist im Netzwerk nicht erreichbar
2025-06-20 12:40:51 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.104 ist über keine Methode erreichbar
2025-06-20 12:40:51 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.104 ist im Netzwerk nicht erreichbar
2025-06-20 12:40:53 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.102 ist über keine Methode erreichbar
2025-06-20 12:40:53 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.102 ist im Netzwerk nicht erreichbar
2025-06-20 12:40:57 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.106 ist über keine Methode erreichbar
2025-06-20 12:40:57 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.106 ist im Netzwerk nicht erreichbar
2025-06-20 12:40:57 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Energiestatistiken erstellt: 0/6 Drucker online
2025-06-20 12:40:59 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.103 ist über keine Methode erreichbar
2025-06-20 12:40:59 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.103 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:03 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.100 ist über keine Methode erreichbar
2025-06-20 12:41:03 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.100 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:05 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.104 ist über keine Methode erreichbar
2025-06-20 12:41:05 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.104 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:09 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.101 ist über keine Methode erreichbar
2025-06-20 12:41:09 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.101 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:11 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.106 ist über keine Methode erreichbar
2025-06-20 12:41:11 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.106 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:11 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Energiestatistiken erstellt: 0/6 Drucker online
2025-06-20 12:41:12 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.100 ist über keine Methode erreichbar
2025-06-20 12:41:12 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.100 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:15 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.102 ist über keine Methode erreichbar
2025-06-20 12:41:15 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.102 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.101 ist über keine Methode erreichbar
2025-06-20 12:41:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.101 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:21 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.103 ist über keine Methode erreichbar
2025-06-20 12:41:21 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.103 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:24 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.102 ist über keine Methode erreichbar
2025-06-20 12:41:24 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.102 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:27 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.104 ist über keine Methode erreichbar
2025-06-20 12:41:27 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.104 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.103 ist über keine Methode erreichbar
2025-06-20 12:41:30 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.103 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:33 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.106 ist über keine Methode erreichbar
2025-06-20 12:41:33 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.106 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:33 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Energiestatistiken erstellt: 0/6 Drucker online
2025-06-20 12:41:36 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.104 ist über keine Methode erreichbar
2025-06-20 12:41:36 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.104 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:39 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.100 ist über keine Methode erreichbar
2025-06-20 12:41:39 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.100 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:41 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.100 ist über keine Methode erreichbar
2025-06-20 12:41:41 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.100 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:42 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.106 ist über keine Methode erreichbar
2025-06-20 12:41:42 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.106 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:42 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Energiestatistiken erstellt: 0/6 Drucker online
2025-06-20 12:41:45 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.101 ist über keine Methode erreichbar
2025-06-20 12:41:45 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.101 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:47 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.101 ist über keine Methode erreichbar
2025-06-20 12:41:47 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.101 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:50 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ 192.168.0.102 ist über keine Methode erreichbar
2025-06-20 12:41:50 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Steckdose 192.168.0.102 ist im Netzwerk nicht erreichbar
2025-06-20 12:41:56 - [hardware_integration] hardware_integration - [INFO] INFO - 🚀 Hardware Integration (Backend-Kontrolle) erfolgreich geladen
2025-06-20 12:41:57 - [hardware_integration] hardware_integration - [INFO] INFO - 🎯 DruckerSteuerung initialisiert - BACKEND ÜBERNIMMT KONTROLLE

View File

@ -2075,3 +2075,14 @@
2025-06-20 12:34:07 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestartet (Legacy-Kompatibilität)
2025-06-20 12:35:09 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestoppt (Legacy-Kompatibilität)
2025-06-20 12:35:09 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestoppt (Legacy-Kompatibilität)
2025-06-20 12:37:31 - [job_queue_system] job_queue_system - [INFO] INFO - ✅ Job & Queue System Module initialisiert
2025-06-20 12:37:31 - [job_queue_system] job_queue_system - [INFO] INFO - 📊 MASSIVE Konsolidierung: 4 Dateien → 1 Datei (75% Reduktion)
2025-06-20 12:37:33 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestartet (Legacy-Kompatibilität)
2025-06-20 12:37:52 - [job_queue_system] job_queue_system - [INFO] INFO - ✅ Job & Queue System Module initialisiert
2025-06-20 12:37:52 - [job_queue_system] job_queue_system - [INFO] INFO - 📊 MASSIVE Konsolidierung: 4 Dateien → 1 Datei (75% Reduktion)
2025-06-20 12:37:53 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestartet (Legacy-Kompatibilität)
2025-06-20 12:41:50 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestoppt (Legacy-Kompatibilität)
2025-06-20 12:41:50 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestoppt (Legacy-Kompatibilität)
2025-06-20 12:41:56 - [job_queue_system] job_queue_system - [INFO] INFO - ✅ Job & Queue System Module initialisiert
2025-06-20 12:41:56 - [job_queue_system] job_queue_system - [INFO] INFO - 📊 MASSIVE Konsolidierung: 4 Dateien → 1 Datei (75% Reduktion)
2025-06-20 12:41:57 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestartet (Legacy-Kompatibilität)

View File

@ -1055,3 +1055,9 @@
2025-06-20 12:33:40 - [monitoring_analytics] monitoring_analytics - [INFO] INFO - 📊 MASSIVE Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-20 12:34:06 - [monitoring_analytics] monitoring_analytics - [INFO] INFO - ✅ Monitoring & Analytics Module initialisiert
2025-06-20 12:34:06 - [monitoring_analytics] monitoring_analytics - [INFO] INFO - 📊 MASSIVE Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-20 12:37:32 - [monitoring_analytics] monitoring_analytics - [INFO] INFO - ✅ Monitoring & Analytics Module initialisiert
2025-06-20 12:37:32 - [monitoring_analytics] monitoring_analytics - [INFO] INFO - 📊 MASSIVE Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-20 12:37:53 - [monitoring_analytics] monitoring_analytics - [INFO] INFO - ✅ Monitoring & Analytics Module initialisiert
2025-06-20 12:37:53 - [monitoring_analytics] monitoring_analytics - [INFO] INFO - 📊 MASSIVE Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-20 12:41:57 - [monitoring_analytics] monitoring_analytics - [INFO] INFO - ✅ Monitoring & Analytics Module initialisiert
2025-06-20 12:41:57 - [monitoring_analytics] monitoring_analytics - [INFO] INFO - 📊 MASSIVE Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)

View File

@ -594,3 +594,6 @@ WHERE users.role = ?]
2025-06-20 12:34:49 - [permissions] permissions - [INFO] INFO - UserPermission für Admin-Benutzer 1 aktualisiert
2025-06-20 12:34:49 - [permissions] permissions - [INFO] INFO - UserPermission für Admin-Benutzer 1 aktualisiert
2025-06-20 12:34:49 - [permissions] permissions - [INFO] INFO - UserPermission für Admin-Benutzer 1 aktualisiert
2025-06-20 12:37:33 - [permissions] permissions - [INFO] INFO - Admin-Berechtigungen korrigiert: 0 erstellt, 0 aktualisiert
2025-06-20 12:37:53 - [permissions] permissions - [INFO] INFO - Admin-Berechtigungen korrigiert: 0 erstellt, 0 aktualisiert
2025-06-20 12:41:57 - [permissions] permissions - [INFO] INFO - Admin-Berechtigungen korrigiert: 0 erstellt, 0 aktualisiert

View File

@ -5383,3 +5383,46 @@
2025-06-20 12:34:25 - [scheduler] scheduler - [INFO] INFO - ❌ Fehlgeschlagen: 0
2025-06-20 12:34:25 - [scheduler] scheduler - [WARNING] WARNING - ⚠️ KEINE Steckdose konnte initialisiert werden!
2025-06-20 12:34:25 - [scheduler] scheduler - [INFO] INFO - ============================================================
2025-06-20 12:37:31 - [scheduler] scheduler - [INFO] INFO - Task check_jobs registriert: Intervall 30s, Enabled: True
2025-06-20 12:37:33 - [scheduler] scheduler - [INFO] INFO - Scheduler-Thread gestartet
2025-06-20 12:37:33 - [scheduler] scheduler - [INFO] INFO - Scheduler gestartet
2025-06-20 12:37:33 - [scheduler] scheduler - [INFO] INFO - 🚀 Starte Steckdosen-Initialisierung beim Systemstart...
2025-06-20 12:37:33 - [scheduler] scheduler - [INFO] INFO - 🔍 Prüfe 6 konfigurierte Steckdosen...
2025-06-20 12:37:36 - [scheduler] scheduler - [WARNING] WARNING - 📡 Drucker 1: Steckdose 192.168.0.100 nicht erreichbar
2025-06-20 12:37:39 - [scheduler] scheduler - [WARNING] WARNING - 📡 Drucker 2: Steckdose 192.168.0.101 nicht erreichbar
2025-06-20 12:37:42 - [scheduler] scheduler - [WARNING] WARNING - 📡 Drucker 3: Steckdose 192.168.0.102 nicht erreichbar
2025-06-20 12:37:45 - [scheduler] scheduler - [WARNING] WARNING - 📡 Drucker 4: Steckdose 192.168.0.103 nicht erreichbar
2025-06-20 12:37:48 - [scheduler] scheduler - [WARNING] WARNING - 📡 Drucker 5: Steckdose 192.168.0.104 nicht erreichbar
2025-06-20 12:37:51 - [scheduler] scheduler - [WARNING] WARNING - 📡 Drucker 6: Steckdose 192.168.0.106 nicht erreichbar
2025-06-20 12:37:51 - [scheduler] scheduler - [INFO] INFO - ============================================================
2025-06-20 12:37:51 - [scheduler] scheduler - [INFO] INFO - 🎯 STECKDOSEN-INITIALISIERUNG ABGESCHLOSSEN
2025-06-20 12:37:51 - [scheduler] scheduler - [INFO] INFO - 📊 Gesamt: 6 Steckdosen
2025-06-20 12:37:51 - [scheduler] scheduler - [INFO] INFO - ✅ Erfolgreich: 0
2025-06-20 12:37:51 - [scheduler] scheduler - [INFO] INFO - 📡 Nicht erreichbar: 6
2025-06-20 12:37:51 - [scheduler] scheduler - [INFO] INFO - ❌ Fehlgeschlagen: 0
2025-06-20 12:37:51 - [scheduler] scheduler - [WARNING] WARNING - ⚠️ KEINE Steckdose konnte initialisiert werden!
2025-06-20 12:37:51 - [scheduler] scheduler - [INFO] INFO - ============================================================
2025-06-20 12:37:52 - [scheduler] scheduler - [INFO] INFO - Task check_jobs registriert: Intervall 30s, Enabled: True
2025-06-20 12:37:53 - [scheduler] scheduler - [INFO] INFO - Scheduler-Thread gestartet
2025-06-20 12:37:53 - [scheduler] scheduler - [INFO] INFO - Scheduler gestartet
2025-06-20 12:37:53 - [scheduler] scheduler - [INFO] INFO - 🚀 Starte Steckdosen-Initialisierung beim Systemstart...
2025-06-20 12:37:53 - [scheduler] scheduler - [INFO] INFO - 🔍 Prüfe 6 konfigurierte Steckdosen...
2025-06-20 12:37:56 - [scheduler] scheduler - [WARNING] WARNING - 📡 Drucker 1: Steckdose 192.168.0.100 nicht erreichbar
2025-06-20 12:37:59 - [scheduler] scheduler - [WARNING] WARNING - 📡 Drucker 2: Steckdose 192.168.0.101 nicht erreichbar
2025-06-20 12:38:02 - [scheduler] scheduler - [WARNING] WARNING - 📡 Drucker 3: Steckdose 192.168.0.102 nicht erreichbar
2025-06-20 12:38:05 - [scheduler] scheduler - [WARNING] WARNING - 📡 Drucker 4: Steckdose 192.168.0.103 nicht erreichbar
2025-06-20 12:38:08 - [scheduler] scheduler - [WARNING] WARNING - 📡 Drucker 5: Steckdose 192.168.0.104 nicht erreichbar
2025-06-20 12:38:11 - [scheduler] scheduler - [WARNING] WARNING - 📡 Drucker 6: Steckdose 192.168.0.106 nicht erreichbar
2025-06-20 12:38:11 - [scheduler] scheduler - [INFO] INFO - ============================================================
2025-06-20 12:38:11 - [scheduler] scheduler - [INFO] INFO - 🎯 STECKDOSEN-INITIALISIERUNG ABGESCHLOSSEN
2025-06-20 12:38:11 - [scheduler] scheduler - [INFO] INFO - 📊 Gesamt: 6 Steckdosen
2025-06-20 12:38:11 - [scheduler] scheduler - [INFO] INFO - ✅ Erfolgreich: 0
2025-06-20 12:38:11 - [scheduler] scheduler - [INFO] INFO - 📡 Nicht erreichbar: 6
2025-06-20 12:38:11 - [scheduler] scheduler - [INFO] INFO - ❌ Fehlgeschlagen: 0
2025-06-20 12:38:11 - [scheduler] scheduler - [WARNING] WARNING - ⚠️ KEINE Steckdose konnte initialisiert werden!
2025-06-20 12:38:11 - [scheduler] scheduler - [INFO] INFO - ============================================================
2025-06-20 12:41:56 - [scheduler] scheduler - [INFO] INFO - Task check_jobs registriert: Intervall 30s, Enabled: True
2025-06-20 12:41:57 - [scheduler] scheduler - [INFO] INFO - Scheduler-Thread gestartet
2025-06-20 12:41:57 - [scheduler] scheduler - [INFO] INFO - Scheduler gestartet
2025-06-20 12:41:57 - [scheduler] scheduler - [INFO] INFO - 🚀 Starte Steckdosen-Initialisierung beim Systemstart...
2025-06-20 12:41:57 - [scheduler] scheduler - [INFO] INFO - 🔍 Prüfe 6 konfigurierte Steckdosen...

View File

@ -1595,3 +1595,12 @@
2025-06-20 12:34:05 - [security_suite] security_suite - [INFO] INFO - ✅ Security Suite Module initialisiert
2025-06-20 12:34:05 - [security_suite] security_suite - [INFO] INFO - 📊 Massive Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-20 12:34:06 - [security_suite] security_suite - [INFO] INFO - 🔒 Security Suite initialisiert
2025-06-20 12:37:31 - [security_suite] security_suite - [INFO] INFO - ✅ Security Suite Module initialisiert
2025-06-20 12:37:31 - [security_suite] security_suite - [INFO] INFO - 📊 Massive Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-20 12:37:33 - [security_suite] security_suite - [INFO] INFO - 🔒 Security Suite initialisiert
2025-06-20 12:37:52 - [security_suite] security_suite - [INFO] INFO - ✅ Security Suite Module initialisiert
2025-06-20 12:37:52 - [security_suite] security_suite - [INFO] INFO - 📊 Massive Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-20 12:37:53 - [security_suite] security_suite - [INFO] INFO - 🔒 Security Suite initialisiert
2025-06-20 12:41:56 - [security_suite] security_suite - [INFO] INFO - ✅ Security Suite Module initialisiert
2025-06-20 12:41:56 - [security_suite] security_suite - [INFO] INFO - 📊 Massive Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-20 12:41:57 - [security_suite] security_suite - [INFO] INFO - 🔒 Security Suite initialisiert

View File

@ -4232,3 +4232,30 @@
2025-06-20 12:34:06 - [startup] startup - [INFO] INFO - 🪟 Windows-Modus: Aktiviert
2025-06-20 12:34:06 - [startup] startup - [INFO] INFO - 🔒 Windows-sichere Log-Rotation: Aktiviert
2025-06-20 12:34:06 - [startup] startup - [INFO] INFO - ==================================================
2025-06-20 12:37:32 - [startup] startup - [INFO] INFO - ==================================================
2025-06-20 12:37:32 - [startup] startup - [INFO] INFO - [START] MYP Platform Backend wird gestartet...
2025-06-20 12:37:32 - [startup] startup - [INFO] INFO - 🐍 Python Version: 3.13.3 (tags/v3.13.3:6280bb5, Apr 8 2025, 14:47:33) [MSC v.1943 64 bit (AMD64)]
2025-06-20 12:37:32 - [startup] startup - [INFO] INFO - 💻 Betriebssystem: nt (win32)
2025-06-20 12:37:32 - [startup] startup - [INFO] INFO - 📁 Arbeitsverzeichnis: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend
2025-06-20 12:37:32 - [startup] startup - [INFO] INFO - ⏰ Startzeit: 2025-06-20T12:37:32.940704
2025-06-20 12:37:32 - [startup] startup - [INFO] INFO - 🪟 Windows-Modus: Aktiviert
2025-06-20 12:37:32 - [startup] startup - [INFO] INFO - 🔒 Windows-sichere Log-Rotation: Aktiviert
2025-06-20 12:37:32 - [startup] startup - [INFO] INFO - ==================================================
2025-06-20 12:37:53 - [startup] startup - [INFO] INFO - ==================================================
2025-06-20 12:37:53 - [startup] startup - [INFO] INFO - [START] MYP Platform Backend wird gestartet...
2025-06-20 12:37:53 - [startup] startup - [INFO] INFO - 🐍 Python Version: 3.13.3 (tags/v3.13.3:6280bb5, Apr 8 2025, 14:47:33) [MSC v.1943 64 bit (AMD64)]
2025-06-20 12:37:53 - [startup] startup - [INFO] INFO - 💻 Betriebssystem: nt (win32)
2025-06-20 12:37:53 - [startup] startup - [INFO] INFO - 📁 Arbeitsverzeichnis: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend
2025-06-20 12:37:53 - [startup] startup - [INFO] INFO - ⏰ Startzeit: 2025-06-20T12:37:53.162614
2025-06-20 12:37:53 - [startup] startup - [INFO] INFO - 🪟 Windows-Modus: Aktiviert
2025-06-20 12:37:53 - [startup] startup - [INFO] INFO - 🔒 Windows-sichere Log-Rotation: Aktiviert
2025-06-20 12:37:53 - [startup] startup - [INFO] INFO - ==================================================
2025-06-20 12:41:57 - [startup] startup - [INFO] INFO - ==================================================
2025-06-20 12:41:57 - [startup] startup - [INFO] INFO - [START] MYP Platform Backend wird gestartet...
2025-06-20 12:41:57 - [startup] startup - [INFO] INFO - 🐍 Python Version: 3.13.3 (tags/v3.13.3:6280bb5, Apr 8 2025, 14:47:33) [MSC v.1943 64 bit (AMD64)]
2025-06-20 12:41:57 - [startup] startup - [INFO] INFO - 💻 Betriebssystem: nt (win32)
2025-06-20 12:41:57 - [startup] startup - [INFO] INFO - 📁 Arbeitsverzeichnis: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend
2025-06-20 12:41:57 - [startup] startup - [INFO] INFO - ⏰ Startzeit: 2025-06-20T12:41:57.413647
2025-06-20 12:41:57 - [startup] startup - [INFO] INFO - 🪟 Windows-Modus: Aktiviert
2025-06-20 12:41:57 - [startup] startup - [INFO] INFO - 🔒 Windows-sichere Log-Rotation: Aktiviert
2025-06-20 12:41:57 - [startup] startup - [INFO] INFO - ==================================================

View File

@ -1387,3 +1387,9 @@
2025-06-20 12:33:39 - [utilities_collection] utilities_collection - [INFO] INFO - 🚨 ALLERLETZTE MEGA-Konsolidierung: 12+ Dateien → 1 Datei (90%+ Reduktion)
2025-06-20 12:34:05 - [utilities_collection] utilities_collection - [INFO] INFO - ✅ Utilities Collection initialisiert
2025-06-20 12:34:05 - [utilities_collection] utilities_collection - [INFO] INFO - 🚨 ALLERLETZTE MEGA-Konsolidierung: 12+ Dateien → 1 Datei (90%+ Reduktion)
2025-06-20 12:37:31 - [utilities_collection] utilities_collection - [INFO] INFO - ✅ Utilities Collection initialisiert
2025-06-20 12:37:31 - [utilities_collection] utilities_collection - [INFO] INFO - 🚨 ALLERLETZTE MEGA-Konsolidierung: 12+ Dateien → 1 Datei (90%+ Reduktion)
2025-06-20 12:37:52 - [utilities_collection] utilities_collection - [INFO] INFO - ✅ Utilities Collection initialisiert
2025-06-20 12:37:52 - [utilities_collection] utilities_collection - [INFO] INFO - 🚨 ALLERLETZTE MEGA-Konsolidierung: 12+ Dateien → 1 Datei (90%+ Reduktion)
2025-06-20 12:41:56 - [utilities_collection] utilities_collection - [INFO] INFO - ✅ Utilities Collection initialisiert
2025-06-20 12:41:56 - [utilities_collection] utilities_collection - [INFO] INFO - 🚨 ALLERLETZTE MEGA-Konsolidierung: 12+ Dateien → 1 Datei (90%+ Reduktion)

View File

@ -531,3 +531,9 @@
2025-06-20 12:33:39 - [windows_fixes] windows_fixes - [INFO] INFO - ✅ Alle Windows-Fixes erfolgreich angewendet
2025-06-20 12:34:05 - [windows_fixes] windows_fixes - [INFO] INFO - 🔧 Wende Windows-spezifische Fixes an...
2025-06-20 12:34:05 - [windows_fixes] windows_fixes - [INFO] INFO - ✅ Alle Windows-Fixes erfolgreich angewendet
2025-06-20 12:37:31 - [windows_fixes] windows_fixes - [INFO] INFO - 🔧 Wende Windows-spezifische Fixes an...
2025-06-20 12:37:31 - [windows_fixes] windows_fixes - [INFO] INFO - ✅ Alle Windows-Fixes erfolgreich angewendet
2025-06-20 12:37:52 - [windows_fixes] windows_fixes - [INFO] INFO - 🔧 Wende Windows-spezifische Fixes an...
2025-06-20 12:37:52 - [windows_fixes] windows_fixes - [INFO] INFO - ✅ Alle Windows-Fixes erfolgreich angewendet
2025-06-20 12:41:56 - [windows_fixes] windows_fixes - [INFO] INFO - 🔧 Wende Windows-spezifische Fixes an...
2025-06-20 12:41:56 - [windows_fixes] windows_fixes - [INFO] INFO - ✅ Alle Windows-Fixes erfolgreich angewendet

View File

@ -207,6 +207,13 @@ class AdminDashboard {
this.showUserModal();
});
// Ersten Benutzer anlegen Button (Fallback)
this.addEventListenerSafe('#add-first-user-btn', 'click', (e) => {
e.preventDefault();
e.stopPropagation();
this.showUserModal();
});
// Event-Delegation für Benutzer-Aktionen
document.addEventListener('click', (e) => {
if (e.target.closest('.edit-user-btn')) {
@ -388,46 +395,7 @@ class AdminDashboard {
}
}
async loadLiveStats() {
try {
const url = `${this.apiBaseUrl}/api/stats`;
const response = await fetch(url);
if (!response.ok) {
throw new Error(`HTTP ${response.status}: ${response.statusText}`);
}
const data = await response.json();
this.updateStatsDisplay(data);
this.retryCount = 0;
} catch (error) {
console.error('Fehler beim Laden der Live-Statistiken:', error);
this.retryCount++;
if (this.retryCount <= this.maxRetries) {
setTimeout(() => this.loadLiveStats(), 5000);
}
}
}
updateStatsDisplay(data) {
// Sichere Updates mit null-Checks
this.updateElement('live-users-count', data.total_users || 0);
this.updateElement('live-printers-count', data.total_printers || 0);
this.updateElement('live-printers-online', `${data.online_printers || 0} online`);
this.updateElement('live-jobs-active', data.active_jobs || 0);
this.updateElement('live-jobs-queued', `${data.queued_jobs || 0} in Warteschlange`);
this.updateElement('live-success-rate', `${data.success_rate || 0}%`);
// Progress Bars aktualisieren
this.updateProgressBar('users-progress', data.total_users, 20);
this.updateProgressBar('printers-progress', data.online_printers, data.total_printers);
this.updateProgressBar('jobs-progress', data.active_jobs, 10);
this.updateProgressBar('success-progress', data.success_rate, 100);
console.log('📊 Live-Statistiken aktualisiert');
}
// Diese Funktion wurde entfernt - verwende die korrekte loadLiveStats Funktion weiter unten
updateElement(elementId, value) {
const element = document.getElementById(elementId);
@ -1942,26 +1910,28 @@ class AdminDashboard {
if (!stats) return;
// Benutzer-Statistiken aktualisieren
this.updateElement('total-users-count', stats.total_users || 0);
this.updateElement('active-users-count', stats.active_users || 0);
this.updateElement('total-users-count', stats.users?.total || 0);
this.updateElement('active-users-count', stats.users?.active || 0);
this.updateElement('live-users-count', stats.users?.total || 0);
// Drucker-Statistiken aktualisieren
this.updateElement('total-printers-count', stats.total_printers || 0);
this.updateElement('online-printers-count', stats.online_printers || 0);
this.updateElement('total-printers-count', stats.printers?.total || 0);
this.updateElement('online-printers-count', stats.printers?.online || 0);
this.updateElement('live-printers-count', stats.printers?.total || 0);
this.updateElement('live-printers-online', `${stats.printers?.online || 0} online`);
// Job-Statistiken aktualisieren
this.updateElement('total-jobs-count', stats.total_jobs || 0);
this.updateElement('active-jobs-count', stats.active_jobs || 0);
this.updateElement('completed-jobs-count', stats.completed_jobs || 0);
this.updateElement('total-jobs-count', stats.jobs?.total || 0);
this.updateElement('active-jobs-count', stats.jobs?.active || 0);
this.updateElement('live-jobs-active', stats.jobs?.active || 0);
this.updateElement('live-jobs-queued', `${stats.jobs?.active || 0} in Warteschlange`);
// Gast-Anfragen aktualisieren
this.updateElement('pending-guests-count', stats.pending_guests || 0);
// Progress Bars aktualisieren
this.updateProgressBar('users-progress', stats.users?.total || 0, 20);
this.updateProgressBar('printers-progress', stats.printers?.online || 0, stats.printers?.total || 1);
this.updateProgressBar('jobs-progress', stats.jobs?.active || 0, 10);
// Zeitstempel aktualisieren
const timestampEl = document.getElementById('stats-timestamp');
if (timestampEl) {
timestampEl.textContent = new Date().toLocaleTimeString('de-DE');
}
console.log('📊 Dashboard-Statistiken aktualisiert');
}
/**

View File

@ -426,6 +426,7 @@ document.addEventListener('DOMContentLoaded', function() {
</tr>
</thead>
<tbody class="bg-white dark:bg-slate-800 divide-y divide-slate-200 dark:divide-slate-700" id="users-table-body">
{% if users %}
{% for user in users %}
<tr class="hover:bg-slate-50 dark:hover:bg-slate-700/50 transition-colors duration-200" data-user-id="{{ user.id }}">
<!-- Checkbox -->
@ -582,6 +583,25 @@ document.addEventListener('DOMContentLoaded', function() {
</td>
</tr>
{% endfor %}
{% else %}
<tr>
<td colspan="6" class="px-6 py-12 text-center text-slate-500 dark:text-slate-400">
<div class="flex flex-col items-center">
<svg class="w-12 h-12 text-slate-300 dark:text-slate-600 mb-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"/>
</svg>
<p class="text-lg font-medium mb-2">Keine Benutzer gefunden</p>
<p class="text-sm">Es sind noch keine Benutzer im System registriert.</p>
<button id="add-first-user-btn" class="mt-4 inline-flex items-center px-4 py-2 bg-blue-500 text-white rounded-lg hover:bg-blue-600 transition-colors">
<svg class="w-4 h-4 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6"/>
</svg>
Ersten Benutzer anlegen
</button>
</div>
</td>
</tr>
{% endif %}
</tbody>
</table>
</div>