2025-06-04 23:35:35 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-04 23:35:39 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-04 23:35:40 - [app] app - [INFO] INFO - ✅ Timeout Force-Quit Manager geladen 2025-06-04 23:35:40 - [app] app - [INFO] INFO - 📋 Standard-Konfiguration verwendet 2025-06-04 23:35:40 - [app] app - [INFO] INFO - ✅ Zentraler Shutdown-Manager initialisiert 2025-06-04 23:35:40 - [app] app - [INFO] INFO - ✅ Error-Recovery-Monitoring gestartet 2025-06-04 23:35:40 - [app] app - [INFO] INFO - ✅ System-Control-Manager initialisiert 2025-06-04 23:35:40 - [app] app - [WARNING] WARNING - ⚠️ Kiosk-Service nicht gefunden - Kiosk-Funktionen eventuell eingeschränkt 2025-06-04 23:35:40 - [app] app - [INFO] INFO - 🔄 Starte Datenbank-Setup und Migrationen... 2025-06-04 23:35:40 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-04 23:35:40 - [app] app - [INFO] INFO - ✅ JobOrder-Tabelle bereits vorhanden 2025-06-04 23:35:40 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) wurde angelegt. 2025-06-04 23:35:40 - [app] app - [INFO] INFO - ✅ Datenbank-Setup und Migrationen erfolgreich abgeschlossen 2025-06-04 23:35:40 - [app] app - [INFO] INFO - 📋 Standard-Konfiguration aktiv (keine Optimierungen) 2025-06-04 23:35:40 - [app] app - [INFO] INFO - 🖨️ Starte automatische Steckdosen-Initialisierung... 2025-06-04 23:35:40 - [app] app - [INFO] INFO - ℹ️ Keine Drucker zur Initialisierung gefunden 2025-06-04 23:35:40 - [app] app - [INFO] INFO - ✅ Printer Queue Manager erfolgreich gestartet 2025-06-04 23:35:40 - [app] app - [INFO] INFO - Job-Scheduler gestartet 2025-06-04 23:35:40 - [app] app - [INFO] INFO - 🔄 Bereinige hängende Prozesse auf Port 5000... 2025-06-04 23:35:41 - [app] app - [INFO] INFO - 🚀 Starte Production Server (Waitress) auf 127.0.0.1:5000 2025-06-04 23:35:41 - [app] app - [INFO] INFO - 💡 Kiosk-Browser sollte http://127.0.0.1:5000 verwenden 2025-06-04 23:35:41 - [app] app - [INFO] INFO - ✅ IPv6-Probleme behoben durch IPv4-only Binding 2025-06-04 23:35:41 - [app] app - [INFO] INFO - ✅ Performance optimiert für Kiosk-Betrieb 2025-06-04 23:36:52 - [app] app - [INFO] INFO - Admin-Check für Funktion admin_plug_schedules: User authenticated: True, User ID: 1, Is Admin: True 2025-06-04 23:36:52 - [app] app - [INFO] INFO - Admin Administrator (ID: 1) öffnet Steckdosenschaltzeiten 2025-06-04 23:36:52 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: name 'func' is not defined 2025-06-04 23:36:52 - [app] app - [ERROR] ERROR - Fehler beim Erstellen der Steckdosen-Statistiken: name 'func' is not defined 2025-06-04 23:36:53 - [app] app - [INFO] INFO - Admin-Check für Funktion api_admin_plug_schedules_calendar: User authenticated: True, User ID: 1, Is Admin: True 2025-06-04 23:36:53 - [app] app - [INFO] INFO - Admin-Check für Funktion api_admin_plug_schedules_statistics: User authenticated: True, User ID: 1, Is Admin: True 2025-06-04 23:36:53 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: name 'func' is not defined 2025-06-04 23:36:53 - [app] app - [ERROR] ERROR - Fehler beim Erstellen der Steckdosen-Statistiken: name 'func' is not defined 2025-06-04 23:37:26 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-04 23:37:30 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-04 23:37:30 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-04 23:37:30 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-04 23:37:30 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-04 23:38:02 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-04 23:38:02 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-04 23:38:02 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-04 23:38:02 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-04 23:38:33 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-04 23:38:34 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-04 23:38:34 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-04 23:38:35 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-04 23:38:35 - [app] app - [INFO] INFO - 🚀 Server startet auf 0.0.0.0:5000 2025-06-04 23:38:35 - [app] app - [ERROR] ERROR - Interner Serverfehler: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. 2025-06-04 23:38:35 - [app] app - [ERROR] ERROR - Interner Serverfehler: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. 2025-06-04 23:39:03 - [app] app - [ERROR] ERROR - Interner Serverfehler: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. 2025-06-04 23:39:03 - [app] app - [ERROR] ERROR - Interner Serverfehler: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. 2025-06-04 23:39:33 - [app] app - [ERROR] ERROR - Interner Serverfehler: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. 2025-06-04 23:39:33 - [app] app - [ERROR] ERROR - Interner Serverfehler: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. 2025-06-04 23:40:16 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-04 23:40:19 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-04 23:40:53 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-04 23:40:58 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-04 23:41:31 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-04 23:46:55 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-04 23:47:07 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-04 23:47:09 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-04 23:47:09 - [app] app - [INFO] INFO - ✅ Timeout Force-Quit Manager geladen 2025-06-04 23:47:09 - [app] app - [INFO] INFO - 📋 Standard-Konfiguration verwendet 2025-06-04 23:47:17 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-04 23:47:23 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-04 23:49:56 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-05 01:01:08 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: c:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-05 01:01:10 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: c:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-05 01:01:14 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: c:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-05 01:01:16 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: c:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-05 01:01:17 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: c:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-05 09:31:04 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-05 09:31:08 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-05 09:31:08 - [app] app - [INFO] INFO - [OK] Timeout Force-Quit Manager geladen 2025-06-05 09:31:08 - [app] app - [INFO] INFO - [LIST] Standard-Konfiguration verwendet 2025-06-05 09:31:08 - [app] app - [INFO] INFO - [OK] Zentraler Shutdown-Manager initialisiert 2025-06-05 09:31:08 - [app] app - [INFO] INFO - [OK] Error-Recovery-Monitoring gestartet 2025-06-05 09:31:08 - [app] app - [INFO] INFO - [OK] System-Control-Manager initialisiert 2025-06-05 09:31:08 - [app] app - [WARNING] WARNING - [WARN] Kiosk-Service nicht gefunden - Kiosk-Funktionen eventuell eingeschränkt 2025-06-05 09:31:08 - [app] app - [INFO] INFO - [RESTART] Starte Datenbank-Setup und Migrationen... 2025-06-05 09:31:10 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-05 09:31:11 - [app] app - [INFO] INFO - [OK] JobOrder-Tabelle bereits vorhanden 2025-06-05 09:31:12 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-05 09:31:12 - [app] app - [INFO] INFO - [OK] Datenbank-Setup und Migrationen erfolgreich abgeschlossen 2025-06-05 09:31:12 - [app] app - [INFO] INFO - [LIST] Standard-Konfiguration aktiv (keine Optimierungen) 2025-06-05 09:31:12 - [app] app - [INFO] INFO - 🖨️ Starte automatische Steckdosen-Initialisierung... 2025-06-05 09:31:12 - [app] app - [INFO] INFO - [INFO] Keine Drucker zur Initialisierung gefunden 2025-06-05 09:31:12 - [app] app - [INFO] INFO - [RESTART] Debug-Modus: Queue Manager deaktiviert für Entwicklung 2025-06-05 09:31:12 - [app] app - [INFO] INFO - Job-Scheduler gestartet 2025-06-05 09:31:12 - [app] app - [INFO] INFO - 🔧 Starte Debug-Server auf 0.0.0.0:5000 (HTTP) 2025-06-05 09:31:12 - [app] app - [INFO] INFO - Windows-Debug-Modus: Auto-Reload deaktiviert 2025-06-05 09:38:55 - [app] app - [INFO] INFO - Admin-Check für Funktion admin_page: User authenticated: True, User ID: 1, Is Admin: True 2025-06-05 09:38:55 - [app] app - [INFO] INFO - Admin-Check für Funktion api_admin_system_health: User authenticated: True, User ID: 1, Is Admin: True 2025-06-05 09:39:02 - [app] app - [INFO] INFO - Admin-Check für Funktion admin_guest_requests: User authenticated: True, User ID: 1, Is Admin: True 2025-06-05 09:39:02 - [app] app - [INFO] INFO - Admin-Gastanfragen Seite aufgerufen von User 1 2025-06-05 09:39:02 - [app] app - [INFO] INFO - Admin-Check für Funktion get_admin_guest_requests: User authenticated: True, User ID: 1, Is Admin: True 2025-06-05 09:39:02 - [app] app - [INFO] INFO - API-Aufruf /api/admin/guest-requests von User 1 2025-06-05 09:39:02 - [app] app - [INFO] INFO - Admin-Gastaufträge geladen: 0 von 0 (Status: all) 2025-06-05 09:39:33 - [app] app - [INFO] INFO - Admin-Check für Funktion get_admin_guest_requests: User authenticated: True, User ID: 1, Is Admin: True 2025-06-05 09:39:33 - [app] app - [INFO] INFO - API-Aufruf /api/admin/guest-requests von User 1 2025-06-05 09:39:33 - [app] app - [INFO] INFO - Admin-Gastaufträge geladen: 0 von 0 (Status: all) 2025-06-05 10:12:39 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-05 10:12:45 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-05 10:12:45 - [app] app - [INFO] INFO - [OK] Timeout Force-Quit Manager geladen 2025-06-05 10:12:45 - [app] app - [INFO] INFO - [LIST] Standard-Konfiguration verwendet 2025-06-05 10:12:45 - [app] app - [INFO] INFO - [OK] Zentraler Shutdown-Manager initialisiert 2025-06-05 10:12:45 - [app] app - [INFO] INFO - [OK] Error-Recovery-Monitoring gestartet 2025-06-05 10:12:45 - [app] app - [INFO] INFO - [OK] System-Control-Manager initialisiert 2025-06-05 10:12:45 - [app] app - [WARNING] WARNING - [WARN] Kiosk-Service nicht gefunden - Kiosk-Funktionen eventuell eingeschränkt 2025-06-05 10:12:45 - [app] app - [INFO] INFO - [RESTART] Starte Datenbank-Setup und Migrationen... 2025-06-05 10:12:48 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-05 10:12:49 - [app] app - [INFO] INFO - [OK] JobOrder-Tabelle bereits vorhanden 2025-06-05 10:12:50 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-05 10:12:50 - [app] app - [INFO] INFO - [OK] Datenbank-Setup und Migrationen erfolgreich abgeschlossen 2025-06-05 10:12:50 - [app] app - [INFO] INFO - [LIST] Standard-Konfiguration aktiv (keine Optimierungen) 2025-06-05 10:12:50 - [app] app - [INFO] INFO - 🖨️ Starte automatische Steckdosen-Initialisierung... 2025-06-05 10:12:50 - [app] app - [INFO] INFO - [INFO] Keine Drucker zur Initialisierung gefunden 2025-06-05 10:12:50 - [app] app - [INFO] INFO - [RESTART] Debug-Modus: Queue Manager deaktiviert für Entwicklung 2025-06-05 10:12:50 - [app] app - [INFO] INFO - Job-Scheduler gestartet 2025-06-05 10:12:50 - [app] app - [INFO] INFO - 🔧 Starte Debug-Server auf 0.0.0.0:5000 (HTTP) 2025-06-05 10:12:50 - [app] app - [INFO] INFO - Windows-Debug-Modus: Auto-Reload deaktiviert 2025-06-05 10:14:01 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:14:01 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:14:01 - [app] app - [ERROR] ERROR - Fehler beim Abrufen der Dashboard-Statistiken: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT count(*) AS count_1 FROM (SELECT jobs.id AS jobs_id, jobs.name AS jobs_name, jobs.description AS jobs_description, jobs.user_id AS jobs_user_id, jobs.printer_id AS jobs_printer_id, jobs.start_at AS jobs_start_at, jobs.end_at AS jobs_end_at, jobs.actual_end_time AS jobs_actual_end_time, jobs.status AS jobs_status, jobs.created_at AS jobs_created_at, jobs.notes AS jobs_notes, jobs.material_used AS jobs_material_used, jobs.file_path AS jobs_file_path, jobs.owner_id AS jobs_owner_id, jobs.duration_minutes AS jobs_duration_minutes FROM jobs WHERE jobs.status = ?) AS anon_1] [parameters: ('running',)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-05 10:14:01 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 0, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:14:01 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': None, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:14:31 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:14:31 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:14:31 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:14:31 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:15:02 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:15:02 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:15:02 - [app] app - [ERROR] ERROR - Fehler beim Abrufen der Dashboard-Statistiken: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT count(*) AS count_1 FROM (SELECT jobs.id AS jobs_id, jobs.name AS jobs_name, jobs.description AS jobs_description, jobs.user_id AS jobs_user_id, jobs.printer_id AS jobs_printer_id, jobs.start_at AS jobs_start_at, jobs.end_at AS jobs_end_at, jobs.actual_end_time AS jobs_actual_end_time, jobs.status AS jobs_status, jobs.created_at AS jobs_created_at, jobs.notes AS jobs_notes, jobs.material_used AS jobs_material_used, jobs.file_path AS jobs_file_path, jobs.owner_id AS jobs_owner_id, jobs.duration_minutes AS jobs_duration_minutes FROM jobs WHERE jobs.status = ?) AS anon_1] [parameters: ('failed',)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-05 10:15:02 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 0, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:15:02 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': None, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': None, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:15:32 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:15:32 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:15:32 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:15:32 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:16:02 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:16:02 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:16:02 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:16:02 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': None, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': None, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:16:32 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:16:32 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:16:32 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:16:32 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': None, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:17:04 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:17:04 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:17:04 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:17:04 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:18:04 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:18:04 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:18:04 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:18:04 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:19:04 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:19:04 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:19:04 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:19:04 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': None, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:20:04 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:20:04 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 10:20:04 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 10:20:04 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 11:12:31 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-05 11:12:34 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-05 11:12:34 - [app] app - [INFO] INFO - [OK] Timeout Force-Quit Manager geladen 2025-06-05 11:12:34 - [app] app - [INFO] INFO - [LIST] Standard-Konfiguration verwendet 2025-06-05 11:12:35 - [app] app - [INFO] INFO - [OK] Zentraler Shutdown-Manager initialisiert 2025-06-05 11:12:35 - [app] app - [INFO] INFO - [OK] Error-Recovery-Monitoring gestartet 2025-06-05 11:12:35 - [app] app - [INFO] INFO - [OK] System-Control-Manager initialisiert 2025-06-05 11:12:35 - [app] app - [WARNING] WARNING - [WARN] Kiosk-Service nicht gefunden - Kiosk-Funktionen eventuell eingeschränkt 2025-06-05 11:12:35 - [app] app - [INFO] INFO - [RESTART] Starte Datenbank-Setup und Migrationen... 2025-06-05 11:12:37 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-05 11:12:38 - [app] app - [INFO] INFO - [OK] JobOrder-Tabelle bereits vorhanden 2025-06-05 11:12:38 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-05 11:12:38 - [app] app - [INFO] INFO - [OK] Datenbank-Setup und Migrationen erfolgreich abgeschlossen 2025-06-05 11:12:38 - [app] app - [INFO] INFO - [LIST] Standard-Konfiguration aktiv (keine Optimierungen) 2025-06-05 11:12:38 - [app] app - [INFO] INFO - 🖨️ Starte automatische Steckdosen-Initialisierung... 2025-06-05 11:12:38 - [app] app - [INFO] INFO - [INFO] Keine Drucker zur Initialisierung gefunden 2025-06-05 11:12:38 - [app] app - [INFO] INFO - [RESTART] Debug-Modus: Queue Manager deaktiviert für Entwicklung 2025-06-05 11:12:38 - [app] app - [INFO] INFO - Job-Scheduler gestartet 2025-06-05 11:12:38 - [app] app - [INFO] INFO - 🔧 Starte Debug-Server auf 0.0.0.0:5000 (HTTP) 2025-06-05 11:12:38 - [app] app - [INFO] INFO - Windows-Debug-Modus: Auto-Reload deaktiviert 2025-06-05 11:13:02 - [app] app - [INFO] INFO - Admin-Check für Funktion admin_page: User authenticated: True, User ID: 1, Is Admin: True 2025-06-05 11:13:02 - [app] app - [INFO] INFO - Admin-Check für Funktion api_admin_system_health: User authenticated: True, User ID: 1, Is Admin: True 2025-06-05 11:13:04 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 11:13:04 - [app] app - [INFO] INFO - Dashboard-Refresh angefordert von User 1 2025-06-05 11:13:04 - [app] app - [ERROR] ERROR - Fehler beim Abrufen der Dashboard-Statistiken: tuple index out of range 2025-06-05 11:13:04 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 0, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 11:13:04 - [app] app - [INFO] INFO - Dashboard-Refresh erfolgreich: {'active_jobs': 0, 'available_printers': 0, 'total_jobs': 0, 'pending_jobs': 0, 'success_rate': 0, 'completed_jobs': 0, 'failed_jobs': 0, 'cancelled_jobs': 0, 'total_users': 1, 'online_printers': 0, 'offline_printers': 0} 2025-06-05 11:13:06 - [app] app - [INFO] INFO - Benutzer admin@mercedes-benz.com hat sich abgemeldet 2025-06-09 17:23:17 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 17:23:17 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 17:23:17 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-09 17:23:17 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-09 17:23:18 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-09 17:23:18 - [app] app - [INFO] INFO - [START] Server startet auf 0.0.0.0:5000 2025-06-09 17:23:24 - [app] app - [ERROR] ERROR - Exception on /dashboard [GET] Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 1455, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 869, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/app.py", line 386, in dashboard return render_template("dashboard.html") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/dashboard.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 309, in top-level template code ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 1071, in url_for return self.handle_url_build_error(error, endpoint, values) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 1060, in url_for rv = url_adapter.build( # type: ignore[union-attr] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/werkzeug/routing/map.py", line 919, in build raise BuildError(endpoint, values, method, self) werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'admin_page'. Did you mean 'admin.add_user_page' instead? 2025-06-09 18:27:17 - [app] app - [ERROR] ERROR - Unhandled Exception - ID: 20250609_182717 2025-06-09 18:27:17 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/admin/logs 2025-06-09 18:27:17 - [app] app - [ERROR] ERROR - Method: GET 2025-06-09 18:27:17 - [app] app - [ERROR] ERROR - User: admin 2025-06-09 18:27:17 - [app] app - [ERROR] ERROR - Exception Type: TemplateNotFound 2025-06-09 18:27:17 - [app] app - [ERROR] ERROR - Exception: admin/logs.html 2025-06-09 18:27:17 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 86, in decorated_function return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 206, in logs_overview return render_template('admin/logs.html') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 151, in render_template template = app.jinja_env.get_or_select_template(template_name_or_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1081, in get_or_select_template return self.get_template(template_name_or_list, parent, globals) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1010, in get_template return self._load_template(name, globals) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 969, in _load_template template = self.loader.load(self, name, self.make_globals(globals)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/loaders.py", line 126, in load source, filename, uptodate = self.get_source(environment, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 65, in get_source return self._get_source_fast(environment, template) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 99, in _get_source_fast raise TemplateNotFound(template) jinja2.exceptions.TemplateNotFound: admin/logs.html 2025-06-09 18:27:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-09 18:27:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-09 18:27:20 - [app] app - [ERROR] ERROR - Unhandled Exception - ID: 20250609_182720 2025-06-09 18:27:20 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/admin/guest-requests 2025-06-09 18:27:20 - [app] app - [ERROR] ERROR - Method: GET 2025-06-09 18:27:20 - [app] app - [ERROR] ERROR - User: admin 2025-06-09 18:27:20 - [app] app - [ERROR] ERROR - Exception Type: BuildError 2025-06-09 18:27:20 - [app] app - [ERROR] ERROR - Exception: Could not build url for endpoint 'admin_page'. Did you mean 'admin.add_user_page' instead? 2025-06-09 18:27:20 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 86, in decorated_function return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 188, in guest_requests return render_template('admin_guest_requests.html') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin_guest_requests.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 640, in top-level template code {% block content %}{% endblock %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin_guest_requests.html", line 74, in block 'content' {{ stats.total_users or 0 }} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 485, in getattr return getattr(obj, attribute) ^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'stats' is undefined 2025-06-09 18:27:27 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-09 18:46:12 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 18:46:12 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 18:46:13 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-09 18:46:13 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-09 18:46:13 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-09 18:46:13 - [app] app - [INFO] INFO - [START] Server startet auf 0.0.0.0:5000 2025-06-09 18:46:15 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/crm/ 2025-06-09 18:46:25 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-09 18:46:25 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-09 18:46:27 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/guest-requests 2025-06-09 18:46:32 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-09 18:46:32 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-09 18:46:34 - [app] app - [ERROR] ERROR - Unhandled Exception - ID: 20250609_184634 2025-06-09 18:46:34 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/admin/logs 2025-06-09 18:46:34 - [app] app - [ERROR] ERROR - Method: GET 2025-06-09 18:46:34 - [app] app - [ERROR] ERROR - User: admin 2025-06-09 18:46:34 - [app] app - [ERROR] ERROR - Exception Type: TemplateNotFound 2025-06-09 18:46:34 - [app] app - [ERROR] ERROR - Exception: admin/logs.html 2025-06-09 18:46:34 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 86, in decorated_function return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 206, in logs_overview return render_template('admin/logs.html') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 151, in render_template template = app.jinja_env.get_or_select_template(template_name_or_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1081, in get_or_select_template return self.get_template(template_name_or_list, parent, globals) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1010, in get_template return self._load_template(name, globals) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 969, in _load_template template = self.loader.load(self, name, self.make_globals(globals)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/loaders.py", line 126, in load source, filename, uptodate = self.get_source(environment, name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 65, in get_source return self._get_source_fast(environment, template) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 99, in _get_source_fast raise TemplateNotFound(template) jinja2.exceptions.TemplateNotFound: admin/logs.html 2025-06-09 18:46:40 - [app] app - [ERROR] ERROR - Unhandled Exception - ID: 20250609_184640 2025-06-09 18:46:40 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/admin/advanced-settings 2025-06-09 18:46:40 - [app] app - [ERROR] ERROR - Method: GET 2025-06-09 18:46:40 - [app] app - [ERROR] ERROR - User: admin 2025-06-09 18:46:40 - [app] app - [ERROR] ERROR - Exception Type: UndefinedError 2025-06-09 18:46:40 - [app] app - [ERROR] ERROR - Exception: 'stats' is undefined 2025-06-09 18:46:40 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 86, in decorated_function return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 194, in advanced_settings return render_template('admin_advanced_settings.html') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin_advanced_settings.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 640, in top-level template code {% block content %}{% endblock %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin_advanced_settings.html", line 388, in block 'content'

{{ stats.total_users }}

^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 485, in getattr return getattr(obj, attribute) ^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'stats' is undefined 2025-06-09 18:46:44 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-09 18:46:45 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers 2025-06-09 18:46:47 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-09 18:46:48 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers 2025-06-09 18:46:51 - [app] app - [ERROR] ERROR - Unhandled Exception - ID: 20250609_184651 2025-06-09 18:46:51 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/admin/users 2025-06-09 18:46:51 - [app] app - [ERROR] ERROR - Method: GET 2025-06-09 18:46:51 - [app] app - [ERROR] ERROR - User: admin 2025-06-09 18:46:51 - [app] app - [ERROR] ERROR - Exception Type: UndefinedError 2025-06-09 18:46:51 - [app] app - [ERROR] ERROR - Exception: 'stats' is undefined 2025-06-09 18:46:51 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 86, in decorated_function return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 126, in users_overview return render_template('admin.html') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 640, in top-level template code {% block content %}{% endblock %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html", line 132, in block 'content'
{{ stats.total_users or 0 }}
^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 485, in getattr return getattr(obj, attribute) ^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'stats' is undefined 2025-06-09 19:00:45 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 19:00:45 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 19:00:51 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 19:00:51 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 19:00:53 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 19:00:53 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 19:01:39 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 19:01:39 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 19:01:45 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 19:01:45 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 19:01:59 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 19:01:59 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 19:01:59 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-09 19:02:46 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 19:02:46 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 19:02:46 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-09 19:03:11 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 19:03:11 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 19:03:11 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-09 19:03:11 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-09 19:03:12 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-09 19:03:12 - [app] app - [INFO] INFO - [START] Server startet auf 0.0.0.0:5000 2025-06-09 19:03:16 - [app] app - [ERROR] ERROR - Unhandled Exception - ID: 20250609_190316 2025-06-09 19:03:16 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/admin/users 2025-06-09 19:03:16 - [app] app - [ERROR] ERROR - Method: GET 2025-06-09 19:03:16 - [app] app - [ERROR] ERROR - User: admin 2025-06-09 19:03:16 - [app] app - [ERROR] ERROR - Exception Type: UndefinedError 2025-06-09 19:03:16 - [app] app - [ERROR] ERROR - Exception: 'models.User object' has no attribute 'has_permission' 2025-06-09 19:03:16 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last): File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 149, in users_overview return render_template('admin.html', stats=stats, users=users, active_tab='users') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 86, in decorated_function return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 154, in users_overview return render_template('admin.html', stats={}, users=[], active_tab='users') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' 2025-06-09 19:03:16 - [app] app - [ERROR] ERROR - Exception on /admin/users [GET] Traceback (most recent call last): File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 149, in users_overview return render_template('admin.html', stats=stats, users=users, active_tab='users') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 86, in decorated_function return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 154, in users_overview return render_template('admin.html', stats={}, users=[], active_tab='users') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 1455, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 869, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 759, in handle_user_exception return self.ensure_sync(handler)(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/app.py", line 619, in handle_exception return render_template('errors/500.html', error_id=error_id), 500 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/errors/500.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - Internal Server Error (500) - ID: 20250609_190317 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/admin/users 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - Method: GET 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - User: admin 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - Error: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last): File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 149, in users_overview return render_template('admin.html', stats=stats, users=users, active_tab='users') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 86, in decorated_function return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 154, in users_overview return render_template('admin.html', stats={}, users=[], active_tab='users') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 1455, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 869, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 759, in handle_user_exception return self.ensure_sync(handler)(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/app.py", line 619, in handle_exception return render_template('errors/500.html', error_id=error_id), 500 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/errors/500.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - Unhandled Exception - ID: 20250609_190317 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/admin/users 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - Method: GET 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - User: admin 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - Exception Type: UndefinedError 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - Exception: 'models.User object' has no attribute 'has_permission' 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last): File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 149, in users_overview return render_template('admin.html', stats=stats, users=users, active_tab='users') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 86, in decorated_function return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 154, in users_overview return render_template('admin.html', stats={}, users=[], active_tab='users') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - Exception on /admin/users [GET] Traceback (most recent call last): File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 149, in users_overview return render_template('admin.html', stats=stats, users=users, active_tab='users') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 86, in decorated_function return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 154, in users_overview return render_template('admin.html', stats={}, users=[], active_tab='users') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 1455, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 869, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 759, in handle_user_exception return self.ensure_sync(handler)(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/app.py", line 619, in handle_exception return render_template('errors/500.html', error_id=error_id), 500 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/errors/500.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - Internal Server Error (500) - ID: 20250609_190317 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/admin/users 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - Method: GET 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - User: admin 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - Error: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. 2025-06-09 19:03:17 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last): File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 149, in users_overview return render_template('admin.html', stats=stats, users=users, active_tab='users') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 86, in decorated_function return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 154, in users_overview return render_template('admin.html', stats={}, users=[], active_tab='users') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 1455, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 869, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 759, in handle_user_exception return self.ensure_sync(handler)(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/app.py", line 619, in handle_exception return render_template('errors/500.html', error_id=error_id), 500 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/errors/500.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 315, in top-level template code {% if current_user.has_permission('CONTROL_PRINTER') %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/utils.py", line 83, in from_obj if hasattr(obj, "jinja_pass_arg"): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'models.User object' has no attribute 'has_permission' 2025-06-09 19:04:30 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 19:04:30 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 19:05:11 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 19:05:11 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 19:05:13 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 19:05:13 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 19:05:14 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-09 19:05:14 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-09 19:05:14 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-09 19:05:14 - [app] app - [INFO] INFO - [START] Server startet auf 0.0.0.0:5000 2025-06-09 19:05:47 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 19:05:47 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 19:07:45 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-09 19:07:45 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-09 19:07:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-09 19:07:51 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-09 19:07:51 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-09 19:07:52 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-09 19:07:52 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers 2025-06-09 19:07:55 - [app] app - [ERROR] ERROR - Unhandled Exception - ID: 20250609_190755 2025-06-09 19:07:55 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/admin/advanced-settings 2025-06-09 19:07:55 - [app] app - [ERROR] ERROR - Method: GET 2025-06-09 19:07:55 - [app] app - [ERROR] ERROR - User: admin 2025-06-09 19:07:55 - [app] app - [ERROR] ERROR - Exception Type: UndefinedError 2025-06-09 19:07:55 - [app] app - [ERROR] ERROR - Exception: 'stats' is undefined 2025-06-09 19:07:55 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last): File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view return current_app.ensure_sync(func)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 86, in decorated_function return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/admin_unified.py", line 254, in advanced_settings return render_template('admin_advanced_settings.html') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin_advanced_settings.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 658, in top-level template code {% block content %}{% endblock %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin_advanced_settings.html", line 388, in block 'content'

{{ stats.total_users }}

^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 485, in getattr return getattr(obj, attribute) ^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'stats' is undefined 2025-06-09 19:07:58 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-09 19:07:58 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-09 19:08:01 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/guest-requests 2025-06-09 19:08:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers 2025-06-09 19:09:19 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-09 19:09:19 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/instance/printer_manager.db 2025-06-09 19:09:19 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-09 19:09:19 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-09 19:09:19 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-09 19:09:19 - [app] app - [INFO] INFO - [START] Server startet auf 0.0.0.0:5000 2025-06-09 19:10:00 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers 2025-06-09 19:10:03 - [app] app - [ERROR] ERROR - Unhandled Exception - ID: 20250609_191003 2025-06-09 19:10:03 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/tapo/ 2025-06-09 19:10:03 - [app] app - [ERROR] ERROR - Method: GET 2025-06-09 19:10:03 - [app] app - [ERROR] ERROR - User: admin 2025-06-09 19:10:03 - [app] app - [ERROR] ERROR - Exception Type: BuildError 2025-06-09 19:10:03 - [app] app - [ERROR] ERROR - Exception: Could not build url for endpoint 'admin.manage_printers'. Did you mean 'admin.get_printer_api' instead? 2025-06-09 19:10:03 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last): File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/tapo_control.py", line 66, in tapo_dashboard return render_template('tapo_control.html', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 152, in render_template return _render(app, template, context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 133, in _render rv = template.render(context) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1301, in render self.environment.handle_exception() File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 936, in handle_exception raise rewrite_traceback_stack(source=source) File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/tapo_control.html", line 1, in top-level template code {% extends "base.html" %} File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html", line 658, in top-level template code {% block content %}{% endblock %} ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/tapo_control.html", line 224, in block 'content'
{{ stats.total_users }}

^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 485, in getattr return getattr(obj, attribute) ^^^^^^^^^^^^^^^^^^^^^^^ jinja2.exceptions.UndefinedError: 'stats' is undefined 2025-06-09 19:32:01 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-09 19:32:01 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-09 19:32:03 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-09 19:32:03 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers 2025-06-09 19:32:06 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-09 19:32:06 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-09 19:32:11 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-09 19:32:13 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-09 19:32:13 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-09 19:32:18 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-10 10:01:57 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-10 10:01:57 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-10 10:01:58 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-10 10:01:58 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-10 10:01:58 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-10 10:01:58 - [app] app - [INFO] INFO - [START] Server startet auf 0.0.0.0:5000 2025-06-10 10:02:14 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-10 10:02:26 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-10 10:02:30 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-10 10:02:32 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-10 10:02:34 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-10 10:02:35 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers 2025-06-10 10:02:35 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-10 10:02:35 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-10 10:02:36 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-10 10:02:38 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-10 10:02:40 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: tuple index out of range 2025-06-10 10:02:40 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-10 10:02:40 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-10 13:10:47 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-10 13:10:47 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-10 13:10:47 - [app] app - [INFO] INFO - 🚀 MYP Produktions-Server startet... 2025-06-10 13:10:47 - [app] app - [INFO] INFO - 📅 Start-Zeit: 2025-06-10 13:10:47 2025-06-10 13:10:47 - [app] app - [ERROR] ERROR - ❌ Kritischer Fehler beim Server-Start: module 'os' has no attribute 'uname' 2025-06-10 13:10:47 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last): File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\app_production.py", line 333, in main app_logger.info(f"🖥️ Hostname: {os.uname().nodename}") ^^^^^^^^ AttributeError: module 'os' has no attribute 'uname'. Did you mean: 'name'? 2025-06-10 13:10:47 - [app] app - [INFO] INFO - ✅ Cleanup abgeschlossen 2025-06-10 13:11:47 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-10 13:11:47 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-10 13:11:47 - [app] app - [INFO] INFO - 🚀 MYP Produktions-Server startet... 2025-06-10 13:11:47 - [app] app - [INFO] INFO - 📅 Start-Zeit: 2025-06-10 13:11:47 2025-06-10 13:11:47 - [app] app - [INFO] INFO - 🖥️ Hostname: C040L0079726760 2025-06-10 13:11:47 - [app] app - [INFO] INFO - 🐍 Python: 3.13.3 (tags/v3.13.3:6280bb5, Apr 8 2025, 14:47:33) [MSC v.1943 64 bit (AMD64)] 2025-06-10 13:11:47 - [app] app - [INFO] INFO - ✅ Produktions-Logging konfiguriert 2025-06-10 13:11:47 - [app] app - [ERROR] ERROR - ❌ Kritischer Fehler beim Server-Start: module 'os' has no attribute 'geteuid' 2025-06-10 13:11:47 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last): File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\app_production.py", line 341, in main if os.geteuid() != 0: ^^^^^^^^^^ AttributeError: module 'os' has no attribute 'geteuid'. Did you mean: 'getpid'? 2025-06-10 13:11:47 - [app] app - [INFO] INFO - ✅ Cleanup abgeschlossen 2025-06-10 13:30:33 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-10 13:30:33 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-10 13:30:33 - [app] app - [INFO] INFO - 🚀 MYP Produktions-Server startet... 2025-06-10 13:30:33 - [app] app - [INFO] INFO - 📅 Start-Zeit: 2025-06-10 13:30:33 2025-06-10 13:30:33 - [app] app - [INFO] INFO - 🖥️ Hostname: C040L0079726760 2025-06-10 13:30:33 - [app] app - [INFO] INFO - 🐍 Python: 3.13.3 (tags/v3.13.3:6280bb5, Apr 8 2025, 14:47:33) [MSC v.1943 64 bit (AMD64)] 2025-06-10 13:30:33 - [app] app - [INFO] INFO - ✅ Produktions-Logging konfiguriert 2025-06-10 13:30:33 - [app] app - [INFO] INFO - 🪟 Windows-Modus: Root-Check übersprungen 2025-06-10 13:30:33 - [app] app - [INFO] INFO - 🔐 Prüfe SSL-Zertifikate für Produktionsbetrieb... 2025-06-10 13:30:33 - [app] app - [INFO] INFO - 🔧 Erstelle neue browser-kompatible SSL-Zertifikate... 2025-06-10 13:30:33 - [app] app - [INFO] INFO - 🔧 Erstelle browser-kompatible SSL-Zertifikate... 2025-06-10 13:30:33 - [app] app - [ERROR] ERROR - ❌ SSL-Zertifikat-Erstellung fehlgeschlagen: [WinError 2] Das System kann die angegebene Datei nicht finden 2025-06-10 13:30:33 - [app] app - [ERROR] ERROR - ❌ Netzwerk-Fehler: [WinError 2] Das System kann die angegebene Datei nicht finden 2025-06-10 13:30:33 - [app] app - [INFO] INFO - ✅ Cleanup abgeschlossen 2025-06-11 08:42:18 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 08:42:18 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 08:42:19 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-11 08:42:19 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-11 08:42:20 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-11 08:42:20 - [app] app - [INFO] INFO - [START] Server startet auf 0.0.0.0:5000 2025-06-11 08:42:23 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 08:42:26 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 08:42:26 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 08:42:38 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 08:42:38 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-11 08:42:38 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers 2025-06-11 08:42:38 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 08:42:41 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 08:42:43 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 08:52:36 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 08:52:36 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 08:52:36 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-11 08:52:36 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-11 08:52:37 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-11 08:52:37 - [app] app - [INFO] INFO - [START] Server startet auf 0.0.0.0:5000 2025-06-11 08:52:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 08:52:47 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 08:52:49 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 08:52:52 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 08:52:54 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 08:52:56 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 08:52:56 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 08:52:56 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 08:52:59 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers 2025-06-11 08:53:00 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: tuple index out of range 2025-06-11 08:53:00 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 08:53:16 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 08:53:16 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-11 08:53:16 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers 2025-06-11 08:53:16 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 08:53:31 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs?page=1 2025-06-11 08:53:43 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 08:53:43 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 08:53:46 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-11 08:53:46 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs?page=1 2025-06-11 08:53:53 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 08:54:11 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 08:54:11 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 08:54:11 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 08:54:14 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/stats 2025-06-11 08:54:14 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 08:54:14 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 08:54:17 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 08:54:35 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 08:54:35 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 08:54:35 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-11 08:54:35 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-11 08:54:36 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-11 08:54:36 - [app] app - [INFO] INFO - [START] Server startet auf 0.0.0.0:5000 2025-06-11 08:54:38 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:06:42 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 09:06:42 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 09:06:43 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-11 09:06:43 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-11 09:06:43 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-11 09:06:43 - [app] app - [INFO] INFO - [START] Server startet auf 0.0.0.0:5000 2025-06-11 09:06:46 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:06:49 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:08:16 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 09:08:16 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 09:08:17 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-11 09:08:17 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-11 09:08:17 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-11 09:08:17 - [app] app - [INFO] INFO - [START] Server startet auf 0.0.0.0:5000 2025-06-11 09:08:19 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:08:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:08:22 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-11 09:08:22 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers 2025-06-11 09:08:22 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:08:25 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:08:27 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:08:29 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:08:31 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:08:33 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:08:35 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:08:36 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:09:08 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:09:10 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:09:12 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:09:14 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:09:16 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:09:18 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:09:38 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:09:40 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:09:43 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:09:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:09:47 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:09:49 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:10:08 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:10:10 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:10:12 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:10:15 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:10:17 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:10:19 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:10:38 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:10:41 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:10:43 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:10:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:10:47 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:10:49 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:11:08 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:11:10 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:11:13 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:11:15 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:11:17 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:11:19 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:11:38 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:11:41 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:11:43 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:11:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:11:47 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:11:49 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:12:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:12:46 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:12:49 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:12:51 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:12:53 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:12:55 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:13:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:13:46 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:13:48 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:13:50 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:13:53 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:13:55 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:14:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:14:47 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:14:49 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:14:51 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:14:53 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:14:55 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:15:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:15:47 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:15:49 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:15:51 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:15:53 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:15:55 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:16:42 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 09:17:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:17:46 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:17:49 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:17:51 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:17:53 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:17:55 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:18:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:18:46 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:18:48 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:18:51 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:18:53 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:18:55 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:19:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:19:46 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:19:48 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:19:51 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:19:53 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:19:55 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:20:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:20:47 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:20:49 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:20:51 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:20:53 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:20:55 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:21:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:21:46 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:21:48 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:21:50 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:21:53 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:21:55 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:22:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:22:47 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:22:49 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:22:51 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:22:53 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:22:55 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:23:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:23:46 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:23:49 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:23:51 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:23:53 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:23:55 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:24:19 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:24:19 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-11 09:24:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers 2025-06-11 09:24:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:24:21 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:24:23 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:24:25 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:24:27 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:24:29 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:25:48 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 09:25:48 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 09:25:48 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-11 09:25:48 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-11 09:25:49 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-11 09:25:49 - [app] app - [INFO] INFO - [START] Server startet auf 0.0.0.0:5000 2025-06-11 09:25:49 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:25:55 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:26:13 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:26:13 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 09:26:14 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-11 09:26:15 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers 2025-06-11 09:26:16 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:26:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:26:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-11 09:26:21 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers 2025-06-11 09:26:21 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:26:35 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs?page=1 2025-06-11 09:26:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs?page=1 2025-06-11 09:26:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-11 09:27:05 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs?page=1 2025-06-11 09:27:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs?page=1 2025-06-11 09:27:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-11 09:27:35 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs?page=1 2025-06-11 09:27:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs?page=1 2025-06-11 09:27:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-11 09:28:05 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs?page=1 2025-06-11 09:28:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs?page=1 2025-06-11 09:28:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-11 09:28:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs?page=1 2025-06-11 09:28:35 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs?page=1 2025-06-11 09:28:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs?page=1 2025-06-11 09:28:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs 2025-06-11 09:28:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/jobs?page=1 2025-06-11 09:29:03 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:29:05 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:35:07 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 09:35:07 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 09:35:07 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-11 09:35:07 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-11 09:35:07 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-11 09:35:07 - [app] app - [INFO] INFO - [START] Server startet auf 0.0.0.0:5000 2025-06-11 09:35:10 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:35:12 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen 2025-06-11 09:35:13 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:35:15 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:35:16 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen 2025-06-11 09:35:16 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:39:31 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 09:39:31 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 09:39:31 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-11 09:39:31 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-11 09:39:32 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-11 09:39:32 - [app] app - [INFO] INFO - [START] Server startet auf 0.0.0.0:5000 2025-06-11 09:41:46 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 09:44:42 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 09:48:05 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:48:07 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 09:48:08 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:48:46 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:48:47 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:52:40 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:52:42 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:52:43 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:52:45 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:52:51 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:52:51 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:52:51 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:54:17 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:54:19 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:54:20 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 09:54:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 09:54:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:54:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 09:54:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 09:54:50 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 09:55:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 09:55:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 09:55:20 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 09:55:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 09:55:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 09:55:50 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 09:56:20 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 09:56:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 09:56:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 09:56:20 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 09:56:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 09:56:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 09:56:50 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 09:57:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 09:57:20 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 09:57:20 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 09:57:53 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 09:57:53 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 09:57:53 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 09:57:55 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:57:55 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 09:57:56 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen 2025-06-11 09:57:57 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:58:28 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:58:30 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:58:32 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:58:34 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:58:36 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:58:39 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:58:39 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json 2025-06-11 09:58:40 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 09:59:11 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:59:13 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:59:16 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:59:18 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:59:20 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:59:22 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 09:59:41 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 09:59:43 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 09:59:46 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 09:59:48 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 09:59:50 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 09:59:52 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 10:00:11 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 10:00:13 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 10:00:16 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 10:00:18 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 10:00:20 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 10:00:22 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 10:00:41 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 10:00:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 10:00:46 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 10:00:48 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 10:00:50 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 10:00:52 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 10:01:11 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 10:01:13 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 10:01:16 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 10:01:18 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 10:01:20 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 10:01:22 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 10:01:41 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 10:01:43 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 10:01:46 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 10:01:48 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 10:01:50 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 10:01:52 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 10:02:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 10:02:47 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 10:02:49 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 10:02:51 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 10:02:53 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 10:02:55 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 10:03:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 10:03:47 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 10:03:49 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 10:03:51 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 10:03:53 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 10:03:55 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 10:04:38 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 10:04:40 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 10:04:42 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 10:04:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 10:04:46 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 10:04:49 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 10:04:51 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 10:04:53 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 10:04:55 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 10:04:57 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 10:04:59 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 10:05:01 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 10:05:11 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 10:05:13 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 10:05:15 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 10:05:17 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 10:05:19 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 10:05:22 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 10:05:41 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 10:05:43 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 10:05:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 10:05:48 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 10:05:50 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 10:05:52 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 10:06:11 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system 2025-06-11 10:06:13 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 10:06:15 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 10:06:18 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 10:06:20 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 10:06:22 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system 2025-06-11 10:06:29 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 10:06:29 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: tuple index out of range 2025-06-11 10:06:29 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 10:06:32 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 10:06:32 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:06:32 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:06:32 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 10:06:34 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:06:34 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:06:34 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 10:06:43 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/users 2025-06-11 10:07:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:07:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:07:04 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:07:34 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:07:34 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:07:34 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:08:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:08:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:08:04 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:08:34 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:08:34 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:08:34 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:09:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:09:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:09:04 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:09:34 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:09:34 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:09:34 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:10:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:10:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:10:10 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:10:42 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:10:42 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:10:48 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:11:42 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:11:42 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:11:42 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:12:42 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:12:42 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:12:42 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:13:42 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:13:42 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:13:42 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:14:42 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:14:42 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:14:42 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:15:04 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 10:15:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:15:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:15:04 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:15:34 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:15:34 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:15:34 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:16:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:16:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:16:04 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:16:34 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:16:34 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:16:34 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:17:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:17:04 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:17:04 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:17:34 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/error-recovery/status 2025-06-11 10:17:34 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/admin/system-health 2025-06-11 10:17:34 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:22:20 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 10:22:20 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 10:22:21 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development 2025-06-11 10:22:21 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False 2025-06-11 10:22:21 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration 2025-06-11 10:24:10 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 10:24:10 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 10:24:10 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development 2025-06-11 10:24:10 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False 2025-06-11 10:24:10 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration 2025-06-11 10:25:53 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 10:25:53 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 10:25:53 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development 2025-06-11 10:25:53 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False 2025-06-11 10:25:53 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration 2025-06-11 10:27:45 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 10:27:45 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 10:27:45 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development 2025-06-11 10:27:45 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False 2025-06-11 10:27:45 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration 2025-06-11 10:27:45 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration 2025-06-11 10:27:45 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert 2025-06-11 10:27:45 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing 2025-06-11 10:27:45 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True 2025-06-11 10:27:45 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True 2025-06-11 10:27:53 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 10:27:53 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 10:27:53 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: production 2025-06-11 10:27:53 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: True 2025-06-11 10:27:53 - [app] app - [INFO] INFO - [PRODUCTION] Aktiviere Production-Konfiguration für Mercedes-Benz TBA 2025-06-11 10:27:53 - [app] app - [INFO] INFO - [PRODUCTION] ✅ Mercedes-Benz TBA Marienfelde Konfiguration aktiviert 2025-06-11 10:27:53 - [app] app - [INFO] INFO - [PRODUCTION] ✅ Environment: Production Air-Gapped 2025-06-11 10:27:53 - [app] app - [INFO] INFO - [PRODUCTION] ✅ Air-Gapped Mode: True 2025-06-11 10:27:53 - [app] app - [INFO] INFO - [PRODUCTION] ✅ Compliance Mode: True 2025-06-11 10:27:53 - [app] app - [INFO] INFO - [PRODUCTION] ✅ Performance Optimized: True 2025-06-11 10:27:53 - [app] app - [INFO] INFO - [CONFIG] ✅ Air-Gapped/Offline-Modus aktiviert 2025-06-11 10:39:12 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 10:39:12 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank... 2025-06-11 10:39:14 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-11 10:39:14 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin... 2025-06-11 10:39:14 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager... 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler... 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet 2025-06-11 10:39:14 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000 2025-06-11 10:39:16 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 10:39:16 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank... 2025-06-11 10:39:17 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-11 10:39:17 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin... 2025-06-11 10:39:17 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager... 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler... 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet 2025-06-11 10:39:17 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000 2025-06-11 10:39:22 - [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-11 10:39:22 - [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-11 10:39:22 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:22 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 10:39:23 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:39:23 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:23 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status 2025-06-11 10:39:23 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:39:23 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings 2025-06-11 10:39:23 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:23 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:23 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 10:39:23 - [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-11 10:39:24 - [app] app - [DEBUG] DEBUG - Request: POST /api/session/heartbeat 2025-06-11 10:39:24 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:25 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system 2025-06-11 10:39:25 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system 2025-06-11 10:39:25 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system 2025-06-11 10:39:26 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system 2025-06-11 10:39:26 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system 2025-06-11 10:39:27 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system 2025-06-11 10:39:27 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:27 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status 2025-06-11 10:39:27 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:34 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/ 2025-06-11 10:39:34 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system 2025-06-11 10:39:35 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system 2025-06-11 10:39:35 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system 2025-06-11 10:39:36 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system 2025-06-11 10:39:37 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: off, Quelle: system 2025-06-11 10:39:37 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system 2025-06-11 10:39:38 - [app] app - [INFO] INFO - Locating template 'tapo_control.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\\tapo_control.html') 2025-06-11 10:39:38 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:38 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: Invalid isoformat string: '' 2025-06-11 10:39:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:39:38 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:39:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings 2025-06-11 10:39:38 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:38 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:38 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 10:39:39 - [app] app - [DEBUG] DEBUG - Request: POST /api/session/heartbeat 2025-06-11 10:39:39 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:41 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:39:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:39:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/error-recovery/status 2025-06-11 10:39:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats 2025-06-11 10:39:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:39:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system-health 2025-06-11 10:39:42 - [app] app - [INFO] INFO - ✅ Admin API: Error-Recovery-Status abgerufen 2025-06-11 10:39:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:42 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:39:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:43 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:43 - [app] app - [INFO] INFO - ✅ Admin API: System-Health abgerufen 2025-06-11 10:39:43 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:47 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:39:49 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:51 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:39:52 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:53 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:39:54 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:55 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:39:56 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:57 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:39:57 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:39:59 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:39:59 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:01 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:40:02 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:03 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:40:04 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:05 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:40:06 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:07 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:40:07 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:08 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/all-status 2025-06-11 10:40:08 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:40:08 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:08 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:40:08 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:08 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system 2025-06-11 10:40:10 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system 2025-06-11 10:40:10 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system 2025-06-11 10:40:11 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system 2025-06-11 10:40:12 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: off, Quelle: system 2025-06-11 10:40:12 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system 2025-06-11 10:40:12 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:13 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:40:14 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:15 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:40:17 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:21 - [app] app - [DEBUG] DEBUG - Request: GET /printers 2025-06-11 10:40:21 - [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-11 10:40:21 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers 2025-06-11 10:40:21 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen 2025-06-11 10:40:21 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:40:21 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status 2025-06-11 10:40:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:40:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings 2025-06-11 10:40:21 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:21 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:21 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:21 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 10:40:22 - [app] app - [DEBUG] DEBUG - Request: POST /api/session/heartbeat 2025-06-11 10:40:22 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:27 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status 2025-06-11 10:40:27 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:31 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/1/test-print 2025-06-11 10:40:31 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers/1/test-print 2025-06-11 10:40:31 - [app] app - [DEBUG] DEBUG - Response: 404 2025-06-11 10:40:35 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/2/test-print 2025-06-11 10:40:35 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers/2/test-print 2025-06-11 10:40:35 - [app] app - [DEBUG] DEBUG - Response: 404 2025-06-11 10:40:42 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/2/test-print 2025-06-11 10:40:42 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers/2/test-print 2025-06-11 10:40:42 - [app] app - [DEBUG] DEBUG - Response: 404 2025-06-11 10:40:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:40:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system-health 2025-06-11 10:40:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats 2025-06-11 10:40:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:40:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/error-recovery/status 2025-06-11 10:40:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:42 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:40:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:42 - [app] app - [INFO] INFO - ✅ Admin API: Error-Recovery-Status abgerufen 2025-06-11 10:40:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:43 - [app] app - [INFO] INFO - ✅ Admin API: System-Health abgerufen 2025-06-11 10:40:43 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:46 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/3/test-print 2025-06-11 10:40:46 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/printers/3/test-print 2025-06-11 10:40:46 - [app] app - [DEBUG] DEBUG - Response: 404 2025-06-11 10:40:51 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status 2025-06-11 10:40:51 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:51 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:40:51 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:51 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status 2025-06-11 10:40:51 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:51 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status 2025-06-11 10:40:51 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:51 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:40:51 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:52 - [app] app - [DEBUG] DEBUG - Request: GET /jobs 2025-06-11 10:40:53 - [app] app - [INFO] INFO - Locating template 'jobs.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\\jobs.html') 2025-06-11 10:40:53 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:53 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:40:53 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:53 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs 2025-06-11 10:40:53 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:40:53 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings 2025-06-11 10:40:53 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:53 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:53 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:53 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 10:40:53 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers 2025-06-11 10:40:53 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen 2025-06-11 10:40:53 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:40:54 - [app] app - [DEBUG] DEBUG - Request: POST /api/session/heartbeat 2025-06-11 10:40:54 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:05 - [app] app - [DEBUG] DEBUG - Request: GET /stats 2025-06-11 10:41:05 - [app] app - [INFO] INFO - Locating template 'stats.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\\stats.html') 2025-06-11 10:41:05 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:05 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:41:05 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:05 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:41:05 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings 2025-06-11 10:41:05 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:41:05 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:05 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login 2025-06-11 10:41:05 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:41:05 - [app] app - [DEBUG] DEBUG - Request: GET / 2025-06-11 10:41:05 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:41:05 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 10:41:05 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard 2025-06-11 10:41:06 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:06 - [app] app - [DEBUG] DEBUG - Request: POST /api/session/heartbeat 2025-06-11 10:41:06 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:08 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/ 2025-06-11 10:41:09 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system 2025-06-11 10:41:10 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system 2025-06-11 10:41:10 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system 2025-06-11 10:41:11 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system 2025-06-11 10:41:12 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: off, Quelle: system 2025-06-11 10:41:12 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system 2025-06-11 10:41:12 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:12 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:41:12 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:12 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:41:12 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings 2025-06-11 10:41:12 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:12 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:12 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 10:41:13 - [app] app - [DEBUG] DEBUG - Request: POST /api/session/heartbeat 2025-06-11 10:41:13 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:15 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:41:16 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:17 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:41:17 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:19 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:41:20 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:20 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:41:21 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:27 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status 2025-06-11 10:41:27 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:30 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:41:36 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:39 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:41:40 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/all-status 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/error-recovery/status 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Request: POST /api/session/heartbeat 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats 2025-06-11 10:41:42 - [app] app - [INFO] INFO - ✅ Admin API: Error-Recovery-Status abgerufen 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system-health 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:41:42 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Request: GET / 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:41:42 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard 2025-06-11 10:41:43 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:43 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system 2025-06-11 10:41:43 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system 2025-06-11 10:41:43 - [app] app - [INFO] INFO - ✅ Admin API: System-Health abgerufen 2025-06-11 10:41:43 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:41:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system 2025-06-11 10:41:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system 2025-06-11 10:41:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: off, Quelle: system 2025-06-11 10:41:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system 2025-06-11 10:41:45 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:42:12 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/all-status 2025-06-11 10:42:12 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:42:12 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:42:12 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:42:12 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:42:15 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system 2025-06-11 10:42:16 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system 2025-06-11 10:42:16 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system 2025-06-11 10:42:19 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system 2025-06-11 10:42:19 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: off, Quelle: system 2025-06-11 10:42:20 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system 2025-06-11 10:42:20 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:42:27 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status 2025-06-11 10:42:27 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/all-status 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/error-recovery/status 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats 2025-06-11 10:42:42 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse [SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout FROM users WHERE users.id = ? LIMIT ? OFFSET ?] [parameters: (1, 1, 0)] (Background on this error at: https://sqlalche.me/e/20/rvf5) 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system-health 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:42:42 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:42:42 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:42:43 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:42:43 - [app] app - [DEBUG] DEBUG - Request: GET / 2025-06-11 10:42:43 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:42:43 - [app] app - [DEBUG] DEBUG - Request: GET / 2025-06-11 10:42:43 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard 2025-06-11 10:42:43 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:42:43 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:42:43 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard 2025-06-11 10:42:43 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:42:43 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system 2025-06-11 10:42:43 - [app] app - [INFO] INFO - ✅ Admin API: System-Health abgerufen 2025-06-11 10:42:43 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:42:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system 2025-06-11 10:42:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system 2025-06-11 10:42:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system 2025-06-11 10:42:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: off, Quelle: system 2025-06-11 10:42:46 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system 2025-06-11 10:42:46 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:43:12 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/all-status 2025-06-11 10:43:13 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system 2025-06-11 10:43:13 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:43:13 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:43:13 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:43:13 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:43:13 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login 2025-06-11 10:43:13 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:43:13 - [app] app - [DEBUG] DEBUG - Request: GET / 2025-06-11 10:43:13 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:43:13 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard 2025-06-11 10:43:13 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:43:14 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system 2025-06-11 10:43:16 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system 2025-06-11 10:43:17 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system 2025-06-11 10:43:19 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: off, Quelle: system 2025-06-11 10:43:20 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system 2025-06-11 10:43:20 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:43:27 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status 2025-06-11 10:43:27 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:43:42 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/all-status 2025-06-11 10:43:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:43:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/error-recovery/status 2025-06-11 10:43:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:43:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats 2025-06-11 10:43:42 - [app] app - [INFO] INFO - ✅ Admin API: Error-Recovery-Status abgerufen 2025-06-11 10:43:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system-health 2025-06-11 10:43:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:43:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:43:42 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:43:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:43:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:43:43 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system 2025-06-11 10:43:43 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system 2025-06-11 10:43:43 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:43:43 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:43:43 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:43:43 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:43:43 - [app] app - [INFO] INFO - ✅ Admin API: System-Health abgerufen 2025-06-11 10:43:43 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:43:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system 2025-06-11 10:43:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system 2025-06-11 10:43:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: off, Quelle: system 2025-06-11 10:43:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system 2025-06-11 10:43:45 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:44:12 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/all-status 2025-06-11 10:44:13 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system 2025-06-11 10:44:13 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:44:13 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:44:13 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:44:13 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:44:14 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system 2025-06-11 10:44:14 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system 2025-06-11 10:44:14 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system 2025-06-11 10:44:15 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: off, Quelle: system 2025-06-11 10:44:16 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system 2025-06-11 10:44:16 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:44:27 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status 2025-06-11 10:44:30 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system 2025-06-11 10:44:30 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: off, Quelle: system 2025-06-11 10:44:31 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system 2025-06-11 10:44:31 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system 2025-06-11 10:44:32 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system 2025-06-11 10:44:32 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system 2025-06-11 10:44:32 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:44:42 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/all-status 2025-06-11 10:44:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:44:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/error-recovery/status 2025-06-11 10:44:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:44:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats 2025-06-11 10:44:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system-health 2025-06-11 10:44:42 - [app] app - [INFO] INFO - ✅ Admin API: Error-Recovery-Status abgerufen 2025-06-11 10:44:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:44:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:44:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:44:42 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:44:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:44:43 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system 2025-06-11 10:44:43 - [app] app - [INFO] INFO - ✅ Admin API: System-Health abgerufen 2025-06-11 10:44:43 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:44:44 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system 2025-06-11 10:44:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system 2025-06-11 10:44:45 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system 2025-06-11 10:44:46 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: off, Quelle: system 2025-06-11 10:44:46 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system 2025-06-11 10:44:46 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:44:56 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:44:56 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:44:56 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:44:56 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:44:57 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:44:57 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:44:58 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:44:58 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:45:00 - [app] app - [DEBUG] DEBUG - Request: POST /tapo/control 2025-06-11 10:45:01 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:45:14 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 10:45:14 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 10:45:14 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development 2025-06-11 10:45:14 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False 2025-06-11 10:45:14 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration 2025-06-11 10:45:14 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration 2025-06-11 10:45:14 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert 2025-06-11 10:45:14 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing 2025-06-11 10:45:14 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True 2025-06-11 10:45:14 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True 2025-06-11 10:45:14 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung 2025-06-11 10:45:14 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde 2025-06-11 10:45:14 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True 2025-06-11 10:45:14 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank... 2025-06-11 10:45:14 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-11 10:45:14 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-11 10:45:14 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert 2025-06-11 10:45:14 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin... 2025-06-11 10:45:15 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-11 10:45:15 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft 2025-06-11 10:45:15 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager... 2025-06-11 10:45:15 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet 2025-06-11 10:45:15 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler... 2025-06-11 10:45:15 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet 2025-06-11 10:45:15 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000 2025-06-11 10:45:16 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 10:45:16 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank... 2025-06-11 10:45:17 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-11 10:45:17 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin... 2025-06-11 10:45:17 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager... 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler... 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet 2025-06-11 10:45:17 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000 2025-06-11 10:51:33 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 10:51:33 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 10:51:33 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development 2025-06-11 10:51:33 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False 2025-06-11 10:51:33 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration 2025-06-11 10:51:33 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration 2025-06-11 10:51:33 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert 2025-06-11 10:51:33 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing 2025-06-11 10:51:33 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True 2025-06-11 10:51:33 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True 2025-06-11 10:51:33 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung 2025-06-11 10:51:33 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde 2025-06-11 10:51:33 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True 2025-06-11 10:51:33 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank... 2025-06-11 10:51:33 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-11 10:51:33 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-11 10:51:33 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert 2025-06-11 10:51:33 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin... 2025-06-11 10:51:34 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-11 10:51:34 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft 2025-06-11 10:51:34 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager... 2025-06-11 10:51:34 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet 2025-06-11 10:51:34 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler... 2025-06-11 10:51:34 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet 2025-06-11 10:51:34 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000 2025-06-11 10:51:35 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup 2025-06-11 10:51:35 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\instance\printer_manager.db 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank... 2025-06-11 10:51:36 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O) 2025-06-11 10:51:36 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin... 2025-06-11 10:51:36 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt. 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager... 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler... 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet 2025-06-11 10:51:36 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000 2025-06-11 10:51:37 - [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-11 10:51:37 - [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-11 10:51:37 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:37 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:51:37 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status 2025-06-11 10:51:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:51:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings 2025-06-11 10:51:38 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:38 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:38 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 10:51:38 - [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-11 10:51:39 - [app] app - [DEBUG] DEBUG - Request: POST /api/session/heartbeat 2025-06-11 10:51:39 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:41 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 6, Status: off, Quelle: system 2025-06-11 10:51:41 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 3, Status: off, Quelle: system 2025-06-11 10:51:41 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: off, Quelle: system 2025-06-11 10:51:42 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 5, Status: off, Quelle: system 2025-06-11 10:51:42 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 4, Status: off, Quelle: system 2025-06-11 10:51:42 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 2, Status: off, Quelle: system 2025-06-11 10:51:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status 2025-06-11 10:51:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:51:42 - [app] app - [DEBUG] DEBUG - Request: POST /api/session/heartbeat 2025-06-11 10:51:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/error-recovery/status 2025-06-11 10:51:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats 2025-06-11 10:51:42 - [app] app - [INFO] INFO - ✅ Admin API: Error-Recovery-Status abgerufen 2025-06-11 10:51:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system-health 2025-06-11 10:51:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:51:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:42 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:51:42 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:43 - [app] app - [INFO] INFO - ✅ Admin API: System-Health abgerufen 2025-06-11 10:51:43 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:44 - [app] app - [DEBUG] DEBUG - Request: GET /calendar 2025-06-11 10:51:44 - [app] app - [INFO] INFO - Locating template 'calendar.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\\calendar.html') 2025-06-11 10:51:44 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:45 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:51:45 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:45 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/events 2025-06-11 10:51:45 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:45 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:51:45 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings 2025-06-11 10:51:45 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:45 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:51:45 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login 2025-06-11 10:51:45 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:51:45 - [app] app - [DEBUG] DEBUG - Request: GET / 2025-06-11 10:51:45 - [app] app - [DEBUG] DEBUG - Response: 302 2025-06-11 10:51:45 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard 2025-06-11 10:51:45 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:45 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 10:51:46 - [app] app - [DEBUG] DEBUG - Request: POST /api/session/heartbeat 2025-06-11 10:51:46 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:56 - [app] app - [DEBUG] DEBUG - Request: GET /jobs 2025-06-11 10:51:56 - [app] app - [INFO] INFO - Locating template 'jobs.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\\jobs.html') 2025-06-11 10:51:56 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:56 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:51:56 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:56 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs 2025-06-11 10:51:56 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:51:56 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings 2025-06-11 10:51:56 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:56 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:56 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:56 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers 2025-06-11 10:51:57 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen 2025-06-11 10:51:57 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:51:57 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/static/icons/icon-192.png 2025-06-11 10:51:57 - [app] app - [DEBUG] DEBUG - Request: POST /api/session/heartbeat 2025-06-11 10:51:57 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:52:11 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs 2025-06-11 10:52:11 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:52:26 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs 2025-06-11 10:52:26 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:52:26 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:52:26 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:52:26 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs 2025-06-11 10:52:26 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:52:26 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:52:26 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:52:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs 2025-06-11 10:52:41 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:52:44 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/error-recovery/status 2025-06-11 10:52:44 - [app] app - [INFO] INFO - ✅ Admin API: Error-Recovery-Status abgerufen 2025-06-11 10:52:44 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:52:44 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications 2025-06-11 10:52:44 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system-health 2025-06-11 10:52:44 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats 2025-06-11 10:52:44 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status 2025-06-11 10:52:44 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:52:44 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:52:44 - [app] app - [INFO] INFO - ✅ API: Statistiken abgerufen 2025-06-11 10:52:44 - [app] app - [DEBUG] DEBUG - Response: 200 2025-06-11 10:52:45 - [app] app - [INFO] INFO - ✅ Admin API: System-Health abgerufen 2025-06-11 10:52:45 - [app] app - [DEBUG] DEBUG - Response: 200