Update elasticsearch repository


(Raamee) #1

Dear team,

Request you to update elasticsearch repo to stable version of elasticsearch. We still have beta package. I also get error while installing marvel plugin. Link thread here: Cant install Marvel License

======================================================================================================================================================
 Package                            Arch                         Version                               Repository                               Size
======================================================================================================================================================
Updating:
 elasticsearch                       noarch                       2.0.0-beta2_1                         elasticsearch-2.0                        27M

[root@localhost bin]# rpm -qa | grep elastic
elasticsearch-2.0.0-beta2_1.noarch

[root@localhost bin]# ./plugin install file:///usr/local/src/marvel-agent-2.0.0.zip 
-> Installing from file:/usr/local/src/marvel-agent-2.0.0.zip...
Trying file:/usr/local/src/marvel-agent-2.0.0.zip ...
Downloading ..DONE
Verifying file:/usr/local/src/marvel-agent-2.0.0.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Elasticsearch version [2.0.0] is too old for plugin [marvel-agent]

I think the elasticsearch repo doesn't have elastic search 2.0 stable yet. Its still in beta, that is why we are getting this error.

Requesting elastic team to update their repo to stable packages.


(Rene) #2

Repo's location has changed. Old location still has old beta version, new location has GA. Did you update the repo?


(Raamee) #3

Thanks. Can you please provide the new repo url?


(Rene) #4

https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html


(Raamee) #5

Still the same.

[root@localhost elasticsearch]# yum --enablerepo=elasticsearch-2.0 list elasticsearch
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.excellmedia.net
 * epel: epel.mirror.net.in
 * extras: centos.excellmedia.net
 * updates: centos.excellmedia.net
Available Packages
elasticsearch.noarch                                                  2.0.0-beta2_1                                                  elasticsearch-2.0

My repo file is:

[elasticsearch-2.0]
name=Elasticsearch repository for 2.0.x packages
baseurl=http://packages.elastic.co/elasticsearch/2.0/centos
gpgcheck=1
gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
enabled=1

(Rene) #6

baseurl should read:

http://packages.elastic.co/elasticsearch/2.x/centos

Don't replace the x with a 0

Also the first line should contain an x instead of a 0.


(Raamee) #7

oh, my bad! Thank you for saying.


(system) #8