after upgrading the AGE environment we've got the issue that the Portal index couldn't be rebuild.
<Msg time="2024-11-29T11:36:31,579" type="DEBUG" code="219999" source="Sharing" process="11056" thread="1" methodName="" machine="MASCHINENNAME" user="" elapsed="0.0" requestID=""> Deleting Index ago-users</Msg>
<Msg time="2024-11-29T11:36:31,686" type="DEBUG" code="219999" source="Sharing" process="11056" thread="1" methodName="" machine="MASCHINENNAME" user="" elapsed="0.0" requestID=""> Deleted Index ago-users</Msg>
<Msg time="2024-11-29T11:36:31,686" type="DEBUG" code="219999" source="Sharing" process="11056" thread="1" methodName="" machine="MASCHINENNAME" user="" elapsed="0.0" requestID=""> Deleting Index ago-users</Msg>
<Msg time="2024-11-29T11:36:31,688" type="DEBUG" code="219999" source="Sharing" process="11056" thread="1" methodName="" machine="MASCHINENNAME" user="" elapsed="0.0" requestID=""> Exception method [DELETE], host [https://localhost:7220], URI [/ago-users], status line [HTTP/1.1 404 Not Found]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [ago-users]","index":"ago-users","resource.id":"ago-users","resource.type":"index_or_alias","index_uuid":"_na_"}],"type":"index_not_found_exception","reason":"no such index [ago-users]","index":"ago-users","resource.id":"ago-users","resource.type":"index_or_alias","index_uuid":"_na_"},"status":404}</Msg>
<Msg time="2024-11-29T11:36:31,688" type="DEBUG" code="219999" source="Sharing" process="11056" thread="1" methodName="" machine="MASCHINENNAME" user="" elapsed="0.0" requestID=""> Deleted Index ago-users</Msg>
<Msg time="2024-11-29T11:36:31,918" type="DEBUG" code="219999" source="Sharing" process="11056" thread="1" methodName="" machine="MASCHINENNAME" user="" elapsed="0.0" requestID=""> Creating alias ago-users for index ago-users</Msg>
<Msg time="2024-11-29T11:36:31,921" type="DEBUG" code="219999" source="Sharing" process="11056" thread="1" methodName="" machine="MASCHINENNAME" user="" elapsed="0.0" requestID=""> method [PUT], host [https://localhost:7220], URI [/ago-users/_alias/ago-users], status line [HTTP/1.1 400 Bad Request]
{"error":{"root_cause":[{"type":"invalid_alias_name_exception","reason":"Invalid alias name [ago-users], an index exists with the same name as the alias","index":"ago-users","index_uuid":"qtOUCPcAQ9eJ3X6fCOhlrA"}],"type":"invalid_alias_name_exception","reason":"Invalid alias name [ago-users], an index exists with the same name as the alias","index":"ago-users","index_uuid":"qtOUCPcAQ9eJ3X6fCOhlrA"},"status":400}</Msg>
<Msg time="2024-11-29T11:36:31,921" type="DEBUG" code="9999" source="Sharing" process="11056" thread="1" methodName="" machine="MASCHINENNAME" user="" elapsed="" requestID="">org.opensearch.client.ResponseException: method [PUT], host [https://localhost:7220], URI [/ago-users/_alias/ago-users], status line [HTTP/1.1 400 Bad Request]
{"error":{"root_cause":[{"type":"invalid_alias_name_exception","reason":"Invalid alias name [ago-users], an index exists with the same name as the alias","index":"ago-users","index_uuid":"qtOUCPcAQ9eJ3X6fCOhlrA"}],"type":"invalid_alias_name_exception","reason":"Invalid alias name [ago-users], an index exists with the same name as the alias","index":"ago-users","index_uuid":"qtOUCPcAQ9eJ3X6fCOhlrA"},"status":400}
at org.opensearch.client.RestClient.convertResponse(RestClient.java:376)
at org.opensearch.client.RestClient.performRequest(RestClient.java:346)
at org.opensearch.client.RestClient.performRequest(RestClient.java:321)
at com.esri.gw.index.reindex.PortalElasticSearchManager.c(PortalElasticSearchManager.java:603)
at....
1. Reconfigure index >> >> no success
2. Reindex >> no success