Die Dateien, die in diesem Commit geändert wurden, sind:

This commit is contained in:
2025-06-18 06:42:21 +02:00
parent d02cbccf2e
commit a44b1da2e6
269 changed files with 1258 additions and 3 deletions

View File

@ -41550,3 +41550,580 @@ WHERE users.id = ?
2025-06-16 18:04:07 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-16 18:04:07 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-16 18:04:07 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-17 13:58:25 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-17 13:58:27 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-17 13:58:27 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-17 13:58:27 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-17 13:58:27 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-17 13:58:27 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-17 13:58:27 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-17 13:58:27 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-17 13:58:27 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-17 13:58:28 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-17 13:58:28 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-17 13:58:28 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-17 13:58:28 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-17 13:58:28 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-17 13:58:28 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-17 13:58:28 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-17 13:58:28 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-17 13:58:28 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-17 13:58:28 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-17 13:58:28 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-17 13:58:28 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-17 13:58:28 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-17 13:58:28 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-17 13:58:28 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-17 13:58:28 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-17 13:58:28 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-17 13:58:28 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-17 13:58:28 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-17 13:58:28 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-17 13:58:28 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-17 13:58:28 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-17 13:58:28 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-17 13:58:28 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-17 13:58:28 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-17 13:58:28 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-17 13:58:28 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-17 13:58:29 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-17 13:58:31 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-17 13:58:31 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-17 13:58:31 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-17 13:58:31 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-17 13:58:31 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-17 13:58:31 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-17 13:58:31 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-17 13:58:31 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-17 13:58:31 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-17 13:58:31 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-17 13:58:31 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-17 13:58:31 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-17 13:58:31 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-17 13:58:31 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-17 13:58:31 - [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-17 13:58:31 - [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-17 13:58:31 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:58:36 - [app] app - [DEBUG] DEBUG - Request: POST /auth/login
2025-06-17 13:58:36 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:58:37 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-17 13:58:37 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 13:58:37 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-17 13:58: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-17 13:58:37 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:58:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 13:58:38 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:00 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-17 13:59:00 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:00 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 13:59:00 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:02 - [app] app - [DEBUG] DEBUG - Request: GET /printers
2025-06-17 13:59:02 - [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-17 13:59:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:03 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 13:59:03 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 13:59:03 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:03 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 13:59:03 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 13:59:03 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:03 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 13:59:03 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:05 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 13:59:05 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 13:59:05 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:13 - [app] app - [DEBUG] DEBUG - Request: GET /admin/
2025-06-17 13:59:13 - [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-17 13:59:13 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:13 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 13:59:13 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats
2025-06-17 13:59:13 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:13 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:13 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system/status
2025-06-17 13:59:14 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:16 - [app] app - [DEBUG] DEBUG - Request: GET /admin/tapo-monitoring
2025-06-17 13:59:21 - [app] app - [INFO] INFO - Locating template 'admin_tapo_monitoring.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\admin_tapo_monitoring.html')
2025-06-17 13:59:21 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 13:59:21 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:38 - [app] app - [DEBUG] DEBUG - Request: POST /api/admin/tapo/bulk-control
2025-06-17 13:59:38 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (sqlite3.IntegrityError) NOT NULL constraint failed: plug_status_logs.printer_id
[SQL: INSERT INTO plug_status_logs (printer_id, status, timestamp, ip_address, power_consumption, voltage, current, source, user_id, notes, response_time_ms, error_message, firmware_version) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
[parameters: (None, 'on', '2025-06-17 13:59:38.725912', '192.168.0.102', None, None, None, 'system', None, None, 226, None, None)]
(Background on this error at: https://sqlalche.me/e/20/gkpj) (Background on this error at: https://sqlalche.me/e/20/7s2a)
2025-06-17 13:59:38 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 13:59:42 - [app] app - [DEBUG] DEBUG - Request: GET /admin/tapo-monitoring
2025-06-17 13:59:48 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 13:59:48 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 13:59:48 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:00:00 - [app] app - [DEBUG] DEBUG - Request: GET /printers
2025-06-17 14:00:00 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:00:00 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:00:00 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:00:00 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:00:00 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:00:00 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 14:00:00 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:00:00 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:00:00 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:00:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:00:02 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:00:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:00:08 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/1/connect
2025-06-17 14:00:08 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:00:09 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/1/connect
2025-06-17 14:00:09 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:00:10 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/1/connect
2025-06-17 14:00:10 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:00:10 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/1/connect
2025-06-17 14:00:10 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:00:11 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/1/connect
2025-06-17 14:00:11 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:01:03 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-17 14:01:04 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-17 14:01:04 - [app] app - [WARNING] WARNING - Fehler beim Korrigieren der Admin-Berechtigungen: (sqlite3.OperationalError) no such table: users
[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.role = ?]
[parameters: ('admin',)]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-17 14:01:04 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-17 14:01:04 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) wurde angelegt.
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-17 14:01:04 - [app] app - [INFO] INFO - Drucker erstellt: Drucker 1 (192.168.0.100)
2025-06-17 14:01:04 - [app] app - [INFO] INFO - Drucker erstellt: Drucker 2 (192.168.0.101)
2025-06-17 14:01:04 - [app] app - [INFO] INFO - Drucker erstellt: Drucker 3 (192.168.0.102)
2025-06-17 14:01:04 - [app] app - [INFO] INFO - Drucker erstellt: Drucker 4 (192.168.0.103)
2025-06-17 14:01:04 - [app] app - [INFO] INFO - Drucker erstellt: Drucker 5 (192.168.0.104)
2025-06-17 14:01:04 - [app] app - [INFO] INFO - Drucker erstellt: Drucker 6 (192.168.0.106)
2025-06-17 14:01:04 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 6 erstellt, 0 aktualisiert
2025-06-17 14:01:04 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-17 14:01:04 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-17 14:01:04 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-17 14:01:06 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-17 14:01:07 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-17 14:01:07 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-17 14:01:07 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-17 14:01:07 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-17 14:01:07 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-17 14:01:07 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-17 14:01:07 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-17 14:01:07 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-17 14:01:07 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-17 14:01:07 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 1 erstellt, 0 aktualisiert
2025-06-17 14:01:07 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-17 14:01:07 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-17 14:01:07 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-17 14:01:07 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-17 14:01:07 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-17 14:01:07 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-17 14:01:07 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-17 14:01:08 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-17 14:01:08 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-17 14:01:08 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-17 14:01:08 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-17 14:01:08 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-17 14:01:08 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-17 14:01:08 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-17 14:01:08 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-17 14:01:08 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-17 14:01:08 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-17 14:01:08 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-17 14:01:08 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-17 14:01:08 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-17 14:01:08 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-17 14:01:08 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-17 14:01:08 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-17 14:01:08 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-17 14:01:08 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-17 14:01:09 - [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-17 14:01:09 - [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-17 14:01:09 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:09 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: tuple index out of range
2025-06-17 14:01:10 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:01:10 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:01:10 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:10 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:01:10 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 14:01:10 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:10 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:01:10 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:16 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:01:16 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:01:16 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:17 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:01:17 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:01:17 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:17 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:01:17 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:01:17 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:17 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:01:17 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:01:17 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:18 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:01:18 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:01:18 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:33 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:33 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:33 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:33 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:36 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: tuple index out of range
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-17 14:01:36 - [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-17 14:01:36 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:36 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: tuple index out of range
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-17 14:01:36 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:37 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: tuple index out of range
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-17 14:01:37 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:39 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:39 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:39 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:39 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:39 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-17 14:01:39 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:39 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-17 14:01:39 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:39 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-17 14:01:39 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:01:40 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 14:01:40 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: tuple index out of range
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:40 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:40 - [app] app - [DEBUG] DEBUG - Response: 400
2025-06-17 14:01:46 - [app] app - [DEBUG] DEBUG - Request: GET /admin/
2025-06-17 14:01:46 - [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-17 14:01:46 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:46 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 14:01:46 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats
2025-06-17 14:01:46 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:46 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:46 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system/status
2025-06-17 14:01:47 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:48 - [app] app - [DEBUG] DEBUG - Request: GET /admin/tapo-monitoring
2025-06-17 14:01:51 - [app] app - [INFO] INFO - Locating template 'admin_tapo_monitoring.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\admin_tapo_monitoring.html')
2025-06-17 14:01:51 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:51 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 14:01:51 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:58 - [app] app - [DEBUG] DEBUG - Request: GET /energy/
2025-06-17 14:01:58 - [app] app - [INFO] INFO - Locating template 'energy_dashboard.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\energy_dashboard.html')
2025-06-17 14:01:58 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:58 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/dashboard
2025-06-17 14:01:58 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 14:01:58 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/statistics
2025-06-17 14:01:58 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/live
2025-06-17 14:01:58 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:58 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:58 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:01:58 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:00 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/dashboard
2025-06-17 14:02:00 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/statistics
2025-06-17 14:02:00 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/live
2025-06-17 14:02:00 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:00 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:00 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:01 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/dashboard
2025-06-17 14:02:01 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/statistics
2025-06-17 14:02:01 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/live
2025-06-17 14:02:01 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:01 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:01 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/dashboard
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/statistics
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/live
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/dashboard
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/statistics
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/live
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/dashboard
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/statistics
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/live
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:06 - [app] app - [DEBUG] DEBUG - Request: GET /admin/
2025-06-17 14:02:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:06 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 14:02:06 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats
2025-06-17 14:02:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:06 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system/status
2025-06-17 14:02:07 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:11 - [app] app - [DEBUG] DEBUG - Request: GET /admin/printers
2025-06-17 14:02:11 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:11 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 14:02:11 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats
2025-06-17 14:02:11 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:11 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:11 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system/status
2025-06-17 14:02:12 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:18 - [app] app - [DEBUG] DEBUG - Request: POST /api/admin/printers/4/toggle
2025-06-17 14:02:18 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:02:22 - [app] app - [DEBUG] DEBUG - Request: POST /api/admin/printers/1/toggle
2025-06-17 14:02:22 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:02:25 - [app] app - [DEBUG] DEBUG - Request: POST /api/admin/printers/3/toggle
2025-06-17 14:02:25 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:02:33 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system/status
2025-06-17 14:02:34 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/error-recovery/status
2025-06-17 14:02:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 14:02:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats
2025-06-17 14:02:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system/status
2025-06-17 14:02:41 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:41 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:42 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Textual SQL expression 'SELECT 1' should be explicitly declared as text('SELECT 1')
2025-06-17 14:02:42 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:42 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:47 - [app] app - [DEBUG] DEBUG - Request: GET /request
2025-06-17 14:02:47 - [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-17 14:02:47 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:47 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 14:02:47 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:53 - [app] app - [DEBUG] DEBUG - Request: GET /printers
2025-06-17 14:02:53 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:53 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:02:53 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:02:53 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:53 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:02:53 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 14:02:53 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:53 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:02:53 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:02:56 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-17 14:02:56 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-17 14:02:56 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:03:00 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/2/connect
2025-06-17 14:03:00 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:03:01 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/2/connect
2025-06-17 14:03:01 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:03:01 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/2/connect
2025-06-17 14:03:01 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:03:01 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/2/connect
2025-06-17 14:03:01 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:03:01 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/2/connect
2025-06-17 14:03:01 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:03:01 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/2/connect
2025-06-17 14:03:01 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:03:01 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/2/connect
2025-06-17 14:03:01 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:03:02 - [app] app - [DEBUG] DEBUG - Request: POST /api/printers/2/connect
2025-06-17 14:03:02 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-17 14:03:03 - [app] app - [DEBUG] DEBUG - Request: GET /admin/
2025-06-17 14:03:03 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:03:03 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-17 14:03:03 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats
2025-06-17 14:03:03 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:03:03 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-17 14:03:03 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system/status
2025-06-17 14:03:04 - [app] app - [DEBUG] DEBUG - Response: 200