Command Info

Name: mongo:ensure-indexes

Description: Ensure MongoDB indexes exist for optimal query performance

Status: completed

Start Time: 2026-10-13 15:50:02

End Time: 2026-10-13 15:50:03

Total Time: 1 second

Dispatched Jobs Count: 0

Successful Jobs Count: 0

Failed Jobs Count: 0

Output

15:50:02 Lock acquired for command: mongo:ensure-indexes
15:50:03 🔍 Ensuring MongoDB indexes exist...
15:50:03 📊 Processing WebsiteSeoData collection...
15:50:03 ✅ Index already exists: idx_domain_date_desc (domain_name ASC, date DESC)
15:50:03 🤖 Processing HermesInstance collection...
15:50:03 ✅ Index already exists: hermes_profile_name_unique
15:50:03 ✅ Index already exists: hermes_host_port_unique
15:50:03 ✅ Index already exists: hermes_user_id_unique_sparse
15:50:03 ✅ Index already exists: hermes_status_enabled
15:50:03 📡 Processing UpdownIncidentCluster collection...
15:50:03 ✅ Index already exists: updown_cluster_key_unique
15:50:03 ✅ Index already exists: updown_cluster_status_last_incident
15:50:03 ✅ Index already exists: updown_cluster_status_resolved_at
15:50:03 ✅ Index already exists: updown_cluster_key_lookup
15:50:03 ✅ Incident membership index already exists: incident_server_status_membership
15:50:03 📋 Processing Job collection...
15:50:03 ✅ Index already exists: command_id_status
15:50:03 ✅ Index already exists: job_class
15:50:03 📡 Processing Command collection...
15:50:03 ✅ Index already exists: name_idx
15:50:03 📝 Processing UserAction collection...
15:50:03 ✅ Index already exists: user_action_invocation_idx
15:50:03 🔐 Processing WpLoginCode collection...
15:50:03 ✅ Index already exists: wp_login_code_hash_unique
15:50:03 ✅ Index already exists: wp_login_code_expires_ttl
15:50:03 🖥️ Processing ServerIntake collection...
15:50:03 ✅ Index already exists: server_intake_provider_ip
15:50:03 ✅ Index already exists: server_intake_provider_server_id
15:50:03 ✅ Index already exists: server_intake_status_last_seen
15:50:03 🌐 Processing WhoisData collection...
15:50:03 ⚠️ whois_data.domainName still has duplicates or non-normalized spellings (case/IDN/padded). Deploy runs `php artisan whois:dedupe --no-confirm` before this step; a skip means that run was deferred or raced. The next deploy retries. Unique index skipped.
15:50:03 ✅ All indexes have been ensured!
15:50:03 Lock released for mongo:ensure-indexes