End-of-Life (EoL)

Reindex the Entire Database

Follow these steps to reindex the entire database.
  1. Stop the Cortex XSOAR service using the appropriate command for your OS.
    • systemctl stop demisto
    • sudo service demisto stop
  2. Backup the index directory.
    /var/lib/demisto/data/demistoidx
  3. Delete the index folder using the following command.
    rm -rf /var/lib/demisto/data/demistoidx
  4. Set permissions using the following command.
    sudo chown -R demisto:demisto /var/lib/demisto/data
  5. Start the Cortex XSOAR service using the appropriate command for your OS.
    • systemctl start demisto
    • sudo service demisto start
  6. Log in to your Cortex XSOAR instance and verify that the reindex process was successful.
    All should appear, for example, incidents, playbooks, automations, and so on.

Recommended For You