# Command: `runcloud:batch-reboot`

**Description**: Reboot RunCloud servers sequentially with pre-reboot upgrades and post-reboot SSH health verification
**Status**: completed
**Started**: 2026-05-20 09:02:23 | **Ended**: 2026-05-20 09:06:12 | **Duration**: 3m 49s
**Jobs**: 0 dispatched / 0 completed / 0 failed

---

## Command Output

09:02:23 [INFO] Lock acquired for command: runcloud:batch-reboot

09:02:23 [WARNING] --resume overrides --all and --server; ignoring other options.

09:02:23 [INFO] 🔍 Resuming batch: 10eac67d-7d63-4e3b-9b95-f36ddeb29064

09:02:23 [INFO] 📋 Restored 78 target(s) from batch state

09:02:23 [INFO] 🔍 Batch ID: 10eac67d-7d63-4e3b-9b95-f36ddeb29064

09:02:23 [INFO] 🔍 Target: 78 server(s)

09:02:23 [INFO] ⏭️  Skipping 7 already-completed server(s)

09:02:23 [INFO] 🔄 Starting sequential reboot of 71 server(s)

09:02:23 [INFO] ⏱️  Estimated total time: ~391 minutes

09:02:23 [INFO] 🔄 \[1/71\] VPS433981 (ID: 2895)

09:02:23 [INFO] 🔍 Pre-flight SSH check...

09:02:38 [INFO] 📦 Running unattended upgrades...

09:02:59 [INFO] 📦 done (no packages to upgrade)

09:02:59 [INFO] 🔄 Rebooting...

09:03:08 [INFO] ⏳ Waiting 30s before polling...

09:03:45 [INFO] ⏳ Waiting for SSH to drop (30s)...

09:04:19 [INFO] ⏳ Waiting for SSH to drop (60s)...

09:04:51 [INFO] ⏳ Waiting for SSH to drop (90s)...

09:05:32 [WARNING] ⚠️ SSH never dropped, but uptime confirms reboot completed

09:05:34 [INFO] ✅ SSH reconnected. Server confirmed up.

09:05:34 [INFO] 🔄 \[2/71\] VPS438249 (ID: 3130)

09:05:34 [INFO] 🔍 Pre-flight SSH check...

09:05:42 [INFO] 📦 Running unattended upgrades...

09:06:02 [INFO] 📦 done (no packages to upgrade)

09:06:02 [INFO] 🔄 Rebooting...

09:06:12 [ERROR] ❌ Reboot failed: Connection closed by server

09:06:12 [ERROR] 🛑 BATCH HALTED at server 2/71.

09:06:12 [ERROR] Flagged for manual investigation: VPS438249 (ID: 3130)

09:06:12 [ERROR] Resume with: php artisan runcloud:batch-reboot --resume

09:06:12 [INFO] ================

09:06:12 [INFO] 📊 Batch Summary

09:06:12 [INFO] ================

09:06:12 [INFO] Batch ID: 10eac67d-7d63-4e3b-9b95-f36ddeb29064

09:06:12 [INFO] Rebooted: 1

09:06:12 [INFO] Skipped (no reboot needed): 0

09:06:12 [INFO] Skipped (unreachable): 0

09:06:12 [INFO] Failed: 1

09:06:12 [INFO] Remaining: 69

09:06:12 [INFO] Resume with: php artisan runcloud:batch-reboot --resume

09:06:12 [INFO] Lock released for runcloud:batch-reboot

---

## Jobs (0)

*No jobs dispatched*

*Exported at 2026-08-20T23:48:07+00:00*
