 VERIFICA SISTEMA: • Log backend: tail -f /var/log/ids/backend.log • Log frontend: tail -f /var/log/ids/frontend.log • API backend: curl http://localhost:8000/health • Frontend: curl http://localhost:5000  STATO SERVIZI: ids 5038 0.2 2.0 1894024 331912 ? Sl 09:20 1:10 /usr/bin/python3.11 main.py root 10798 0.0 0.1 730192 31688 pts/2 Rl+ 17:01 0:00 /usr/bin/node /usr/bin/npm run dev [root@ids ids]# sudo -u ids /opt/ids/deployment/restart_all.sh pkill: killing pid 10842 failed: Operation not permitted pkill: killing pid 10798 failed: Operation not permitted [root@ids ids]# curl http://localhost:5000/api/stats curl http://localhost:5000/api/routers curl http://localhost:5000/api/detections {"error":"Failed to fetch stats"}{"error":"Failed to fetch routers"}{"error":"Failed to fetch detections"}[root@ids ids]# [root@ids ids]# tail -50 /var/log/ids/frontend.log > NODE_ENV=development tsx server/index.ts 5:00:00 PM [express] serving on port 5000 A PostCSS plugin did not pass the `from` option to `postcss.parse`. This may cause imported assets to be incorrectly transformed. If you've recently added a PostCSS plugin that raised this warning, please contact the package author to fix the issue. 5:00:03 PM [express] GET /api/training-history 500 in 70ms :: {"error":"Failed to fetch training his… 5:00:03 PM [express] GET /api/ml/stats 304 in 70ms :: {"logs":{"total":0,"last_hour":0},"detections"… 5:00:13 PM [express] GET /api/training-history 500 in 5ms :: {"error":"Failed to fetch training hist… 5:00:13 PM [express] GET /api/ml/stats 304 in 17ms :: {"logs":{"total":0,"last_hour":0},"detections"… 5:00:18 PM [express] GET /api/stats 500 in 6ms :: {"error":"Failed to fetch stats"} 5:00:23 PM [express] GET /api/training-history 500 in 6ms :: {"error":"Failed to fetch training hist… 5:00:23 PM [express] GET /api/ml/stats 304 in 18ms :: {"logs":{"total":0,"last_hour":0},"detections"… 5:00:26 PM [express] GET /api/routers 500 in 5ms :: {"error":"Failed to fetch routers"} 5:00:33 PM [express] GET /api/training-history 500 in 5ms :: {"error":"Failed to fetch training hist… 5:00:33 PM [express] GET /api/ml/stats 304 in 17ms :: {"logs":{"total":0,"last_hour":0},"detections"… 5:00:35 PM [express] GET /api/detections 500 in 5ms :: {"error":"Failed to fetch detections"} 5:00:43 PM [express] GET /api/training-history 500 in 5ms :: {"error":"Failed to fetch training hist… 5:00:43 PM [express] GET /api/ml/stats 304 in 17ms :: {"logs":{"total":0,"last_hour":0},"detections"… 5:00:53 PM [express] GET /api/training-history 500 in 5ms :: {"error":"Failed to fetch training hist… 5:00:53 PM [express] GET /api/ml/stats 304 in 16ms :: {"logs":{"total":0,"last_hour":0},"detections"… [Fri Nov 21 17:01:08 CET 2025] Frontend Node NON attivo, riavvio... [Fri Nov 21 17:01:10 CET 2025] Frontend riavviato con PID: 10798 > rest-express@1.0.0 dev > NODE_ENV=development tsx server/index.ts 5:01:12 PM [express] serving on port 5000 A PostCSS plugin did not pass the `from` option to `postcss.parse`. This may cause imported assets to be incorrectly transformed. If you've recently added a PostCSS plugin that raised this warning, please contact the package author to fix the issue. 5:01:15 PM [express] GET /api/training-history 500 in 64ms :: {"error":"Failed to fetch training his… 5:01:15 PM [express] GET /api/ml/stats 304 in 65ms :: {"logs":{"total":0,"last_hour":0},"detections"… 5:01:19 PM [express] GET /api/stats 500 in 10ms :: {"error":"Failed to fetch stats"} 5:01:19 PM [express] GET /api/detections 500 in 7ms :: {"error":"Failed to fetch detections"} 5:01:19 PM [express] GET /api/routers 500 in 6ms :: {"error":"Failed to fetch routers"} 5:01:21 PM [express] GET /api/detections 500 in 4ms :: {"error":"Failed to fetch detections"} 5:01:22 PM [express] GET /api/training-history 500 in 5ms :: {"error":"Failed to fetch training hist… 5:01:23 PM [express] GET /api/ml/stats 304 in 18ms :: {"logs":{"total":0,"last_hour":0},"detections"… 5:01:33 PM [express] GET /api/training-history 500 in 5ms :: {"error":"Failed to fetch training hist… 5:01:33 PM [express] GET /api/ml/stats 304 in 19ms :: {"logs":{"total":0,"last_hour":0},"detections"… 5:01:43 PM [express] GET /api/training-history 500 in 7ms :: {"error":"Failed to fetch training hist… 5:01:43 PM [express] GET /api/ml/stats 304 in 18ms :: {"logs":{"total":0,"last_hour":0},"detections"… 5:01:53 PM [express] GET /api/training-history 500 in 6ms :: {"error":"Failed to fetch training hist… 5:01:53 PM [express] GET /api/ml/stats 304 in 20ms :: {"logs":{"total":0,"last_hour":0},"detections"… 5:02:03 PM [express] GET /api/training-history 500 in 6ms :: {"error":"Failed to fetch training hist… 5:02:03 PM [express] GET /api/ml/stats 304 in 16ms :: {"logs":{"total":0,"last_hour":0},"detections"… 5:02:08 PM [express] GET /api/stats 500 in 5ms :: {"error":"Failed to fetch stats"} 5:02:08 PM [express] GET /api/routers 500 in 4ms :: {"error":"Failed to fetch routers"} 5:02:08 PM [express] GET /api/detections 500 in 3ms :: {"error":"Failed to fetch detections"} 5:02:13 PM [express] GET /api/training-history 500 in 4ms :: {"error":"Failed to fetch training hist… 5:02:13 PM [express] GET /api/ml/stats 304 in 17ms :: {"logs":{"total":0,"last_hour":0},"detections"… [root@ids ids]#