Snapshot Restore Fails with "NoSuchFileException" Errors - Need Help

Hello Elasticsearch Community,

I'm encountering issues while trying to restore snapshots in my Elasticsearch cluster. The snapshots appear to be created successfully, but when I attempt to restore them, I receive errors indicating that certain files are missing. Specifically, the error messages are of the type:

INTERNAL_SERVER_ERROR: NoSuchFileException: /usr/share/elasticsearch/snapshots/{file_path}

Steps Taken:

  1. Verified Permissions: Ensured that Elasticsearch has read/write permissions to the snapshot directory.
  2. Checked Snapshot Integrity: Used the _status API to check snapshot status, but no obvious issues were found during the snapshot creation.
  3. Tried Partial Restore: Attempted to restore specific indices, but the same errors occurred.
  4. Checked Logs: Reviewed the Elasticsearch logs for additional details, but the logs primarily reflect the same NoSuchFileException errors.