Updated to version 4.2 but GUI still shows 4.1.6

Description of your problem

I tried to upgrade to the latest version 4.2 on standalone linux Oracle Linux OS, running Open Graylog. I run the commandd described in documentation, it is not the first upgrade:

#stopped graylog-server process

# sudo rpm -Uvh https://packages.graylog2.org/repo/packages/graylog-4.2-repository_latest.rpm
Retrieving https://packages.graylog2.org/repo/packages/graylog-4.2-repository_latest.rpm
Preparing...                          ################################# [100%]
        package graylog-4.2-repository-1-4.noarch is already installed
# this is because I did same command an hour earlier already


# sudo yum install graylog-server
Loaded plugins: langpacks, ulninfo
Package graylog-server-4.1.6-1.noarch already installed and latest version
Nothing to do

#start graylog-server

#start graylog gui, it stil shows version 4.1.6

In previous upgrades, I alwasy could see new version in GUI, but not this time.
IS it maybe because I don t run Enterprise graylog ?

^ Enterprise has nothing to do with this. If showing version numbers in the UI was an enterprise feature, that’d be a bit silly.

Have you looked at the contents of the repo to ensure that it shows version 4.2? Have you run yum upgrade graylog-server instead of yum install graylog-server?

Thanks for the hints. As I wrote upgrade process is usually very quick and easy and it worked many times before, also on that same system.

I tried also yum upgrade graylog server and it returns just this:

]# yum upgrade graylog-server
Loaded plugins: langpacks, ulninfo
No packages marked for update

Checked with yum list and it shows:

]# yum list | grep gray
graylog-4.2-repository.noarch           1-4                          installed
graylog-server.noarch                   4.1.6-1                      @graylog
graylog-4.1-repository.noarch           1-3                          graylog
graylog-enterprise.noarch               4.1.6-1                      graylog
graylog-enterprise-integrations-plugins.noarch

you probably mean conten of file /etc/yum.repo.d/graylog.repo . It seems ok:

[graylog]
name=graylog
baseurl=https://packages.graylog2.org/repo/el/stable/4.1/$basearch/
gpgcheck=1
repo_gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-graylog

^ Actually, it’s not correct/OK. If you look at the baseurl parameter, you’ll see that it’s still showing as 4.1. Change that you 4.2 and you’ll upgrade just fine.

2 Likes

Well, thanks for that . Friday afternoon weary eyes bug :-),.
I think myself wrote 4.1 into that file few hours ago. But this was only after original problems started, after I just run rpm and yum install commands . Better leave it at that.

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