# Logstash Yum Repo down?

**URL:** <https://discuss.elastic.co/t/logstash-yum-repo-down/84599>\
**Category:** Logstash\
**Created:** [May 4, 2017, 5:07pm UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599 "2017-05-04T17:07:20Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![duxy007](https://avatars.discourse-cdn.com/v4/letter/d/f6c823/32.png) [@duxy007](https://discuss.elastic.co/u/duxy007)\
**Post date:** [May 4, 2017, 5:07pm UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599/1 "2017-05-04T17:07:20Z")

</div>

I am trying to install logstash from the yum repo.

Instructions say to point at [https://artifacts.elastic.co/packages/5.3/yum](https://artifacts.elastic.co/packages/5.3/yum). This does not seem to be available when you go to the URL. When running the yum command I get this output:

One of the configured repositories failed (Elastic repository for 5.3 packages),  
and yum doesn't have enough cached data to continue. At this point the only  
safe thing yum can do is fail. There are a few ways to work "fix" this:  
.  
.  
.  
failure: repodata/repomd.xml from logstash-5.3: [Errno 256] No more mirrors to try.  
[https://artifacts.elastic.co/packages/5.3/yum/repodata/repomd.xml:](https://artifacts.elastic.co/packages/5.3/yum/repodata/repomd.xml:) [Errno 14] HTTPS Error 404 - Not Found

I followed this:  
rpm --import [https://artifacts.elastic.co/GPG-KEY-elasticsearch](https://artifacts.elastic.co/GPG-KEY-elasticsearch)  
Add the following in your /etc/yum.repos.d/ directory in a file with a .repo suffix, for example logstash.repo  
[logstash-5.3]  
name=Elastic repository for 5.3 packages  
baseurl=https://artifacts.elastic.co/packages/5.3/yum  
gpgcheck=1  
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch  
enabled=1  
autorefresh=1  
type=rpm-md

Any idea if the repo is down or am I doing something wrong?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [May 4, 2017, 6:46pm UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599/2 "2017-05-04T18:46:01Z")

</div>

It's a new release day. We just published 5.4.0. It's entirely possible that you hit the repo at the exact moment we were uploading new files, so the xml file was missing.

Try again and see whether that's the case.

---

<div class="post-metadata">

**Author:** ![PandKing](https://avatars.discourse-cdn.com/v4/letter/p/258eb7/32.png) [@PandKing](https://discuss.elastic.co/u/PandKing)\
**Post date:** [May 5, 2017, 3:11pm UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599/3 "2017-05-05T15:11:43Z")

</div>

None of the keys seem to work.  
curl [https://artifacts.elastic.co/packages/5.3/yum/repodata/repomd.xml](https://artifacts.elastic.co/packages/5.3/yum/repodata/repomd.xml)

\<?xml version="1.0" encoding="UTF-8"?\>

`NoSuchKey`The specified key does not exist.packages/5.3/yum/repodata/repomd.xml4B616F0757A26A594hAzxVG5b96aP75hUwM/IbpDCsGaJl94jQFoWWRQ1sQtHz2hy/0NK2H/fgpvKvCUU41QkgY4gSU=

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [May 5, 2017, 4:17pm UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599/4 "2017-05-05T16:17:59Z")

</div>

Instead of 5.3, try 5.x

---

<div class="post-metadata">

**Author:** ![PandKing](https://avatars.discourse-cdn.com/v4/letter/p/258eb7/32.png) [@PandKing](https://discuss.elastic.co/u/PandKing)\
**Post date:** [May 5, 2017, 4:30pm UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599/5 "2017-05-05T16:30:01Z")

</div>

Yep 5.4 install is wrong or not working as expected.  
[https://www.elastic.co/guide/en/logstash/5.4/installing-logstash.html](https://www.elastic.co/guide/en/logstash/5.4/installing-logstash.html)  
Use: logstash.repo  
[logstash-5.x]  
name=Elastic repository for 5.x packages  
baseurl=https://artifacts.elastic.co/packages/5.x/yum  
gpgcheck=1  
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch  
enabled=1  
autorefresh=1  
type=rpm-md

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [May 5, 2017, 6:09pm UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599/6 "2017-05-05T18:09:36Z")

</div>

Curious. I upgraded yesterday with 5.x as the path. No issues whatsoever.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [May 5, 2017, 7:25pm UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599/7 "2017-05-05T19:25:13Z")

</div>

I will spin up a vm and test this when I am able.

---

<div class="post-metadata">

**Author:** ![Foorth](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@Foorth](https://discuss.elastic.co/u/Foorth)\
**Post date:** [May 8, 2017, 11:13pm UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599/8 "2017-05-08T23:13:18Z")

</div>

Hi all,

I have the same issue. Has anyone found a solution?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [May 9, 2017, 5:23am UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599/9 "2017-05-09T05:23:21Z")

</div>

So far as I can tell, this may be a documentation error. If you look at the [documentation for 5.2](https://www.elastic.co/guide/en/logstash/5.2/installing-logstash.html), you'll see that the repository path was 5.x. If you change your repository paths to 5.x, it works as expected.

I've raised the issue with our tech docs people.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [May 9, 2017, 5:25am UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599/10 "2017-05-09T05:25:16Z")

</div>

If I change it to this:

```auto
$ cat /etc/yum.repos.d/logstash.repo
[logstash-5.x]
name=Elastic repository for 5.x packages
baseurl=https://artifacts.elastic.co/packages/5.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1

```

...this is the result:

```auto
$ yum --showduplicates list logstash | expand
Available Packages
logstash.noarch 1:5.0.0-1 logstash-5.x
logstash.noarch 1:5.0.1-1 logstash-5.x
logstash.noarch 1:5.0.2-1 logstash-5.x
logstash.noarch 1:5.1.1-1 logstash-5.x
logstash.noarch 1:5.1.2-1 logstash-5.x
logstash.noarch 1:5.2.0-1 logstash-5.x
logstash.noarch 1:5.2.1-1 logstash-5.x
logstash.noarch 1:5.2.2-1 logstash-5.x
logstash.noarch 1:5.3.0-1 logstash-5.x
logstash.noarch 1:5.3.1-1 logstash-5.x
logstash.noarch 1:5.3.2-1 logstash-5.x
logstash.noarch 1:5.4.0-1 logstash-5.x

```

---

<div class="post-metadata">

**Author:** ![Foorth](https://avatars.discourse-cdn.com/v4/letter/f/6de8d8/32.png) [@Foorth](https://discuss.elastic.co/u/Foorth)\
**Post date:** [May 9, 2017, 5:55am UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599/11 "2017-05-09T05:55:20Z")

</div>

Thx for fast replay. Now everything works. I used the documentation for 5.2.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [May 9, 2017, 1:05pm UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599/12 "2017-05-09T13:05:07Z")

</div>

The documentation for 5.3 and 5.4 are updated to now show the path as `5.x` again. Thanks for reporting the issue.

---

<div class="post-metadata">

**Author:** ![duxy007](https://avatars.discourse-cdn.com/v4/letter/d/f6c823/32.png) [@duxy007](https://discuss.elastic.co/u/duxy007)\
**Post date:** [May 9, 2017, 1:06pm UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599/13 "2017-05-09T13:06:38Z")

</div>

Thank you very much for the assistance! I really appreciate it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 6, 2017, 1:16pm UTC](https://discuss.elastic.co/t/logstash-yum-repo-down/84599/14 "2017-06-06T13:16:17Z")

</div>

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