Update to version

Hi, I installed version 6.6.2 (0.8.0)

But now I want to update to version 6.7.1 (0.9.0) But I get update errors yum …

What would be the recommended update procedure?
Thank you

Hi Evaristo,

Did you run “yum update” to update?

Can you try “yum update opendistroforelasticsearch”?

2 Likes

yes, with yum update happens:
→ Resolución de dependencias finalizada
Error: Paquete: opendistro-performance-analyzer-0.9.0.0-1.noarch (opendistroforelasticsearch-artifacts-repo)
Necesita: elasticsearch-oss = 6.7.1
Eliminando: elasticsearch-oss-6.6.2-1.noarch (@elasticsearch-6.x)
elasticsearch-oss = 6.6.2-1
Actualizado por: elasticsearch-oss-6.7.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.2-1
Disponible: elasticsearch-oss-6.3.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.0-1
Disponible: elasticsearch-oss-6.3.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.1-1
Disponible: elasticsearch-oss-6.3.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.2-1
Disponible: elasticsearch-oss-6.4.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.0-1
Disponible: elasticsearch-oss-6.4.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.1-1
Disponible: elasticsearch-oss-6.4.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.2-1
Disponible: elasticsearch-oss-6.4.3-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.3-1
Disponible: elasticsearch-oss-6.5.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.0-1
Disponible: elasticsearch-oss-6.5.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.1-1
Disponible: elasticsearch-oss-6.5.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.2-1
Disponible: elasticsearch-oss-6.5.3-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.3-1
Disponible: elasticsearch-oss-6.5.4-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.4-1
Disponible: elasticsearch-oss-6.6.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.6.0-1
Disponible: elasticsearch-oss-6.6.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.6.1-1
Disponible: elasticsearch-oss-6.7.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.0-1
Disponible: elasticsearch-oss-6.7.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.1-1
Error: Paquete: opendistroforelasticsearch-0.9.0-1.noarch (opendistroforelasticsearch-artifacts-repo)
Necesita: elasticsearch-oss = 6.7.1
Eliminando: elasticsearch-oss-6.6.2-1.noarch (@elasticsearch-6.x)
elasticsearch-oss = 6.6.2-1
Actualizado por: elasticsearch-oss-6.7.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.2-1
Disponible: elasticsearch-oss-6.3.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.0-1
Disponible: elasticsearch-oss-6.3.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.1-1
Disponible: elasticsearch-oss-6.3.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.2-1
Disponible: elasticsearch-oss-6.4.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.0-1
Disponible: elasticsearch-oss-6.4.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.1-1
Disponible: elasticsearch-oss-6.4.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.2-1
Disponible: elasticsearch-oss-6.4.3-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.3-1
Disponible: elasticsearch-oss-6.5.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.0-1
Disponible: elasticsearch-oss-6.5.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.1-1
Disponible: elasticsearch-oss-6.5.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.2-1
Disponible: elasticsearch-oss-6.5.3-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.3-1
Disponible: elasticsearch-oss-6.5.4-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.4-1
Disponible: elasticsearch-oss-6.6.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.6.0-1
Disponible: elasticsearch-oss-6.6.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.6.1-1
Disponible: elasticsearch-oss-6.7.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.0-1
Disponible: elasticsearch-oss-6.7.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.1-1
Error: Paquete: opendistro-alerting-0.9.0.0-1.noarch (opendistroforelasticsearch-artifacts-repo)
Necesita: elasticsearch-oss = 6.7.1
Eliminando: elasticsearch-oss-6.6.2-1.noarch (@elasticsearch-6.x)
elasticsearch-oss = 6.6.2-1
Actualizado por: elasticsearch-oss-6.7.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.2-1
Disponible: elasticsearch-oss-6.3.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.0-1
Disponible: elasticsearch-oss-6.3.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.1-1
Disponible: elasticsearch-oss-6.3.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.2-1
Disponible: elasticsearch-oss-6.4.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.0-1
Disponible: elasticsearch-oss-6.4.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.1-1
Disponible: elasticsearch-oss-6.4.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.2-1
Disponible: elasticsearch-oss-6.4.3-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.3-1
Disponible: elasticsearch-oss-6.5.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.0-1
Disponible: elasticsearch-oss-6.5.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.1-1
Disponible: elasticsearch-oss-6.5.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.2-1
Disponible: elasticsearch-oss-6.5.3-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.3-1
Disponible: elasticsearch-oss-6.5.4-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.4-1
Disponible: elasticsearch-oss-6.6.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.6.0-1
Disponible: elasticsearch-oss-6.6.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.6.1-1
Disponible: elasticsearch-oss-6.7.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.0-1
Disponible: elasticsearch-oss-6.7.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.1-1
Error: Paquete: opendistro-sql-0.9.0.0-1.noarch (opendistroforelasticsearch-artifacts-repo)
Necesita: elasticsearch-oss = 6.7.1
Eliminando: elasticsearch-oss-6.6.2-1.noarch (@elasticsearch-6.x)
elasticsearch-oss = 6.6.2-1
Actualizado por: elasticsearch-oss-6.7.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.2-1
Disponible: elasticsearch-oss-6.3.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.0-1
Disponible: elasticsearch-oss-6.3.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.1-1
Disponible: elasticsearch-oss-6.3.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.2-1
Disponible: elasticsearch-oss-6.4.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.0-1
Disponible: elasticsearch-oss-6.4.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.1-1
Disponible: elasticsearch-oss-6.4.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.2-1
Disponible: elasticsearch-oss-6.4.3-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.3-1
Disponible: elasticsearch-oss-6.5.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.0-1
Disponible: elasticsearch-oss-6.5.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.1-1
Disponible: elasticsearch-oss-6.5.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.2-1
Disponible: elasticsearch-oss-6.5.3-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.3-1
Disponible: elasticsearch-oss-6.5.4-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.4-1
Disponible: elasticsearch-oss-6.6.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.6.0-1
Disponible: elasticsearch-oss-6.6.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.6.1-1
Disponible: elasticsearch-oss-6.7.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.0-1
Disponible: elasticsearch-oss-6.7.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.1-1
Error: Paquete: opendistro-security-0.9.0.0-0.noarch (opendistroforelasticsearch-artifacts-repo)
Necesita: elasticsearch-oss = 6.7.1
Eliminando: elasticsearch-oss-6.6.2-1.noarch (@elasticsearch-6.x)
elasticsearch-oss = 6.6.2-1
Actualizado por: elasticsearch-oss-6.7.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.2-1
Disponible: elasticsearch-oss-6.3.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.0-1
Disponible: elasticsearch-oss-6.3.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.1-1
Disponible: elasticsearch-oss-6.3.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.3.2-1
Disponible: elasticsearch-oss-6.4.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.0-1
Disponible: elasticsearch-oss-6.4.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.1-1
Disponible: elasticsearch-oss-6.4.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.2-1
Disponible: elasticsearch-oss-6.4.3-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.4.3-1
Disponible: elasticsearch-oss-6.5.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.0-1
Disponible: elasticsearch-oss-6.5.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.1-1
Disponible: elasticsearch-oss-6.5.2-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.2-1
Disponible: elasticsearch-oss-6.5.3-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.3-1
Disponible: elasticsearch-oss-6.5.4-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.5.4-1
Disponible: elasticsearch-oss-6.6.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.6.0-1
Disponible: elasticsearch-oss-6.6.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.6.1-1
Disponible: elasticsearch-oss-6.7.0-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.0-1
Disponible: elasticsearch-oss-6.7.1-1.noarch (elasticsearch-6.x)
elasticsearch-oss = 6.7.1-1

Great!!! :slight_smile:

with yum update opendistroforelasticsearch everything worked perfect!!:smile:

but there is another problem
elasticsearch says:
[ERROR][o.e.b.Bootstrap ] [uUzpDuY] Exception
java.lang.IllegalStateException: Duplicate key ingest-user-agent (attempted merging values org.elasticsearch.plugins.PluginsService$Bundle@30acf5ab and org.elasticsearch.plugins.PluginsService$Bundle@30acf5ab)

I solved it by running:
/usr/share/elasticsearch/bin/elasticsearch-plugin remove --purge ingest-geoip
/usr/share/elasticsearch/bin/elasticsearch-plugin remove --purge ingest-user-agent

okok

Plugin changes

*> #### ingest-geoip and ingest-user-agent are no longer distributed as plugins

> The ingest-geoip and ingest-user-agent plugins have been converted to modules and are now included with all Elasticsearch distributions. Starting with Elasticsearch 6.7.0, attempting to install or remove these plugins will result in a no-op. In Elasticsearch 7.0.0, attempting to install or remove these plugins will result in an error. Additionally, there are two minor breaking changes here: - elasticsearch-plugin list will no longer output ingest-geoip nor ingest-user-agent - plugin.mandatory is no longer compatible with ingest-geoip nor ingest-user-agent