# Update graylog2

**URL:** https://community.graylog.org/t/update-graylog2/9101
**Category:** Graylog Central (peer support)
**Created:** [February 25, 2019, 2:22pm UTC](https://community.graylog.org/t/update-graylog2/9101 "2019-02-25T14:22:38Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [February 25, 2019, 2:22pm UTC](https://community.graylog.org/t/update-graylog2/9101/1 "2019-02-25T14:22:38Z")

</div>

HI all, how i can update graylog 2 to 3? Installing with source.

---

<div class="post-metadata">

### Author: ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)
#### Post date: [February 25, 2019, 3:10pm UTC](https://community.graylog.org/t/update-graylog2/9101/2 "2019-02-25T15:10:45Z")

</div>

how about reading the docs?

[http://docs.graylog.org/en/3.0/pages/upgrade.html](http://docs.graylog.org/en/3.0/pages/upgrade.html)

---

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [February 26, 2019, 3:18pm UTC](https://community.graylog.org/t/update-graylog2/9101/3 "2019-02-26T15:18:45Z")

</div>

Well, I figured out with graylog. Do I need to upgrade to version 6 or will graylog 3 work on version 5? If not, where can I see how to update the version of elasticsearch, despite the fact that it works and stores 1.5 billion logs?

---

<div class="post-metadata">

### Author: ![Lyro](https://avatars.discourse-cdn.com/v4/letter/l/898d66/32.png) [@Lyro](https://community.graylog.org/u/Lyro)
#### Post date: [February 26, 2019, 3:23pm UTC](https://community.graylog.org/t/update-graylog2/9101/4 "2019-02-26T15:23:50Z")

</div>

Do a snapshot or a backup of your VM and try to do it step by step with the docs @jan already posted…

Even I did it successfully 😃

---

<div class="post-metadata">

### Author: ![laakkus](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/laakkus/32/3060_2.png) [@laakkus](https://community.graylog.org/u/laakkus)
#### Post date: [February 26, 2019, 4:07pm UTC](https://community.graylog.org/t/update-graylog2/9101/5 "2019-02-26T16:07:34Z")

</div>

> [@Uporaba](#):
>
> where can I see how to update the version of elasticsearch, despite the fact that it works and stores 1.5 billion logs?

[http://docs.graylog.org/en/3.0/pages/upgrade.html#upgrading-elasticsearch](http://docs.graylog.org/en/3.0/pages/upgrade.html#upgrading-elasticsearch)  
🤓

---

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [February 27, 2019, 6:02am UTC](https://community.graylog.org/t/update-graylog2/9101/6 "2019-02-27T06:02:29Z")

</div>

i wanted to say what i need update elasticsearch to version 6 or graylog3 can work on version elasticsearch 5?

---

<div class="post-metadata">

### Author: ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)
#### Post date: [February 27, 2019, 6:56am UTC](https://community.graylog.org/t/update-graylog2/9101/7 "2019-02-27T06:56:11Z")

</div>

From the page with the upgrade information:

> Graylog 2.5 is the first Graylog version that supports Elasticsearch 6, the upgrade is recommended as soon as possible but might need more attention and include the need to reindex your data.

From the System Requirements page:

- [Elasticsearch 5 or later](https://www.elastic.co/downloads/elasticsearch)

[http://docs.graylog.org/en/3.0/pages/installation.html#system-requirements](http://docs.graylog.org/en/3.0/pages/installation.html#system-requirements)

---

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [February 27, 2019, 6:57am UTC](https://community.graylog.org/t/update-graylog2/9101/8 "2019-02-27T06:57:50Z")

</div>

oh… okay,thanks for the answer.

---

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [March 5, 2019, 7:53pm UTC](https://community.graylog.org/t/update-graylog2/9101/9 "2019-03-05T19:53:01Z")

</div>

after update i have this

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/6/61eca3cb578c0698b257bc75cbcd33312e1c4ba2.png)

---

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [March 5, 2019, 8:59pm UTC](https://community.graylog.org/t/update-graylog2/9101/10 "2019-03-05T20:59:46Z")

</div>

if i writing `curl localhost` i getting this:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/a/a1270ef30c36a94dacb95575474e1fca589a9441.png)

---

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [March 5, 2019, 9:02pm UTC](https://community.graylog.org/t/update-graylog2/9101/11 "2019-03-05T21:02:52Z")

</div>

but if i add port 9000 i getting this:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/7/7fb87cc01baebfb8079ea63f5e4d7de6e197191c.png)

---

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [March 5, 2019, 9:03pm UTC](https://community.graylog.org/t/update-graylog2/9101/12 "2019-03-05T21:03:59Z")

</div>

I think this is because of nginx. I have a redirect from port 9000 to port 80 and ssl connection using nginx

---

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [March 5, 2019, 10:02pm UTC](https://community.graylog.org/t/update-graylog2/9101/13 "2019-03-05T22:02:18Z")

</div>

Yes i use `curl https://ip-addr.graylog.com` and curl return me this

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/5/5556dc03c956163320294d3c13902307d1fef9fc.png) but if i use http prtocole curl returne me 301 error.

---

<div class="post-metadata">

### Author: ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)
#### Post date: [March 6, 2019, 6:33am UTC](https://community.graylog.org/t/update-graylog2/9101/14 "2019-03-06T06:33:25Z")

</div>

without knowing what you have configured nobody is able to help you - because google is your friend about http returncodes and their meaning …

---

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [March 6, 2019, 8:47am UTC](https://community.graylog.org/t/update-graylog2/9101/15 "2019-03-06T08:47:44Z")

</div>

Is solved. I forgot change revers proxy for graylog v3. But now i have same problems.

---

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [March 6, 2019, 8:51am UTC](https://community.graylog.org/t/update-graylog2/9101/16 "2019-03-06T08:51:23Z")

</div>

I made the ldap settings but they were not saved, then I went to the log and saw this:  
upd:solved.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/d/d59121bdce66be9ad007894415d8b14e43dfa182.png)

---

<div class="post-metadata">

### Author: ![Uporaba](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/uporaba/32/11232_2.png) [@Uporaba](https://community.graylog.org/u/Uporaba)
#### Post date: [March 6, 2019, 10:26am UTC](https://community.graylog.org/t/update-graylog2/9101/17 "2019-03-06T10:26:31Z")

</div>

And one last problem. How to solve it? Google did not give me the answer to this question.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/1/13797ffefb5d8fd1e0ff7a11c5c82d3795a086d1.png)

---

<div class="post-metadata">

### Author: ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)
#### Post date: [March 6, 2019, 10:43am UTC](https://community.graylog.org/t/update-graylog2/9101/18 "2019-03-06T10:43:20Z")

</div>

configure your Mailserver that Graylog is able to send messages as this sender. Just read the error message complete.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)
#### Post date: [March 20, 2019, 10:43am UTC](https://community.graylog.org/t/update-graylog2/9101/19 "2019-03-20T10:43:25Z")

</div>

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