# Command: `mongo:ensure-indexes`

**Description**: Ensure MongoDB indexes exist for optimal query performance
**Status**: completed
**Started**: 2026-09-30 12:09:25 | **Ended**: 2026-09-30 12:09:25 | **Duration**: 0s
**Jobs**: 0 dispatched / 0 completed / 0 failed

---

## Command Output

12:09:25 [INFO] Lock acquired for command: mongo:ensure-indexes

12:09:25 [INFO] 🔍 Ensuring MongoDB indexes exist...

12:09:25 [INFO] 📊 Processing WebsiteSeoData collection...

12:09:25 [INFO] ✅ Index already exists: idx\_domain\_date\_desc (domain\_name ASC, date DESC)

12:09:25 [INFO] 🤖 Processing HermesInstance collection...

12:09:25 [INFO] ✅ Index already exists: hermes\_profile\_name\_unique

12:09:25 [INFO] ✅ Index already exists: hermes\_host\_port\_unique

12:09:25 [INFO] ✅ Index already exists: hermes\_user\_id\_unique\_sparse

12:09:25 [INFO] ✅ Index already exists: hermes\_status\_enabled

12:09:25 [INFO] 📡 Processing UpdownIncidentCluster collection...

12:09:25 [INFO] ✅ Index already exists: updown\_cluster\_key\_unique

12:09:25 [INFO] ✅ Index already exists: updown\_cluster\_status\_last\_incident

12:09:25 [INFO] ✅ Index already exists: updown\_cluster\_status\_resolved\_at

12:09:25 [INFO] ✅ Index already exists: updown\_cluster\_key\_lookup

12:09:25 [INFO] ✅ Incident membership index already exists: incident\_server\_status\_membership

12:09:25 [INFO] 📋 Processing Job collection...

12:09:25 [INFO] ✅ Index already exists: command\_id\_status

12:09:25 [INFO] ✅ Index already exists: job\_class

12:09:25 [INFO] 📡 Processing Command collection...

12:09:25 [INFO] ✅ Index already exists: name\_idx

12:09:25 [INFO] 📝 Processing UserAction collection...

12:09:25 [INFO] ✅ Index already exists: user\_action\_invocation\_idx

12:09:25 [INFO] 🔐 Processing WpLoginCode collection...

12:09:25 [INFO] ✅ Index already exists: wp\_login\_code\_hash\_unique

12:09:25 [INFO] ✅ Index already exists: wp\_login\_code\_expires\_ttl

12:09:25 [INFO] 🖥️ Processing ServerIntake collection...

12:09:25 [INFO] ✅ Index already exists: server\_intake\_provider\_ip

12:09:25 [INFO] ✅ Index already exists: server\_intake\_provider\_server\_id

12:09:25 [INFO] ✅ Index already exists: server\_intake\_status\_last\_seen

12:09:25 [INFO] ✅ All indexes have been ensured!

12:09:25 [INFO] Lock released for mongo:ensure-indexes

---

## Jobs (0)

*No jobs dispatched*

*Exported at 2026-10-03T05:51:58+00:00*
