Das beigefügte Texteintrag listet verschiedene Dateien und Dateipfade auf, die in einem Backend-System geändert wurden. Hier ist eine Zusammenfassung der Änderungen:

This commit is contained in:
2025-06-12 09:52:44 +02:00
parent f9aec04237
commit c356111149
490 changed files with 1304 additions and 165 deletions

View File

@ -3035,3 +3035,573 @@ WHERE users.id = ?
2025-06-12 09:34:51 - [app] app - [INFO] INFO - [SHUTDOWN] 🧹 Cleanup wird ausgeführt...
2025-06-12 09:34:51 - [app] app - [INFO] INFO - [SHUTDOWN] ✅ Queue Manager gestoppt
2025-06-12 09:34:51 - [app] app - [ERROR] ERROR - [SHUTDOWN] ❌ Cleanup-Fehler: 'BackgroundTaskScheduler' object has no attribute 'shutdown'
2025-06-12 09:34:52 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup
2025-06-12 09:34:52 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-12 09:34:53 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-12 09:34:53 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-12 09:34:53 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-12 09:34:53 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-12 09:34:53 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-12 09:34:53 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-12 09:34:53 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-12 09:34:53 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-12 09:34:53 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-12 09:34:53 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-12 09:34:53 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-12 09:34:53 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-12 09:34:53 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-12 09:34:53 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-12 09:34:53 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-12 09:34:53 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-12 09:34:54 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-12 09:34:54 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-12 09:34:54 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-12 09:34:54 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-12 09:34:54 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-12 09:34:54 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-12 09:34:54 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-12 09:35:00 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:35:00 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:35:30 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:35:30 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:21 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup
2025-06-12 09:36:21 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-12 09:36:22 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-12 09:36:22 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-12 09:36:22 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-12 09:36:22 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-12 09:36:23 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup
2025-06-12 09:36:23 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-12 09:36:25 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-12 09:36:25 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-12 09:36:25 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-12 09:36:25 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-12 09:36:25 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:25 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:25 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:27 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:27 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:27 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:29 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:29 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:29 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:30 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:30 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:31 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:31 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:31 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:32 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:32 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:32 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/api/dashboard/refresh
2025-06-12 09:36:34 - [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-12 09:36:34 - [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-12 09:36:34 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:34 - [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-12 09:36:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Request: GET /printers
2025-06-12 09:36:35 - [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-12 09:36:35 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-12 09:36:35 - [app] app - [INFO] INFO - ✅ API: 0 Drucker abgerufen
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:36:35 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:36 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/
2025-06-12 09:36:36 - [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-12 09:36:36 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:36 - [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-12 09:36:36 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:36:36 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:36 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:36:36 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:36:36 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:36:36 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:36 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:36:36 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:38 - [app] app - [DEBUG] DEBUG - Request: GET /jobs
2025-06-12 09:36:38 - [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-12 09:36:38 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:36:38 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 09:36:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 09:36:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:36:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:36:38 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:38 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:36:38 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:38 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-12 09:36:38 - [app] app - [INFO] INFO - ✅ API: 0 Drucker abgerufen
2025-06-12 09:36:38 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:43 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:36:43 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:36:43 - [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-12 09:36:43 - [app] app - [DEBUG] DEBUG - Response: 404
2025-06-12 09:36:47 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 09:36:47 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:50 - [app] app - [DEBUG] DEBUG - Request: GET /jobs
2025-06-12 09:36:50 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:50 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:36:50 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:36:50 - [app] app - [DEBUG] DEBUG - Response: 404
2025-06-12 09:36:50 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:36:50 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:50 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 09:36:50 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 09:36:50 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:36:50 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:36:50 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:50 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:36:50 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:51 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:36:51 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-12 09:36:51 - [app] app - [INFO] INFO - ✅ API: 0 Drucker abgerufen
2025-06-12 09:36:51 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:05 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 09:37:05 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:12 - [app] app - [DEBUG] DEBUG - Request: GET /jobs
2025-06-12 09:37:12 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-12 09:37:12 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-12 09:37:12 - [app] app - [INFO] INFO - Locating template 'login.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\\login.html')
2025-06-12 09:37:12 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:16 - [app] app - [DEBUG] DEBUG - Request: POST /auth/login
2025-06-12 09:37:17 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:18 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-12 09:37:18 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-12 09:37:18 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-12 09:37:18 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:18 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:37:18 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status
2025-06-12 09:37:18 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:37:18 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:37:18 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:18 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:37:18 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:37:18 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Request: GET /jobs
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-12 09:37:21 - [app] app - [INFO] INFO - ✅ API: 0 Drucker abgerufen
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:21 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:37:25 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:37:25 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:37:25 - [app] app - [DEBUG] DEBUG - Response: 404
2025-06-12 09:37:26 - [app] app - [INFO] INFO - [SHUTDOWN] 🧹 Cleanup wird ausgeführt...
2025-06-12 09:37:26 - [app] app - [INFO] INFO - [SHUTDOWN] ✅ Queue Manager gestoppt
2025-06-12 09:37:26 - [app] app - [ERROR] ERROR - [SHUTDOWN] ❌ Cleanup-Fehler: 'BackgroundTaskScheduler' object has no attribute 'shutdown'
2025-06-12 09:37:27 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup
2025-06-12 09:37:27 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-12 09:37:28 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-12 09:37:28 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-12 09:37:28 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-12 09:37:28 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-12 09:37:28 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-12 09:37:28 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-12 09:37:28 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-12 09:37:28 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-12 09:37:28 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-12 09:37:28 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-12 09:37:28 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-12 09:37:28 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-12 09:37:28 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-12 09:37:28 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-12 09:37:28 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-12 09:37:28 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-12 09:37:29 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-12 09:37:29 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-12 09:37:29 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-12 09:37:29 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-12 09:37:29 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-12 09:37:29 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-12 09:37:29 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-12 09:38:21 - [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-12 09:38:21 - [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-12 09:38:22 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:42:56 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup
2025-06-12 09:42:56 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-12 09:42:57 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-12 09:42:57 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-12 09:42:57 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-12 09:42:57 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-12 09:42:58 - [app] app - [WARNING] WARNING - DatabaseCleanupManager nicht verfügbar - Fallback auf Legacy-Cleanup
2025-06-12 09:42:58 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-12 09:43:00 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-12 09:43:00 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-12 09:43:00 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-12 09:43:00 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-12 09:43:05 - [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-12 09:43:05 - [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-12 09:43:05 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:05 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:05 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:05 - [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-12 09:43:05 - [app] app - [DEBUG] DEBUG - Response: 404
2025-06-12 09:43:06 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:43:06 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:43:06 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:43:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:06 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:43:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:09 - [app] app - [DEBUG] DEBUG - Request: GET /jobs
2025-06-12 09:43:09 - [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-12 09:43:09 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:09 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:09 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:09 - [app] app - [DEBUG] DEBUG - Response: 404
2025-06-12 09:43:10 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:43:10 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:10 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 09:43:10 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 09:43:10 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:43:10 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:43:10 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:10 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:43:10 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:10 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:10 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-12 09:43:10 - [app] app - [INFO] INFO - ✅ API: 0 Drucker abgerufen
2025-06-12 09:43:10 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:19 - [app] app - [DEBUG] DEBUG - Request: GET /stats
2025-06-12 09:43:19 - [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-12 09:43:19 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:19 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:19 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:19 - [app] app - [DEBUG] DEBUG - Response: 404
2025-06-12 09:43:20 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:43:20 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:43:20 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:20 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:43:20 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:43:20 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:22 - [app] app - [DEBUG] DEBUG - Request: GET /calendar
2025-06-12 09:43:22 - [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-12 09:43:22 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:22 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: Invalid isoformat string: ''
2025-06-12 09:43:22 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:22 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:22 - [app] app - [DEBUG] DEBUG - Response: 404
2025-06-12 09:43:22 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:43:22 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:22 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/events
2025-06-12 09:43:22 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:22 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:43:22 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:43:22 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:43:22 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:23 - [app] app - [DEBUG] DEBUG - Request: GET /request
2025-06-12 09:43:23 - [app] app - [INFO] INFO - Locating template 'guest_request.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\guest_request.html')
2025-06-12 09:43:23 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:23 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:23 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:23 - [app] app - [DEBUG] DEBUG - Response: 404
2025-06-12 09:43:24 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:43:24 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:24 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:43:24 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:43:24 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:43:24 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:25 - [app] app - [DEBUG] DEBUG - Request: GET /requests/overview
2025-06-12 09:43:25 - [app] app - [INFO] INFO - Locating template 'guest_requests_overview.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\guest_requests_overview.html')
2025-06-12 09:43:25 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:25 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:25 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:25 - [app] app - [DEBUG] DEBUG - Response: 404
2025-06-12 09:43:26 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:43:26 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:26 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:43:26 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:43:26 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:43:26 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:27 - [app] app - [DEBUG] DEBUG - Request: GET /tapo/
2025-06-12 09:43:27 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:27 - [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-12 09:43:27 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:27 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:27 - [app] app - [DEBUG] DEBUG - Response: 404
2025-06-12 09:43:28 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:43:28 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:28 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:43:28 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:43:28 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:43:28 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:28 - [app] app - [DEBUG] DEBUG - Request: GET /printers
2025-06-12 09:43:28 - [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-12 09:43:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:29 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:29 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
2025-06-12 09:43:29 - [app] app - [DEBUG] DEBUG - Response: 404
2025-06-12 09:43:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-12 09:43:29 - [app] app - [INFO] INFO - ✅ API: 0 Drucker abgerufen
2025-06-12 09:43:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:43:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers/monitor/live-status
2025-06-12 09:43:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/session/status
2025-06-12 09:43:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-12 09:43:29 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:43:29 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 09:43:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:36 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:43:36 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 09:43:36 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 09:43:36 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:36 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:36 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 09:43:36 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 09:43:36 - [app] app - [DEBUG] DEBUG - Response: 200