# What are the steps to upgrade from 3.0 to 3.1 ubuntu 18.04

**URL:** https://community.graylog.org/t/what-are-the-steps-to-upgrade-from-3-0-to-3-1-ubuntu-18-04/11630
**Category:** Graylog Central (peer support)
**Created:** [August 19, 2019, 11:05am UTC](https://community.graylog.org/t/what-are-the-steps-to-upgrade-from-3-0-to-3-1-ubuntu-18-04/11630 "2019-08-19T11:05:18Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![ryamgithub](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/ryamgithub/32/1145_2.png) [@ryamgithub](https://community.graylog.org/u/ryamgithub)
#### Post date: [August 19, 2019, 11:05am UTC](https://community.graylog.org/t/what-are-the-steps-to-upgrade-from-3-0-to-3-1-ubuntu-18-04/11630/1 "2019-08-19T11:05:18Z")

</div>

I’m ready to upgrade. I used to have the ova but now have 18.04 lts ubuntu and graylog 3.0.  
What are the steps to upgrade?  
Thank you for any info.

---

<div class="post-metadata">

### Author: ![DmitryShipovalov](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@DmitryShipovalov](https://community.graylog.org/u/DmitryShipovalov)
#### Post date: [August 19, 2019, 12:24pm UTC](https://community.graylog.org/t/what-are-the-steps-to-upgrade-from-3-0-to-3-1-ubuntu-18-04/11630/2 "2019-08-19T12:24:52Z")

</div>

[https://docs.graylog.org/en/3.1/pages/installation/operating\_system\_packages.html#operating-package-upgrade-deb-apt](https://docs.graylog.org/en/3.1/pages/installation/operating_system_packages.html#operating-package-upgrade-deb-apt)

wget https://packages.graylog2.org/repo/packages/graylog-3.1-repository\_latest.deb sudo dpkg -i graylog-3.1-repository\_latest.deb  
 sudo apt-get update sudo apt-get install graylog-server

---

<div class="post-metadata">

### Author: ![ryamgithub](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/ryamgithub/32/1145_2.png) [@ryamgithub](https://community.graylog.org/u/ryamgithub)
#### Post date: [August 19, 2019, 12:38pm UTC](https://community.graylog.org/t/what-are-the-steps-to-upgrade-from-3-0-to-3-1-ubuntu-18-04/11630/3 "2019-08-19T12:38:45Z")

</div>

Thanks so much - I did this in a test environment and during the last step:  
sudo apt-get install graylog-server it asked me if I wanted to keep /etc/graylog/server/server.conf  
The default was yes and I selected the default but are there any new settings that I need in this file going from 3.0 to 3.1?  
I have not upgraded production yet and want to make sure that the server.conf file has all settings needed for use in 3.1.  
Thank you.

---

<div class="post-metadata">

### Author: ![DmitryShipovalov](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@DmitryShipovalov](https://community.graylog.org/u/DmitryShipovalov)
#### Post date: [August 19, 2019, 3:26pm UTC](https://community.graylog.org/t/what-are-the-steps-to-upgrade-from-3-0-to-3-1-ubuntu-18-04/11630/4 "2019-08-19T15:26:04Z")

</div>

I choose default, then sudo apt upgrade and reboot  
System works normally.

---

<div class="post-metadata">

### Author: ![ryamgithub](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/ryamgithub/32/1145_2.png) [@ryamgithub](https://community.graylog.org/u/ryamgithub)
#### Post date: [August 19, 2019, 4:44pm UTC](https://community.graylog.org/t/what-are-the-steps-to-upgrade-from-3-0-to-3-1-ubuntu-18-04/11630/5 "2019-08-19T16:44:13Z")

</div>

So this question is for Graylog support - are there any fields needed in 3.1 that are not in the 3.0 server.conf file?

---

<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: [August 20, 2019, 4:24pm UTC](https://community.graylog.org/t/what-are-the-steps-to-upgrade-from-3-0-to-3-1-ubuntu-18-04/11630/6 "2019-08-20T16:24:05Z")

</div>

read the docs carefully:

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

> The upgrade notes are always written coming from the stable release before.

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

---

<div class="post-metadata">

### Author: ![ryamgithub](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/ryamgithub/32/1145_2.png) [@ryamgithub](https://community.graylog.org/u/ryamgithub)
#### Post date: [August 20, 2019, 4:55pm UTC](https://community.graylog.org/t/what-are-the-steps-to-upgrade-from-3-0-to-3-1-ubuntu-18-04/11630/7 "2019-08-20T16:55:30Z")

</div>

Thank you for the links.  
So my question is this:  
If I do the following:  
 wget https://packages.graylog2.org/repo/packages/graylog-3.1-repository\_latest.deb sudo dpkg -i graylog-3.1-repository\_latest.deb  
 sudo apt-get update sudo apt-get install graylog-server  
when I do the last above step it asks me if I want to keep the existing version of the server.conf file.  
What do I need to do?  
I see no instructions on what to do if I get this prompt  
Do I have to manually compare ?  
Will the upgrade merge the two?  
Should I back up the server.conf file before upgrading.  
Usually during an upgrade if config files change either the upgrade makes them or there are instructions on exactly what to do.  
Thanks for any assistance.  
I want to do this properly.

---

<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: [August 21, 2019, 8:00am UTC](https://community.graylog.org/t/what-are-the-steps-to-upgrade-from-3-0-to-3-1-ubuntu-18-04/11630/8 "2019-08-21T08:00:50Z")

</div>

in this case - as no changes to the configuration are needed, if you are coming from 3.0 - just keep the old configuration.

Your configuration contains your settings - if you would replace that, you would loose your settings. Should you upgrade from 2.5 you should take the new configuration and insert your settings into the new configuration - because settings have changed. But that is written in the upgrade guide to that version.

---

<div class="post-metadata">

### Author: ![ryamgithub](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/ryamgithub/32/1145_2.png) [@ryamgithub](https://community.graylog.org/u/ryamgithub)
#### Post date: [August 21, 2019, 10:47am UTC](https://community.graylog.org/t/what-are-the-steps-to-upgrade-from-3-0-to-3-1-ubuntu-18-04/11630/9 "2019-08-21T10:47:55Z")

</div>

Thank you so very much for this information.  
Greatly appreciated!

---

<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: [September 4, 2019, 10:49am UTC](https://community.graylog.org/t/what-are-the-steps-to-upgrade-from-3-0-to-3-1-ubuntu-18-04/11630/10 "2019-09-04T10:49:48Z")

</div>

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