# Impossible upgrade Opensearch 2.19.3 to 3.5.0 - index version incompatible

**URL:** <https://forum.opensearch.org/t/impossible-upgrade-opensearch-2-19-3-to-3-5-0-index-version-incompatible/27955>\
**Category:** OpenSearch\
**Tags:** upgrade\
**Created:** [March 30, 2026, 7:03am UTC](https://forum.opensearch.org/t/impossible-upgrade-opensearch-2-19-3-to-3-5-0-index-version-incompatible/27955 "2026-03-30T07:03:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rofr\_dd](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@rofr\_dd](https://forum.opensearch.org/u/rofr_dd)\
**Post date:** [March 30, 2026, 7:03am UTC](https://forum.opensearch.org/t/impossible-upgrade-opensearch-2-19-3-to-3-5-0-index-version-incompatible/27955/1 "2026-03-30T07:03:43Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):

- Update Opensearch from 2.19.3 to 3.5.0
- The environment was originally migrated from version 1.3.2

**Description:**

> java.lang.IllegalStateException: The index [[.opendistro-alerting-alerts/LyOaYfJ7RZm9rkKTAaS21w]] was created with version [1.3.2] but the minimum compatible version is [2.0.0]. It should be re-indexed in OpenSearch 2.x before upgrading to 3.5.0.

As the index contains no documents I removed the index. But the error persists.

```auto
DELETE /.opendistro-alerting-alerts/
{
  "acknowledged": true
}

GET /.opendistro-alerting-alerts/

{
  ".opendistro-alerting-alerts": {
    "aliases": {},
    "mappings": {
      "dynamic": "strict",
      "_meta": {
        "schema_version": 5
      },
      "_routing": {
        "required": true
      },
      "properties": {
        "acknowledged_time": {
          "type": "date"
        },
        "action_execution_results": {
          "type": "nested",
          "properties": {
            "action_id": {
              "type": "keyword"
            },
            "last_execution_time": {
              "type": "date"
            },
            "throttled_count": {
              "type": "integer"
            }
          }
        },
        "agg_alert_content": {
          "dynamic": "true",
          "properties": {
            "bucket_key": {
              "type": "text"
            },
            "parent_bucket_path": {
              "type": "text"
            }
          }
        },
        "alert_history": {
          "type": "nested",
          "properties": {
            "message": {
              "type": "text"
            },
            "timestamp": {
              "type": "date"
            }
          }
        },
        "associated_alert_ids": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword"
            }
          }
        },
        "clusters": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword"
            }
          }
        },
        "end_time": {
          "type": "date"
        },
        "error_message": {
          "type": "text"
        },
        "execution_id": {
          "type": "keyword"
        },
        "finding_ids": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword"
            }
          }
        },
        "id": {
          "type": "keyword"
        },
        "last_notification_time": {
          "type": "date"
        },
        "monitor_id": {
          "type": "keyword"
        },
        "monitor_name": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        },
        "monitor_user": {
          "properties": {
            "backend_roles": {
              "type": "text",
              "fields": {
                "keyword": {
                  "type": "keyword"
                }
              }
            },
            "custom_attribute_names": {
              "type": "text",
              "fields": {
                "keyword": {
                  "type": "keyword"
                }
              }
            },
            "name": {
              "type": "text",
              "fields": {
                "keyword": {
                  "type": "keyword",
                  "ignore_above": 256
                }
              }
            },
            "roles": {
              "type": "text",
              "fields": {
                "keyword": {
                  "type": "keyword"
                }
              }
            }
          }
        },
        "monitor_version": {
          "type": "long"
        },
        "related_doc_ids": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword"
            }
          }
        },
        "schema_version": {
          "type": "integer"
        },
        "severity": {
          "type": "keyword"
        },
        "start_time": {
          "type": "date"
        },
        "state": {
          "type": "keyword"
        },
        "trigger_id": {
          "type": "keyword"
        },
        "trigger_name": {
          "type": "text",
          "fields": {
            "keyword": {
              "type": "keyword",
              "ignore_above": 256
            }
          }
        },
        "version": {
          "type": "long"
        },
        "workflow_id": {
          "type": "keyword"
        },
        "workflow_name": {
          "type": "keyword"
        }
      }
    },
    "settings": {
      "index": {
        "replication": {
          "type": "DOCUMENT"
        },
        "hidden": "true",
        "number_of_shards": "1",
        "provided_name": ".opendistro-alerting-alerts",
        "creation_date": "1774856944543",
        "number_of_replicas": "1",
        "uuid": "aPIm8wb7QB-kCHJEBwZJzA",
        "version": {
          "created": "136408127"
        }
      }
    }
  }
}

```

After deletion the uuid changed - but in logfile the old uuid is printed.

I also tried to reindex but no success.

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [March 30, 2026, 7:32am UTC](https://forum.opensearch.org/t/impossible-upgrade-opensearch-2-19-3-to-3-5-0-index-version-incompatible/27955/2 "2026-03-30T07:32:13Z")

</div>

@rofr_dd But your error regards .opendistro-alerting-alerts index.  
Youve deleted .opendistro-reports-instances

---

<div class="post-metadata">

**Author:** ![rofr\_dd](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@rofr\_dd](https://forum.opensearch.org/u/rofr_dd)\
**Post date:** [March 30, 2026, 7:51am UTC](https://forum.opensearch.org/t/impossible-upgrade-opensearch-2-19-3-to-3-5-0-index-version-incompatible/27955/3 "2026-03-30T07:51:05Z")

</div>

Hi, thank you for the hint. I just copied the wrong snippets.  
I updated the description.

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/pablo/32/10363_2.png) [@pablo](https://forum.opensearch.org/u/pablo)\
**Post date:** [April 1, 2026, 3:05pm UTC](https://forum.opensearch.org/t/impossible-upgrade-opensearch-2-19-3-to-3-5-0-index-version-incompatible/27955/4 "2026-04-01T15:05:13Z")

</div>

@rofr_dd According to your index settings, the current index version is 136408127. So, you state that after deleting the index, you’re still seeing the exact error below?

> [@rofr\_dd](#):
>
> java.lang.IllegalStateException: The index [[.opendistro-alerting-alerts/LyOaYfJ7RZm9rkKTAaS21w]] was created with version [1.3.2] but the minimum compatible version is [2.0.0]. It should be re-indexed in OpenSearch 2.x before upgrading to 3.5.0.

Did you restart the OpenSearch service?

Could you share the exact steps for deleting that index?  
Did you run your cluster with version 2.x, delete the reported index and upgrade the cluster to 3.5.0?

---

<div class="post-metadata">

**Author:** ![rofr\_dd](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@rofr\_dd](https://forum.opensearch.org/u/rofr_dd)\
**Post date:** [April 21, 2026, 6:39am UTC](https://forum.opensearch.org/t/impossible-upgrade-opensearch-2-19-3-to-3-5-0-index-version-incompatible/27955/5 "2026-04-21T06:39:17Z")

</div>

@pablo: Restarting every node after reindexing solved the problem with most of the indices now. Thank you. Just wondering why this step is neccessary in the cluster.
