Die Dateien, die hinzugefügt wurden, sind Teil des Backend-Projekts und befinden sich in verschiedenen Log- und Konfigurationsverzeichnissen. Hier ist eine Aufschlüsselung der hinzugefügten Dateien:

This commit is contained in:
2025-06-12 09:35:52 +02:00
parent 09140168a7
commit f9aec04237
497 changed files with 1246 additions and 3 deletions

View File

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