Problem: Release Update message is still present after the update is finished

Problem:

Caution! Currently a release update is performed!
Leave the system up and running until the update is completed!

or

Achtung! Momentan wird ein System-Update ausgeführt!
Lassen Sie das System eingeschaltet bis das Update abgeschlossen ist!

You still get this messaages in the UMC and it is not possible to make any changes or use the UMC.

Solution:

  • You can first check, if the maintenance mode ist still active:

First, check variable:
ucr get updater/maintenance

If it is “true” set it to “false”:
ucr set updater/maintenance=false

Then stop maintenance mode by:
systemctl stop univention-maintenance-mode.service

If this succeeds so far rewrite configuration files and restart apache:

ucr commit /etc/apache2/sites-available/univention-proxy.conf /etc/apache2/sites-available/univention.conf
systemctl reload apache2.service
  • Maybe atq shows a process.
root@ucs:~# atq
75    Wed Oct 31 19:22:00 2018 = root
root@ucs:~# at -c 75
#!/bin/sh
# atrun uid=0 gid=0
# mail root 0
umask 77
PATH=/bin:/sbin:/usr/bin:/usr/sbin; export PATH
LANG=de_DE.UTF-8; export LANG
cd / || {
     echo 'Execution directory inaccessible' >&2
     exit 1
}
# Comment: lines:5600
# --- Univention-Lib at job  ---

/usr/share/univention-updater/disable-apache2-umc
/usr/share/univention-updater/univention-updater net --updateto 4.3-2 --ignoressh --ignoreterm < /dev/null
/usr/share/univention-updater/enable-apache2-umc --no-restart

root@ucs:~# atrm 75
or
root@ucs:~# at -r 75
removes the job and the UMC is accessible again

If manual kill took place verify if
/var/lock/univention-updater
exists. If remove it

2 Likes
Mastodon