🛠️ Breaking the Migration Lockge
The "Another process is migrating" error occurs when the dashboard service is interrupted while recreating its internal indices. Follow these steps in exact order to clear the lock.
1
Stop the Dashboard Service
You must stop the service to ensure no active processes are attempting to write to the index during the cleanup.
sudo systemctl stop wazuh-dashboard
2
Clear the Stuck System Index
This removes the "half-finished" index that is causing the resource_already_exists_exception and migration lock.
curl -k -u admin:'<password>' -X DELETE https://localhost:9200/.kibana*
3
Start and Allow Initialization
Restart the service. The dashboard will now see that the index is missing and recreate it cleanly.
sudo systemctl start wazuh-dashboard
⚠️ The "5-Minute Rule"
Do not refresh your browser for 5 minutes. The dashboard is performing a heavy background migration. Interrupting this will recreate the migration lock, forcing you back to Step 1.
No Comments