Unable to upgrade to Graylog 5.0

Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.
Don’t forget to select tags to help index your topic!

1. Describe your incident:
Unable to upgrade to v5.0 of graylog. Ive had no problems upgrading prevous minor versions.

sudo apt-get install graylog-server
Reading package lists… Done
Building dependency tree
Reading state information… Done
graylog-server is already the newest version (4.3.10-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

2. Describe your environment:

  • OS Information: Ubuntu 20.04

  • Package Version: 4.3.10-1

  • Service logs, configurations, and environment variables:

3. What steps have you already taken to try and solve the problem? sudo apt update. sudo apt upgrade

4. How can the community help?
Any tips or tricks?

Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]

I am not sure if you can update Graylog with:

sudo apt-get install graylog-server

Graylog 5 has a lot of changes, it is better to follow the official guide on how to upgrade it. Graylog 5 requires a different mongo version.

You might can try:

wget https://packages.graylog2.org/repo/packages/graylog-5.0-repository_latest.deb
sudo dpkg -i graylog-5.0-repository_latest.deb
sudo apt-get update && sudo apt-get install graylog-server

If it is a test instance (throw away), maybe you can risk it without looking into the documentation, but if it is in any for a production environment, read more about the upgrade process.
There is a video with all steps and how to upgrade mongo first.

1 Like

Second this…

It is not a simple upgrade… for instance if you are in a hyper-v environment, you may not be able to upgrade to MongoDB 5 and Graylog 5 docs state the Mongo 5 or 6 is required

1 Like

Thanks everyone. This is still a test. Im within an ESXi environment but im backing up the VM so im ok to do the upgrade from that standpoint.
The problem was finding the documentation on upgrading.

edit - i have to RTFM.
needed to update my repo as instructed. Im good now.

2 Likes

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