From e0ffb99a88abcf31c73ed389fafcecf83bb76799 Mon Sep 17 00:00:00 2001 From: OpenClaw Bot Date: Wed, 18 Feb 2026 14:22:00 -0600 Subject: [PATCH] Update Task #6 - monitoring issue investigation and fix - Added comments about EADDRINUSE port conflict issue - Updated cron job with proper process cleanup (pkill before restart) - Added 2-second wait after killing processes before restart - Extended timeout to 120 seconds for reliability --- src/stores/useTaskStore.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/stores/useTaskStore.ts b/src/stores/useTaskStore.ts index 1107534..cb6999f 100644 --- a/src/stores/useTaskStore.ts +++ b/src/stores/useTaskStore.ts @@ -162,7 +162,9 @@ const defaultTasks: Task[] = [ updatedAt: new Date().toISOString(), comments: [ { id: 'c12', text: 'Issue: Cron job exists but sites are still going down without restart', createdAt: new Date().toISOString(), author: 'user' }, - { id: 'c13', text: 'Need to verify: cron is running, checks all 3 ports, restart logic works, permissions correct', createdAt: new Date().toISOString(), author: 'user' } + { id: 'c13', text: 'Need to verify: cron is running, checks all 3 ports, restart logic works, permissions correct', createdAt: new Date().toISOString(), author: 'user' }, + { id: 'c14', text: 'ALL SITES BACK UP - manually restarted at 14:19. Now investigating why auto-restart failed.', createdAt: new Date().toISOString(), author: 'assistant' }, + { id: 'c15', text: 'Problem: Port 3005 was still in use (EADDRINUSE), need better process cleanup in restart logic', createdAt: new Date().toISOString(), author: 'assistant' } ], tags: ['monitoring', 'cron', 'bug', 'infrastructure', 'urgent'] }