📚 Improved backend codebase structure & documentation (#123) 🌟
This commit is contained in:
@ -64960,3 +64960,296 @@ WHERE users.role = ?]
|
||||
2025-06-20 12:16:57 - [app] app - [INFO] INFO - [SHUTDOWN] 🧹 Cleanup wird ausgeführt...
|
||||
2025-06-20 12:16:57 - [app] app - [INFO] INFO - [SHUTDOWN] ✅ Queue Manager gestoppt
|
||||
2025-06-20 12:16:57 - [app] app - [ERROR] ERROR - [SHUTDOWN] ❌ Cleanup-Fehler:
|
||||
2025-06-20 12:16:59 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: database/myp.db
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: erstellt, aktualisiert
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [STARTUP] 🏢
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
|
||||
2025-06-20 12:17:00 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Steckdosen (alle auf 'aus' = frei)...
|
||||
2025-06-20 12:17:18 - [app] app - [WARNING] WARNING - [STARTUP] ⚠️ Keine der 6 Steckdosen konnte initialisiert werden
|
||||
2025-06-20 12:17:18 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://:
|
||||
2025-06-20 12:17:40 - [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-20 12:17:40 - [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-20 12:17:40 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:17:43 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:17:43 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:17:43 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:17:43 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:17:48 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:17:48 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:17:48 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:17:48 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:18:14 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:18:14 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:18:14 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:18:14 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:18:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:18:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:18:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:18:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:19:14 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:19:14 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:19:14 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:19:14 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:19:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:19:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:19:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:19:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:20:14 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:20:14 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:20:14 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:20:14 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:20:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:20:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:20:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:20:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:21:14 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:21:14 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:21:14 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:21:14 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:21:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:21:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:21:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:21:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:22:14 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:22:14 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:22:14 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:22:14 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:22:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:22:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:22:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:22:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:22:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:22:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:22:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:22:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:22:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:22:44 - [app] app - [ERROR] ERROR - ❌ Fehler beim Laden des Dashboards: type object 'Job' has no attribute 'updated_at'
|
||||
Traceback (most recent call last):
|
||||
File "C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\app.py", line 1039, in dashboard
|
||||
).order_by(Job.updated_at.desc()).limit(5).all()
|
||||
^^^^^^^^^^^^^^
|
||||
AttributeError: type object 'Job' has no attribute 'updated_at'. Did you mean: 'created_at'?
|
||||
2025-06-20 12:22:44 - [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-20 12:22:44 - [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:
|
||||
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
|
||||
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\macros\\ui_components.html')
|
||||
2025-06-20 12:22:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:23:14 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:23:14 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:23:14 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:23:14 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:23:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:23:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:23:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:23:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:24:14 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:24:14 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:24:14 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:24:14 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:24:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:24:44 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:24:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:24:44 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:24:50 - [app] app - [INFO] INFO - [SHUTDOWN] 🧹 Cleanup wird ausgeführt...
|
||||
2025-06-20 12:24:50 - [app] app - [INFO] INFO - [SHUTDOWN] ✅ Queue Manager gestoppt
|
||||
2025-06-20 12:24:50 - [app] app - [ERROR] ERROR - [SHUTDOWN] ❌ Cleanup-Fehler:
|
||||
2025-06-20 12:24:51 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: database/myp.db
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: erstellt, aktualisiert
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - [STARTUP] 🏢
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
|
||||
2025-06-20 12:24:52 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
|
||||
2025-06-20 12:24:53 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Steckdosen (alle auf 'aus' = frei)...
|
||||
2025-06-20 12:25:14 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: database/myp.db
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: erstellt, aktualisiert
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - [STARTUP] 🏢
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
|
||||
2025-06-20 12:25:15 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
|
||||
2025-06-20 12:25:16 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Steckdosen (alle auf 'aus' = frei)...
|
||||
2025-06-20 12:25:34 - [app] app - [WARNING] WARNING - [STARTUP] ⚠️ Keine der 6 Steckdosen konnte initialisiert werden
|
||||
2025-06-20 12:25:34 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://:
|
||||
2025-06-20 12:25:35 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: database/myp.db
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung:
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [CONFIG] Production-Modus:
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Konfiguration aktiviert
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment:
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode:
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo:
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: erstellt, aktualisiert
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP -Umgebung
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [STARTUP] 🏢
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped:
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
|
||||
2025-06-20 12:25:36 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Steckdosen (alle auf 'aus' = frei)...
|
||||
2025-06-20 12:25:54 - [app] app - [WARNING] WARNING - [STARTUP] ⚠️ Keine der 6 Steckdosen konnte initialisiert werden
|
||||
2025-06-20 12:25:54 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://:
|
||||
2025-06-20 12:25:54 - [app] app - [INFO] INFO - ✅ Dashboard geladen für Administrator: 3 aktive Jobs, 0 verfügbare Drucker
|
||||
2025-06-20 12:25:54 - [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-20 12:25:54 - [app] app - [INFO] INFO - Locating template 'base.html':
|
||||
1: trying loader of application '__main__'
|
||||
class: jinja2.loaders.FileSystemLoader
|
||||
encoding: 'utf-8'
|
||||
followlinks: False
|
||||
searchpath:
|
||||
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
|
||||
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\base.html')
|
||||
2025-06-20 12:25:54 - [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:
|
||||
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
|
||||
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\macros\\ui_components.html')
|
||||
2025-06-20 12:25:54 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:25:55 - [app] app - [DEBUG] DEBUG - Request:
|
||||
2025-06-20 12:25:55 - [app] app - [DEBUG] DEBUG - Response:
|
||||
2025-06-20 12:25:59 - [app] app - [INFO] INFO - [SHUTDOWN] 🧹 Cleanup wird ausgeführt...
|
||||
2025-06-20 12:25:59 - [app] app - [INFO] INFO - [SHUTDOWN] ✅ Queue Manager gestoppt
|
||||
2025-06-20 12:25:59 - [app] app - [ERROR] ERROR - [SHUTDOWN] ❌ Cleanup-Fehler:
|
||||
|
Reference in New Issue
Block a user