Koozali.org: home of the SME Server

Upgrading fom SME 9.1 to 9.2: inconsistent update reports

Offline turandot

  • *
  • 82
  • +0/-0
Upgrading fom SME 9.1 to 9.2: inconsistent update reports
« on: May 04, 2017, 07:56:47 PM »
Today I have updated my first productive server from SME 9.1 to 9.2 by the console update yum update followed by signal-event post-upgrade and signal-event reboot. Afterwards I see on the console the following:
Code: [Select]
[root@myserver ~]# yum update
Geladene Plugins: fastestmirror, smeserver
Einrichten des Aktualisierungsprozess
Determining fastest mirrors
 * base: mirror1.hs-esslingen.de
 * smeaddons: mirrors.rbx.opencare.nl
 * smeextras: mirrors.rbx.opencare.nl
 * smeos: mirrors.rbx.opencare.nl
 * smeupdates: mirrors.rbx.opencare.nl
 * updates: ftp.fau.de
base                                                     | 3.7 kB     00:00
base/primary_db                                          | 3.7 MB     00:05
smeaddons                                                | 2.9 kB     00:00
smeaddons/primary_db                                     | 1.2 kB     00:00
smeextras                                                | 2.9 kB     00:00
smeextras/primary_db                                     | 109 kB     00:00
smeos                                                    | 3.1 kB     00:00
smeos/primary_db                                         | 1.1 MB     00:01
smeupdates                                               | 2.9 kB     00:00
smeupdates/primary_db                                    | 1.2 kB     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 763 kB     00:01
Keine Pakete für die Aktualisierung markiert
[root@myserver ~]#
In other words: all updates should have been installed. However on the WebGUI (server manager) I see a different picture, see attached screenshot.

Trying to install the available updates through the server manager followed by a reconfiguration and reboot through the server manager does not resolve the situation.

What is wrong here? How can I fix this issue?

Thanks, turandot


Edit: it looks like that all updates for SME 9.2 are still shown (approx. 210 updates) in the server manager.
« Last Edit: May 04, 2017, 09:05:40 PM by turandot »

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Upgrading fom SME 9.1 to 9.2: inconsistent update reports
« Reply #1 on: May 04, 2017, 09:49:41 PM »
this is because the web page gets its info from yum_updates db, which is updated (AFAIR) during the night


Offline Jean-Philippe Pialasse

  • *
  • 2,913
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Upgrading fom SME 9.1 to 9.2: inconsistent update reports
« Reply #2 on: May 04, 2017, 09:56:32 PM »
the manager rely on a nightly check of the available updates. so what it shows is not up to date.

I think you point a bug not already worked on, as either one is using cli or gui but rarely both most of people won't notice this.


I just tested to update with the cli, reboot  and I can confirm it is still there in the gui.

issuing the following will make it clear
 
Code: [Select]
/usr/bin/sv o /service/yum
can you post a bug with your observation ?

this is usually run by /etc/cron.daily/smeserver-yum , but we could assume that issuing a post-upgrade should trigger this too

Offline turandot

  • *
  • 82
  • +0/-0
Re: Upgrading fom SME 9.1 to 9.2: inconsistent update reports
« Reply #3 on: May 05, 2017, 07:11:28 PM »
I confirm: the proposed command solves the issue.

I will post a bug as suggested by Jean-Philippe.

Thanks! turandot