Issue When Upgrading Elasticsearch v5.2.2 to V5.6.8

I am trying to upgrade my development ELK stack running on a Single VM(No cluster) ..Below is the details of the error ..i am doing something wrong ..Please advice

OS : Centos 7
Current ELK version : V5.2.2
New version : V5.6.8

Have shutdown the services before trying upgarde . trying to upgrade using rpm image ...Below is the error

[root@XXX bin]# sudo rpm --install elasticsearch-5.6.8.rpm
file /etc/elasticsearch/jvm.options from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /etc/elasticsearch/log4j2.properties from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /etc/init.d/elasticsearch from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /etc/sysconfig/elasticsearch from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/bin/elasticsearch from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/lib/systemd/system/elasticsearch.service from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/NOTICE.txt from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/README.textile from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/bin/elasticsearch.in.sh from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/modules/aggs-matrix-stats/plugin-descriptor.properties from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/modules/ingest-common/plugin-descriptor.properties from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/modules/lang-expression/plugin-descriptor.properties from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/modules/lang-groovy/plugin-descriptor.properties from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/modules/lang-mustache/plugin-descriptor.properties from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/modules/lang-painless/plugin-descriptor.properties from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/modules/percolator/plugin-descriptor.properties from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/modules/reindex/plugin-descriptor.properties from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/modules/transport-netty3/plugin-descriptor.properties from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/modules/transport-netty4/plugin-descriptor.properties from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
file /usr/share/elasticsearch/modules/transport-netty4/plugin-security.policy from install of elasticsearch-0:5.6.8-1.noarch conflicts with file from package elasticsearch-0:5.2.2-1.noarch
[root@XXXX bin]#

can you try to run rpm -Uvh elasticsearch.rpm , so that you run an upgrade and dont try to do a new installation?

--Alex

Thanks a lot ..ELK is upgraded ..

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.