🔧 Update: Enhance printer deletion API documentation and success messaging
**Änderungen:** - ✅ admin_unified.py: Aktualisierte Dokumentation der delete_printer_api-Funktion, um die Löschung von Druckern mit allen Abhängigkeiten zu verdeutlichen. - ✅ Erfolgsnachricht angepasst, um gelöschte Abhängigkeiten in der Rückgabe zu inkludieren. **Ergebnis:** - Verbesserte Klarheit und Nachvollziehbarkeit bei der Nutzung der API zur Drucker-Löschung. - Detailliertere Rückmeldungen für Benutzer über erfolgreich gelöschte Drucker und deren Abhängigkeiten. 🤖 Generated with [Claude Code](https://claude.ai/code)
This commit is contained in:
@ -33871,3 +33871,557 @@ NameError: name 'send_from_directory' is not defined
|
||||
2025-06-16 00:34:32 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:34:32 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
|
||||
2025-06-16 00:34:32 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:35:01 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:35:01 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:35:01 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:35:03 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
|
||||
2025-06-16 00:35:04 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
|
||||
2025-06-16 00:35:05 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
|
||||
2025-06-16 00:35:06 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
|
||||
2025-06-16 00:35:07 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:35:07 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:35:17 - [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-16 00:35: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-16 00:35:18 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
|
||||
2025-06-16 00:35:18 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:35:18 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
|
||||
2025-06-16 00:35:18 - [app] app - [INFO] INFO - Locating template 'errors/404.html':
|
||||
1: trying loader of application '__main__'
|
||||
class: jinja2.loaders.FileSystemLoader
|
||||
encoding: 'utf-8'
|
||||
followlinks: False
|
||||
searchpath:
|
||||
- /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/404.html')
|
||||
2025-06-16 00:35:18 - [app] app - [DEBUG] DEBUG - Response: 404
|
||||
2025-06-16 00:35:24 - [app] app - [DEBUG] DEBUG - Request: DELETE /api/admin/printers/7
|
||||
2025-06-16 00:35:24 - [app] app - [DEBUG] DEBUG - Response: 500
|
||||
2025-06-16 00:35:31 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:35:31 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:35:31 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:35:32 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:35:32 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:35:32 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:35:32 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
|
||||
2025-06-16 00:35:32 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:36:01 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:36:01 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:36:01 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:36:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:36:02 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:36:02 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:36:02 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
|
||||
2025-06-16 00:36:02 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:36:20 - [app] app - [INFO] INFO - [SHUTDOWN] 🧹 Cleanup wird ausgeführt...
|
||||
2025-06-16 00:36:20 - [app] app - [INFO] INFO - [SHUTDOWN] ✅ Queue Manager gestoppt
|
||||
2025-06-16 00:36:20 - [app] app - [ERROR] ERROR - [SHUTDOWN] ❌ Cleanup-Fehler: 'BackgroundTaskScheduler' object has no attribute 'shutdown'
|
||||
2025-06-16 00:36:21 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
|
||||
2025-06-16 00:36:22 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
|
||||
2025-06-16 00:36:36 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
|
||||
2025-06-16 00:36:37 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
|
||||
2025-06-16 00:36:38 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
|
||||
2025-06-16 00:36:39 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
|
||||
2025-06-16 00:36:40 - [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-16 00:36: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:
|
||||
- /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-16 00:36:40 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:36:40 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
|
||||
2025-06-16 00:36:40 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
|
||||
2025-06-16 00:36:40 - [app] app - [INFO] INFO - Locating template 'errors/404.html':
|
||||
1: trying loader of application '__main__'
|
||||
class: jinja2.loaders.FileSystemLoader
|
||||
encoding: 'utf-8'
|
||||
followlinks: False
|
||||
searchpath:
|
||||
- /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/404.html')
|
||||
2025-06-16 00:36:40 - [app] app - [DEBUG] DEBUG - Response: 404
|
||||
2025-06-16 00:36:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:36:41 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:36:41 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:36:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:36:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
|
||||
2025-06-16 00:36:41 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:36:41 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:36:41 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:36:42 - [app] app - [DEBUG] DEBUG - Request: GET /sw.js
|
||||
2025-06-16 00:36:42 - [app] app - [DEBUG] DEBUG - Response: 304
|
||||
2025-06-16 00:36:45 - [app] app - [DEBUG] DEBUG - Request: DELETE /api/admin/printers/7
|
||||
2025-06-16 00:36:45 - [app] app - [DEBUG] DEBUG - Response: 500
|
||||
2025-06-16 00:37:11 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:37:11 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:37:11 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:37:11 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:37:11 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
|
||||
2025-06-16 00:37:11 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:37:11 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:37:11 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:37:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:37:41 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:37:41 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:37:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
|
||||
2025-06-16 00:37:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:37:42 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:37:42 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:37:42 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:38:11 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:38:11 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:38:11 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:38:12 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:38:12 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
|
||||
2025-06-16 00:38:12 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:38:12 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:38:12 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:38:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:38:41 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:38:41 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:38:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:38:42 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:38:42 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:38:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
|
||||
2025-06-16 00:38:42 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:39:11 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:39:11 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:39:11 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:39:12 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:39:12 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:39:12 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:39:12 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
|
||||
2025-06-16 00:39:12 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:39:41 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:39:41 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:39:41 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:39:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:39:42 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
|
||||
2025-06-16 00:39:42 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:39:42 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:39:42 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:40:02 - [app] app - [INFO] INFO - [SHUTDOWN] 🧹 Cleanup wird ausgeführt...
|
||||
2025-06-16 00:40:02 - [app] app - [INFO] INFO - [SHUTDOWN] ✅ Queue Manager gestoppt
|
||||
2025-06-16 00:40:02 - [app] app - [ERROR] ERROR - [SHUTDOWN] ❌ Cleanup-Fehler: 'BackgroundTaskScheduler' object has no attribute 'shutdown'
|
||||
2025-06-16 00:40:03 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
|
||||
2025-06-16 00:40:04 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
|
||||
2025-06-16 00:40:39 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:40:39 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:40:53 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:40:53 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:40:58 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
|
||||
2025-06-16 00:40:59 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
|
||||
2025-06-16 00:41:00 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
|
||||
2025-06-16 00:41:01 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
|
||||
2025-06-16 00:41:02 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:41:02 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:41:03 - [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-16 00:41:03 - [app] app - [INFO] INFO - Locating template 'base.html':
|
||||
1: trying loader of application '__main__'
|
||||
class: jinja2.loaders.FileSystemLoader
|
||||
encoding: 'utf-8'
|
||||
followlinks: False
|
||||
searchpath:
|
||||
- /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-16 00:41:03 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:03 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
|
||||
2025-06-16 00:41:03 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
|
||||
2025-06-16 00:41:03 - [app] app - [INFO] INFO - Locating template 'errors/404.html':
|
||||
1: trying loader of application '__main__'
|
||||
class: jinja2.loaders.FileSystemLoader
|
||||
encoding: 'utf-8'
|
||||
followlinks: False
|
||||
searchpath:
|
||||
- /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/404.html')
|
||||
2025-06-16 00:41:03 - [app] app - [DEBUG] DEBUG - Response: 404
|
||||
2025-06-16 00:41:03 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:41:03 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:41:03 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:03 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:41:03 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
|
||||
2025-06-16 00:41:03 - [app] app - [INFO] INFO - ✅ API: 7 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:41:03 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:03 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:05 - [app] app - [DEBUG] DEBUG - Request: GET /sw.js
|
||||
2025-06-16 00:41:05 - [app] app - [DEBUG] DEBUG - Response: 304
|
||||
2025-06-16 00:41:08 - [app] app - [DEBUG] DEBUG - Request: DELETE /api/admin/printers/7
|
||||
2025-06-16 00:41:08 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:08 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
|
||||
2025-06-16 00:41:08 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
|
||||
2025-06-16 00:41:08 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:12 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
|
||||
2025-06-16 00:41:12 - [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-16 00:41:12 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:12 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
|
||||
2025-06-16 00:41:12 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
|
||||
2025-06-16 00:41:12 - [app] app - [DEBUG] DEBUG - Response: 404
|
||||
2025-06-16 00:41:12 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
|
||||
2025-06-16 00:41:12 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:14 - [app] app - [DEBUG] DEBUG - Request: GET /sw.js
|
||||
2025-06-16 00:41:14 - [app] app - [DEBUG] DEBUG - Response: 304
|
||||
2025-06-16 00:41:16 - [app] app - [DEBUG] DEBUG - Request: GET /calendar
|
||||
2025-06-16 00:41:16 - [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-16 00:41:16 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:16 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/events
|
||||
2025-06-16 00:41:16 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/statistics
|
||||
2025-06-16 00:41:16 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
|
||||
2025-06-16 00:41:16 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:16 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:18 - [app] app - [DEBUG] DEBUG - Request: GET /sw.js
|
||||
2025-06-16 00:41:18 - [app] app - [DEBUG] DEBUG - Response: 304
|
||||
2025-06-16 00:41:18 - [app] app - [INFO] INFO - Steckdosen-Status geloggt: Drucker 1, Status: unreachable, Quelle: system
|
||||
2025-06-16 00:41:18 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:18 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/statistics
|
||||
2025-06-16 00:41:18 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:19 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/events
|
||||
2025-06-16 00:41:19 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:19 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/statistics
|
||||
2025-06-16 00:41:19 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:21 - [app] app - [DEBUG] DEBUG - Request: GET /calendar
|
||||
2025-06-16 00:41:21 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:21 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
|
||||
2025-06-16 00:41:21 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
|
||||
2025-06-16 00:41:21 - [app] app - [DEBUG] DEBUG - Response: 404
|
||||
2025-06-16 00:41:24 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/events
|
||||
2025-06-16 00:41:24 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:24 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/statistics
|
||||
2025-06-16 00:41:24 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:25 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/events
|
||||
2025-06-16 00:41:25 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:25 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/statistics
|
||||
2025-06-16 00:41:25 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/events
|
||||
2025-06-16 00:41:29 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/statistics
|
||||
2025-06-16 00:41:29 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/events
|
||||
2025-06-16 00:41:29 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/statistics
|
||||
2025-06-16 00:41:29 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:35 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
|
||||
2025-06-16 00:41:35 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:35 - [app] app - [DEBUG] DEBUG - Request: GET /.well-known/appspecific/com.chrome.devtools.json
|
||||
2025-06-16 00:41:35 - [app] app - [INFO] INFO - Not Found (404): http://127.0.0.1:5000/.well-known/appspecific/com.chrome.devtools.json
|
||||
2025-06-16 00:41:35 - [app] app - [DEBUG] DEBUG - Response: 404
|
||||
2025-06-16 00:41:36 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
|
||||
2025-06-16 00:41:36 - [app] app - [DEBUG] DEBUG - Response: 200
|
||||
2025-06-16 00:41:37 - [app] app - [DEBUG] DEBUG - Request: GET /sw.js
|
||||
2025-06-16 00:41:37 - [app] app - [DEBUG] DEBUG - Response: 304
|
||||
|
Reference in New Issue
Block a user