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

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.

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

1 Like

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.

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

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?

read the docs carefully:

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

1 Like

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.

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.

1 Like

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

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