🗂️ Vollständiger System-Snapshot mit allen Logs und Session-Daten

 Alle Log-Dateien aktualisiert (Admin, API, App, Security, etc.)
•  Session-Management-Dateien (.pkl) hinzugefügt
•  Datenbank-Updates (backend/database/myp.db)
•  Python Bytecode-Cache aktualisiert
•  Kompletter Arbeitsstand für granulare Benutzerverwaltung

Vollständiger Snapshot des Systems nach Implementierung der
Benutzerverwaltungsfunktionen.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-06-20 00:29:18 +02:00
parent 74a745af8f
commit c83552dd9d
70 changed files with 236 additions and 0 deletions

View File

@ -54419,3 +54419,169 @@ WHERE users.role = ?]
2025-06-20 00:26:55 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
2025-06-20 00:26:55 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
2025-06-20 00:26:55 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
2025-06-20 00:28:21 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-20 00:28:43 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
2025-06-20 00:28:44 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-20 00:28:44 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: erstellt, aktualisiert
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [STARTUP] 🏢
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-20 00:28:44 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-20 00:28:44 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-20 00:28:44 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-20 00:28:44 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-20 00:28:44 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-20 00:28:44 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-20 00:28:44 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-20 00:28:44 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-20 00:28:44 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-20 00:28:44 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-20 00:28:44 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-20 00:28:44 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://:
2025-06-20 00:28:45 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: backend/database/myp.db
2025-06-20 00:28:45 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
2025-06-20 00:28:45 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
2025-06-20 00:28:45 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-20 00:28:45 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-20 00:28:45 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
2025-06-20 00:28:45 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
2025-06-20 00:28:45 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
2025-06-20 00:28:45 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
2025-06-20 00:28:45 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-20 00:28:45 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: erstellt, aktualisiert
2025-06-20 00:28:45 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
2025-06-20 00:28:45 - [app] app - [INFO] INFO - [STARTUP] 🏢
2025-06-20 00:28:45 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
2025-06-20 00:28:45 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-20 00:28:45 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-20 00:28:45 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-20 00:28:45 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-20 00:28:46 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-20 00:28:46 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-20 00:28:46 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-20 00:28:46 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-20 00:28:46 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-20 00:28:46 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-20 00:28:46 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-20 00:28:46 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-20 00:28:46 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-20 00:28:46 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-20 00:28:46 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-20 00:28:46 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-20 00:28:46 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-20 00:28:46 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-20 00:28:46 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-20 00:28:46 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-20 00:28:46 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-20 00:28:46 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://:
2025-06-20 00:28:47 - [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-20 00:28:47 - [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-20 00:28:47 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:47 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:47 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:47 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:47 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:47 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:48 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:51 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:51 - [app] app - [INFO] INFO - Locating template 'stats.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/stats.html')
2025-06-20 00:28:52 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:52 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:52 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:52 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:52 - [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-20 00:28:52 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:53 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:53 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:53 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:53 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:53 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:53 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:53 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:53 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:54 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:54 - [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
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/energy_dashboard.html')
2025-06-20 00:28:54 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:54 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:54 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:54 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:54 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:55 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:55 - [app] app - [INFO] INFO - Locating template 'jobs.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/jobs.html')
2025-06-20 00:28:55 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:55 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:55 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:55 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:55 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:55 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:55 - [app] app - [INFO] INFO - ✅ API: Drucker abgerufen (include_inactive=)
2025-06-20 00:28:55 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 00:28:56 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 00:28:58 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 1, Status: disconnected, Quelle: system
2025-06-20 00:28:58 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 00:29:00 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 2, Status: disconnected, Quelle: system
2025-06-20 00:29:00 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 00:29:02 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 3, Status: disconnected, Quelle: system
2025-06-20 00:29:02 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->
2025-06-20 00:29:04 - [app] app - [INFO] INFO - ✅ Steckdosen-Status geloggt: Drucker 4, Status: disconnected, Quelle: system
2025-06-20 00:29:04 - [app] app - [DEBUG] DEBUG - 📊 Auto-Status protokolliert: Drucker ->