Es scheint, dass Sie eine Reihe von Dateien und Verzeichnissen in Ihrem Backend-Projekt bearbeitet haben. Hier ist ein zusammenfassender Überblick über die Änderungen:

1. **Entfernung von 'node_modules'**: Es scheint, dass Sie den 'node_modules'-Ordner entfernt oder aktualisiert haben, da einige Dateien wie '.gitignore', 'package
This commit is contained in:
2025-06-19 22:13:49 +02:00
parent ce209804f0
commit a8f27179b5
13722 changed files with 7520 additions and 760089 deletions

View File

@ -49697,3 +49697,767 @@ WHERE users.id = ?
2025-06-19 21:00:19 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-19 21:00:19 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-19 21:47:13 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-19 21:47:14 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-19 21:47:14 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-19 21:47:14 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-19 21:47:14 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-19 21:47:14 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-19 21:47:14 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-19 21:47:14 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-19 21:47:14 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-19 21:47:14 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-19 21:47:14 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-19 21:47:14 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-19 21:47:14 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-19 21:47:14 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-19 21:47:14 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-19 21:47:15 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-19 21:47:16 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-19 21:47:16 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-19 21:47:16 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-19 21:47:16 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-19 21:47:16 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-19 21:47:16 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-19 21:47:16 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-19 21:47:16 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-19 21:47:16 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-19 21:47:16 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-19 21:47:16 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-19 21:47:16 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-19 21:47:16 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-19 21:47:16 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-19 21:47:16 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-19 21:47:16 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-19 21:47:16 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-19 21:47:17 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-19 21:47:17 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-19 21:47:17 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-19 21:47:17 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-19 21:47:17 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-19 21:47:17 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-19 21:47:17 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-19 21:47:17 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-19 21:47:17 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-19 21:47:17 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-19 21:47:17 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-19 21:47:17 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-19 21:47:17 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-19 21:47:17 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-19 21:47:17 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-19 21:47:17 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-19 21:47:17 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-19 21:47:17 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-19 21:47:18 - [app] app - [INFO] INFO - Locating template 'login.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/login.html')
2025-06-19 21:47:18 - [app] app - [INFO] INFO - Locating template 'base.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html')
2025-06-19 21:47:18 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:47:21 - [app] app - [DEBUG] DEBUG - Request: POST /auth/login
2025-06-19 21:47:21 - [app] app - [DEBUG] DEBUG - Response: 401
2025-06-19 21:47:28 - [app] app - [DEBUG] DEBUG - Request: POST /auth/login
2025-06-19 21:47:28 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:47:30 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-19 21:47:30 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-19 21:47:30 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-19 21:47:30 - [app] app - [INFO] INFO - Locating template 'dashboard.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/dashboard.html')
2025-06-19 21:47:30 - [app] app - [INFO] INFO - Locating template 'macros/ui_components.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/macros/ui_components.html')
2025-06-19 21:47:30 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:47:30 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:47:30 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:47:38 - [app] app - [DEBUG] DEBUG - Request: GET /admin/
2025-06-19 21:47:38 - [app] app - [INFO] INFO - Locating template 'admin_modern.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin_modern.html')
2025-06-19 21:47:38 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:47:38 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:47:38 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:48:08 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:48:08 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:48:14 - [app] app - [DEBUG] DEBUG - Request: GET /request
2025-06-19 21:48:14 - [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:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/guest_request.html')
2025-06-19 21:48:14 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:48:14 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:48:14 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:48:44 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:48:44 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:49:14 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:49:14 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:49:44 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:49:44 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:50:14 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:50:14 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:50:44 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:50:44 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:50:47 - [app] app - [DEBUG] DEBUG - Request: GET /admin/
2025-06-19 21:50:47 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:50:47 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:50:47 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:50:49 - [app] app - [DEBUG] DEBUG - Request: GET /admin/
2025-06-19 21:50:49 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:50:49 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:50:49 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:50:54 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-19 21:50:55 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-19 21:50:55 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-19 21:50:55 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-19 21:50:55 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-19 21:50:55 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-19 21:50:55 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-19 21:50:55 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-19 21:50:55 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-19 21:50:55 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-19 21:50:55 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-19 21:50:55 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-19 21:50:55 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-19 21:50:55 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-19 21:50:55 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-19 21:50:55 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-19 21:50:55 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-19 21:50:55 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-19 21:50:56 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-19 21:50:56 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-19 21:50:56 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-19 21:50:56 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-19 21:50:56 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-19 21:50:56 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-19 21:50:56 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-19 21:50:56 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-19 21:50:56 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-19 21:50:56 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-19 21:50:56 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-19 21:50:56 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-19 21:50:56 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-19 21:50:56 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-19 21:50:56 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-19 21:50:56 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-19 21:50:56 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-19 21:50:56 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-19 21:50:56 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-19 21:50:57 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-19 21:50:57 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-19 21:50:57 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-19 21:50:57 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-19 21:50:57 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-19 21:50:57 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-19 21:50:57 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-19 21:50:57 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-19 21:50:57 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-19 21:50:57 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-19 21:50:57 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-19 21:50:57 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-19 21:50:57 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-19 21:50:57 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-19 21:50:58 - [app] app - [INFO] INFO - Locating template 'admin.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html')
2025-06-19 21:50:58 - [app] app - [INFO] INFO - Locating template 'base.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html')
2025-06-19 21:50:58 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:50:58 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:50:58 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats
2025-06-19 21:50:58 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:50:58 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:50:58 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system/status
2025-06-19 21:50:59 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:02 - [app] app - [DEBUG] DEBUG - Request: GET /admin/guest-otps
2025-06-19 21:51:02 - [app] app - [INFO] INFO - Locating template 'admin_guest_otps.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin_guest_otps.html')
2025-06-19 21:51:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/guest-requests
2025-06-19 21:51:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/guest-requests/pending-otps
2025-06-19 21:51:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:51:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:16 - [app] app - [DEBUG] DEBUG - Request: GET /admin/guest-requests
2025-06-19 21:51:16 - [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:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin_guest_requests.html')
2025-06-19 21:51:16 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:16 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:51:16 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:16 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/guest-requests
2025-06-19 21:51:16 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:23 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/guest-requests
2025-06-19 21:51:23 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:27 - [app] app - [DEBUG] DEBUG - Request: GET /admin/
2025-06-19 21:51:27 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:27 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats
2025-06-19 21:51:27 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:51:27 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:27 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:27 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system/status
2025-06-19 21:51:28 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:29 - [app] app - [DEBUG] DEBUG - Request: GET /admin/users
2025-06-19 21:51:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:51:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats
2025-06-19 21:51:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system/status
2025-06-19 21:51:30 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:59 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 21:51:59 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/error-recovery/status
2025-06-19 21:51:59 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats
2025-06-19 21:51:59 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system/status
2025-06-19 21:51:59 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:51:59 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:52:00 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:52:00 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Textual SQL expression 'SELECT 1' should be explicitly declared as text('SELECT 1')
2025-06-19 21:52:00 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 21:52:08 - [app] app - [INFO] INFO - [SHUTDOWN] 🧹 Cleanup wird ausgeführt...
2025-06-19 21:52:08 - [app] app - [INFO] INFO - [SHUTDOWN] ✅ Queue Manager gestoppt
2025-06-19 21:52:08 - [app] app - [ERROR] ERROR - [SHUTDOWN] ❌ Cleanup-Fehler: 'BackgroundTaskScheduler' object has no attribute 'shutdown'
2025-06-19 21:52:09 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-19 21:52:10 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-19 21:52:10 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-19 21:52:10 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-19 21:52:10 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-19 21:52:10 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-19 21:52:10 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-19 21:52:10 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-19 21:52:10 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-19 21:52:10 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-19 21:52:10 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-19 21:52:10 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-19 21:52:10 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-19 21:52:10 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-19 21:52:10 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-19 22:01:53 - [app] app - [INFO] INFO - Locating template 'admin.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html')
2025-06-19 22:01:53 - [app] app - [INFO] INFO - Locating template 'base.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html')
2025-06-19 22:01:53 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:01:53 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 22:01:53 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/live-stats
2025-06-19 22:01:53 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:01:53 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:01:53 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system/status
2025-06-19 22:01:54 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:01:56 - [app] app - [DEBUG] DEBUG - Request: GET /admin/printers
2025-06-19 22:01:56 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:01:56 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 22:01:56 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:01:56 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/live-stats
2025-06-19 22:01:56 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:01:56 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system/status
2025-06-19 22:01:57 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:04:14 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-19 22:04:15 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-19 22:04:15 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-19 22:04:15 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-19 22:04:15 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-19 22:04:15 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-19 22:04:15 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-19 22:04:15 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-19 22:04:15 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-19 22:04:15 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-19 22:04:15 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-19 22:04:57 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-19 22:04:58 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-19 22:04:58 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-19 22:04:58 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-19 22:04:58 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-19 22:04:58 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-19 22:04:58 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-19 22:04:58 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-19 22:04:58 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-19 22:04:58 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-19 22:04:58 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-19 22:04:58 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-19 22:04:58 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-19 22:04:58 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-19 22:04:58 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-19 22:04:58 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-19 22:04:58 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-19 22:04:58 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-19 22:04:59 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-19 22:04:59 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-19 22:04:59 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-19 22:04:59 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-19 22:04:59 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-19 22:04:59 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-19 22:04:59 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-19 22:04:59 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-19 22:04:59 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-19 22:04:59 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-19 22:04:59 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-19 22:04:59 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-19 22:04:59 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-19 22:04:59 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-19 22:04:59 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-19 22:04:59 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-19 22:04:59 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-19 22:04:59 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-19 22:04:59 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-19 22:05:00 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-19 22:05:00 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-19 22:05:00 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-19 22:05:00 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-19 22:05:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-19 22:05:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-19 22:05:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-19 22:05:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-19 22:05:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-19 22:05:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-19 22:05:00 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-19 22:05:00 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-19 22:05:00 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-19 22:05:00 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-19 22:05:01 - [app] app - [INFO] INFO - Locating template 'admin.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin.html')
2025-06-19 22:05:01 - [app] app - [INFO] INFO - Locating template 'base.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html')
2025-06-19 22:05:01 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:05:01 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 22:05:01 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/live-stats
2025-06-19 22:05:01 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:05:01 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:05:01 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system/status
2025-06-19 22:05:02 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:05:06 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-19 22:05:06 - [app] app - [INFO] INFO - Locating template 'dashboard.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/dashboard.html')
2025-06-19 22:05:06 - [app] app - [INFO] INFO - Locating template 'macros/ui_components.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/macros/ui_components.html')
2025-06-19 22:05:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:05:06 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 22:05:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:05:08 - [app] app - [DEBUG] DEBUG - Request: GET /printers
2025-06-19 22:05:10 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system
2025-06-19 22:05:10 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 1 -> disconnected
2025-06-19 22:05:12 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system
2025-06-19 22:05:12 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 2 -> disconnected
2025-06-19 22:05:14 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system
2025-06-19 22:05:14 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 3 -> disconnected
2025-06-19 22:05:16 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system
2025-06-19 22:05:16 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 4 -> disconnected
2025-06-19 22:05:19 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 5, Status: disconnected, Quelle: system
2025-06-19 22:05:19 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 5 -> disconnected
2025-06-19 22:05:21 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 6, Status: disconnected, Quelle: system
2025-06-19 22:05:21 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker 6 -> disconnected
2025-06-19 22:05:21 - [app] app - [DEBUG] DEBUG - ✅ Status-Updates für 6 Drucker erfolgreich gespeichert
2025-06-19 22:05:21 - [app] app - [INFO] INFO - Locating template 'printers.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/printers.html')
2025-06-19 22:05:21 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:05:21 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 22:05:21 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:05:37 - [app] app - [DEBUG] DEBUG - Request: GET /energy/
2025-06-19 22:05:49 - [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:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> no match
Error: the template could not be found.
The template was looked up from an endpoint that belongs to the blueprint 'energy'.
Maybe you did not place a template in the right folder?
See https://flask.palletsprojects.com/blueprints/#templates
2025-06-19 22:05:49 - [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:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> no match
Error: the template could not be found.
The template was looked up from an endpoint that belongs to the blueprint 'energy'.
Maybe you did not place a template in the right folder?
See https://flask.palletsprojects.com/blueprints/#templates
2025-06-19 22:05:49 - [app] app - [ERROR] ERROR - Unhandled Exception - ID: 20250619_220549
2025-06-19 22:05:49 - [app] app - [ERROR] ERROR - URL: http://127.0.0.1:5000/energy/
2025-06-19 22:05:49 - [app] app - [ERROR] ERROR - Method: GET
2025-06-19 22:05:49 - [app] app - [ERROR] ERROR - User: admin
2025-06-19 22:05:49 - [app] app - [ERROR] ERROR - Exception Type: TemplateNotFound
2025-06-19 22:05:49 - [app] app - [ERROR] ERROR - Exception: energy_dashboard.html
2025-06-19 22:05:49 - [app] app - [ERROR] ERROR - Traceback: Traceback (most recent call last):
File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/energy_monitoring.py", line 50, in energy_dashboard
return render_template(
^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 151, in render_template
template = app.jinja_env.get_or_select_template(template_name_or_list)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1081, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1010, in get_template
return self._load_template(name, globals)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 969, in _load_template
template = self.loader.load(self, name, self.make_globals(globals))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/jinja2/loaders.py", line 126, in load
source, filename, uptodate = self.get_source(environment, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 64, in get_source
return self._get_source_explained(environment, template)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 89, in _get_source_explained
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: energy_dashboard.html
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 867, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/flask/app.py", line 852, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/flask_login/utils.py", line 290, in decorated_view
return current_app.ensure_sync(func)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/blueprints/energy_monitoring.py", line 59, in energy_dashboard
return render_template(
^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 151, in render_template
template = app.jinja_env.get_or_select_template(template_name_or_list)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1081, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 1010, in get_template
return self._load_template(name, globals)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/jinja2/environment.py", line 969, in _load_template
template = self.loader.load(self, name, self.make_globals(globals))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/jinja2/loaders.py", line 126, in load
source, filename, uptodate = self.get_source(environment, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 64, in get_source
return self._get_source_explained(environment, template)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/core/.local/lib/python3.11/site-packages/flask/templating.py", line 89, in _get_source_explained
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: energy_dashboard.html
2025-06-19 22:05:49 - [app] app - [INFO] INFO - Locating template 'errors/500.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/errors/500.html')
2025-06-19 22:05:49 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-19 22:05:49 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 22:05:49 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:06:19 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 22:06:19 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:06:49 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 22:06:49 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:07:19 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 22:07:19 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:07:49 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 22:07:49 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:08:19 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 22:08:19 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:08:31 - [app] app - [INFO] INFO - [SHUTDOWN] 🧹 Cleanup wird ausgeführt...
2025-06-19 22:08:31 - [app] app - [INFO] INFO - [SHUTDOWN] ✅ Queue Manager gestoppt
2025-06-19 22:08:31 - [app] app - [ERROR] ERROR - [SHUTDOWN] ❌ Cleanup-Fehler: 'BackgroundTaskScheduler' object has no attribute 'shutdown'
2025-06-19 22:08:32 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-19 22:08:33 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-19 22:08:33 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-19 22:08:33 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-19 22:08:33 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-19 22:08:33 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-19 22:08:33 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-19 22:08:33 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-19 22:08:33 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-19 22:08:33 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-19 22:08:33 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-19 22:08:33 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-19 22:08:33 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-19 22:08:33 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-19 22:08:33 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-19 22:09:25 - [app] app - [INFO] INFO - [SHUTDOWN] 🧹 Cleanup wird ausgeführt...
2025-06-19 22:09:25 - [app] app - [INFO] INFO - [SHUTDOWN] ✅ Queue Manager gestoppt
2025-06-19 22:09:25 - [app] app - [ERROR] ERROR - [SHUTDOWN] ❌ Cleanup-Fehler: 'BackgroundTaskScheduler' object has no attribute 'shutdown'
2025-06-19 22:09:26 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-19 22:09:27 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-19 22:09:27 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-19 22:09:27 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-19 22:09:27 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-19 22:09:27 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-19 22:09:27 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-19 22:09:27 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-19 22:09:27 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-19 22:09:27 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-19 22:09:27 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-19 22:09:27 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-19 22:09:27 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-19 22:09:27 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-19 22:09:27 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-19 22:09:35 - [app] app - [INFO] INFO - Locating template 'calendar.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/calendar.html')
2025-06-19 22:09: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:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/base.html')
2025-06-19 22:09:35 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:09:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/events
2025-06-19 22:09:35 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:09:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/statistics
2025-06-19 22:09:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-19 22:09:35 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:09:35 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:09:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/statistics
2025-06-19 22:09:35 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:09:45 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/events
2025-06-19 22:09:45 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:09:45 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/statistics
2025-06-19 22:09:45 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-19 22:10:29 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-19 22:10:30 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-19 22:10:30 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-19 22:10:30 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-19 22:10:30 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-19 22:10:30 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-19 22:10:30 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-19 22:10:30 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-19 22:10:30 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-19 22:10:30 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-19 22:10:30 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert