Upgrade to UCS 4.4.4 does not finsh

Hello,

i want to upgrade my UCS Server 4.3.2 to the latest version. I cant see any error in de var/log/univention/update.log. but it is updating since 15 hours. I checked other logs as well but i cant find suspicious entrys or i missed them.
What can i do?

To explain the context:
The plan is to replace the master domain controller with new hardware. I installed on a new server the same UCS Version 4.3.2 as the old DC Master and joined the domain as DC Backup. I put the DC backup server in test environment , promoted the DC backup to DC master. everything was worked well. and now i try to upgrade this new server to the latest UCS version.

Thanks for any advice.
Ric

var/log/univention/update.log:

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Checking for package updates: found

Please rerun command without --check argument to install.

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Checking for local repository: none

Checking for package updates: found

The following packages will be installed:

sysvinit,python-cached-property,python-websocket,python-backports.ssl-match-hostname,python-docker,python-dockerpty,python-docopt,python-functools32,python-funcsigs,python-pbr,python-mock,python3-pkg-resources,python-jsonschema,python-texttable,docker-compose,python-ruamel.ordereddict,python-typing,python-ruamel.yaml,python-lazy-object-proxy,hunspell-de-de

The following packages will be upgraded:

base-files,libperl5.24,perl,perl-base,perl-modules-5.24,xserver-common,xserver-xorg-core,libudev1,udev,libpam-systemd,libsystemd0,systemd,systemd-sysv,libseccomp2,libprocps3,libssl1.0.2,apache2,apache2-bin,apache2-utils,apache2-data,grub-pc,grub-pc-bin,grub2-common,libfuse2,grub-common,imagemagick-6-common,liblcms2-2,libtiff5,libx11-data,libx11-6,libmagickcore-6.q16-3,libmagickwand-6.q16-3,samba-vfs-modules,python2.7,python2.7-minimal,libpython2.7,libpython2.7-stdlib,libpython2.7-minimal,libssl1.1,python-samba,samba,samba-dsdb-modules,winbind,smbclient,libsmbclient,samba-common-bin,samba-libs,libwbclient0,samba-common,libarchive13,libunbound2,libgnutls-dane0,libgnutls30,libvlccore9,libvlc5,python3.5,python3.5-minimal,libpython3.5-stdlib,libpython3.5-minimal,qemu-system-common,openssl,stunnel4,univention-config,python-univention-config-registry,univention-appcenter-docker,univention-web-js,univention-web-style,univention-management-console-login,univention-management-console-frontend,univention-base-packages,shell-univention-lib,python-univention-lib,univention-base-files,curl,libcurl3,php7.0-json,php7.0-opcache,tzdata,php7.0-cgi,php7.0-ldap,php7.0-mcrypt,php7.0-xml,php7.0-readline,libapache2-mod-php7.0,php7.0-cli,php7.0-common,univention-directory-manager-tools,python-univention-directory-manager,python-univention-directory-manager-cli,apache2-suexec-pristine,univention-saml,univention-saml-schema,univention-management-console-web-server,univention-management-console-module-updater,univention-errata-level,univention-updater,univention-management-console-module-join,univention-join,univention-management-console,univention-management-console-server,python-univention-management-console,univention-management-console-module-setup,univention-system-setup,univention-management-console-module-apps,univention-management-console-module-appcenter,univention-management-console-module-diagnostic,libunivention-config0,libunivention-policy0,univention-directory-listener,univention-portal,dirmngr,gnupg,gnupg-agent,univention-appcenter,python-univention-appcenter,univention-ssl,univention-ldap-acl-master,univention-ldap-server,univention-ldap-config,univention-policy-tools,univention-quota,vlc-plugin-video-output,libbasicusageenvironment1,libgroupsock8,liblivemedia57,libopenmpt0,libopenmpt-modplug1,libusageenvironment3,vlc-plugin-base,vlc-data,gpgv,libxapian30,libtirpc1,dnsmasq-base,firefox-esr-l10n-de,libx11-xcb1,firefox-esr,firmware-amd-graphics,firmware-linux,firmware-linux-nonfree,firmware-misc-nonfree,firmware-atheros,firmware-bnx2,firmware-bnx2x,firmware-brcm80211,firmware-cavium,firmware-intelwimax,firmware-iwlwifi,firmware-libertas,firmware-myricom,firmware-netxen,firmware-qlogic,firmware-realtek,firmware-ti-connectivity,ghostscript,libgs9,libgs9-common,gnutls-bin,libcurl3-gnutls,libgd3,libmariadbclient18,okular,libokularcore7,policykit-1,libpolkit-agent-1-0,libpolkit-backend-1-0,libpolkit-gobject-1-0,librbd1,librados2,libspice-server1,libssh-gcrypt-4,libxcursor1,linux-image-4.9.0-8-amd64-signed,linux-image-4.9.0-8-amd64,mariadb-common,mariadb-client-core-10.1,mariadb-server-core-10.1,php7.0,univention-samba-local-config,univention-samba4,univention-samba4-sysvol-sync,univention-s4-connector,python-univention-connector-s4,univention-virtual-machine-manager-schema,python-univention-directory-manager-uvmm,univention-virtual-machine-manager-daemon,univention-management-console-module-uvmm,python-univention-virtual-machine-manager,qemu-kvm,libbrlapi0.6,qemu-system-x86,qemu-utils,univention-ldap-client,univention-management-console-module-quota,univention-management-console-module-udm,univention-radius

Starting dist-update at Thu Apr 30 09:18:41 2020…

Starting package upgrade Paketlisten werden gelesen…

Abhängigkeitsbaum wird aufgebaut…

Statusinformationen werden eingelesen…

Paketaktualisierung (Upgrade) wird berechnet…

Die folgenden NEUEN Pakete werden installiert:

docker-compose hunspell-de-de python-backports.ssl-match-hostname

python-cached-property python-docker python-dockerpty python-docopt

python-funcsigs python-functools32 python-jsonschema

python-lazy-object-proxy python-mock python-pbr python-ruamel.ordereddict

python-ruamel.yaml python-texttable python-typing python-websocket

python3-pkg-resources sysvinit

Die folgenden Pakete werden aktualisiert (Upgrade):

apache2 apache2-bin apache2-data apache2-suexec-pristine apache2-utils

base-files curl dirmngr dnsmasq-base firefox-esr firefox-esr-l10n-de

firmware-amd-graphics firmware-atheros firmware-bnx2 firmware-bnx2x

firmware-brcm80211 firmware-cavium firmware-intelwimax firmware-iwlwifi

firmware-libertas firmware-linux firmware-linux-nonfree

firmware-misc-nonfree firmware-myricom firmware-netxen firmware-qlogic

firmware-realtek firmware-ti-connectivity ghostscript gnupg gnupg-agent

gnutls-bin gpgv grub-common grub-pc grub-pc-bin grub2-common

imagemagick-6-common libapache2-mod-php7.0 libarchive13

libbasicusageenvironment1 libbrlapi0.6 libcurl3 libcurl3-gnutls libfuse2

libgd3 libgnutls-dane0 libgnutls30 libgroupsock8 libgs9 libgs9-common

liblcms2-2 liblivemedia57 libmagickcore-6.q16-3 libmagickwand-6.q16-3

libmariadbclient18 libokularcore7 libopenmpt-modplug1 libopenmpt0

libpam-systemd libperl5.24 libpolkit-agent-1-0 libpolkit-backend-1-0

libpolkit-gobject-1-0 libprocps3 libpython2.7 libpython2.7-minimal

libpython2.7-stdlib libpython3.5-minimal libpython3.5-stdlib librados2

librbd1 libseccomp2 libsmbclient libspice-server1 libssh-gcrypt-4

libssl1.0.2 libssl1.1 libsystemd0 libtiff5 libtirpc1 libudev1 libunbound2

libunivention-config0 libunivention-policy0 libusageenvironment3 libvlc5

libvlccore9 libwbclient0 libx11-6 libx11-data libx11-xcb1 libxapian30

libxcursor1 linux-image-4.9.0-8-amd64 linux-image-4.9.0-8-amd64-signed

mariadb-client-core-10.1 mariadb-common mariadb-server-core-10.1 okular

openssl perl perl-base perl-modules-5.24 php7.0 php7.0-cgi php7.0-cli

php7.0-common php7.0-json php7.0-ldap php7.0-mcrypt php7.0-opcache

php7.0-readline php7.0-xml policykit-1 python-samba

python-univention-appcenter python-univention-config-registry

python-univention-connector-s4 python-univention-directory-manager

python-univention-directory-manager-cli

python-univention-directory-manager-uvmm python-univention-lib

python-univention-management-console

python-univention-virtual-machine-manager python2.7 python2.7-minimal

python3.5 python3.5-minimal qemu-kvm qemu-system-common qemu-system-x86

qemu-utils samba samba-common samba-common-bin samba-dsdb-modules samba-libs

samba-vfs-modules shell-univention-lib smbclient stunnel4 systemd

systemd-sysv tzdata udev univention-appcenter univention-appcenter-docker

univention-base-files univention-base-packages univention-config

univention-directory-listener univention-directory-manager-tools

univention-errata-level univention-join univention-ldap-acl-master

univention-ldap-client univention-ldap-config univention-ldap-server

univention-management-console univention-management-console-frontend

univention-management-console-login

univention-management-console-module-appcenter

univention-management-console-module-apps

univention-management-console-module-diagnostic

univention-management-console-module-join

univention-management-console-module-quota

univention-management-console-module-setup

univention-management-console-module-udm

univention-management-console-module-updater

univention-management-console-module-uvmm

univention-management-console-server

univention-management-console-web-server univention-policy-tools

univention-portal univention-quota univention-radius univention-s4-connector

univention-samba-local-config univention-samba4

univention-samba4-sysvol-sync univention-saml univention-saml-schema

univention-ssl univention-system-setup univention-updater

univention-virtual-machine-manager-daemon

univention-virtual-machine-manager-schema univention-web-js

univention-web-style vlc-data vlc-plugin-base vlc-plugin-video-output

winbind xserver-common xserver-xorg-core

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Starting univention-upgrade. Current UCS version is 4.3-2 errata229

Maybe there is a process hanging (e.g. grub-probe). Please post the process list:

ps aux

Hey thank you for your reply.

the output from ps aux ist to long for a reply here:
https://pastebin.com/CMx4qKn9

I can’t see anything unusual. Do you have posted the full updater log? How works the connection to the internet? Is there a proxy involved?

I never did such a hughe jump on releases
I ever do step by step - 4.3-2 to 4.3-3 up to 4.3-5 then to 4.4-0 and up to 4.4-4

rg
Christian

No did not post the full updater log. I only postet the second attemt to upgarde the server.
There are some errors in it because the live server and domain controller has some restrictive DNS and MAC filtering/redirection going on.
I have moved the Server in test envieroment without the old Server and without DNS and MAC filtering. I did the backup to master transformation. and triggert the upgrade.
The Internet connection in my test envieroment is straightforward just a regular router (fritzbox). no proxy, no blocking firewall.

here is the full update log. i have marked the start of my first und second attemed to upgrade with a row of ===
https://pastebin.com/m7Xq564a

What’s “the old server”? Waht’s the role of the system you’re trying to upgrade?

ucr search --brief role

The old server is still dc master and is still active in another network but just in another network and will be shut down when the update is complete and everything works as it should. Then the new server will replace the old one.

I found a solution. After i started looking at all the files that have a modification date of today. I found a note in in var/log/univention-updater/univention-updater.status.details
media-change.. Please insert the disk labeled: UCS Linux 4.3....
i checked the /etc/apt/source.list there was only the UCS DVD as source.
Then copied some deb sources from etc/apt/sources.list.d/00_ucs-temporaystrusted intro the the /etc/apt/source.list
And resartet the upgearde in smaller steps with reboots in between to the latest version.

Ok that explains a lot. Maybe we should check your settings:

ucr search --brief repository

I dont understand why is only contained the dvd as reposetory:

local/repository:
online/repository/clean:
repository/app_center/blacklist:
repository/app_center/installed: DH-KD-KV-RA-S4-UV
repository/app_center/server: appcenter.software-univention.de
repository/app_center/whitelist:
repository/credentials/./password:
repository/credentials/.
/uris:
repository/credentials/./username:
repository/credentials/Univention Software Repository/uris: updates.software-uni vention.de updates-test.software-univention.de appcenter.software-univention.de appcenter-test.software-univention.de
repository/mirror/architectures:
repository/mirror/basepath: /var/lib/univention-repository
repository/mirror/httpmethod:
repository/mirror/port:
repository/mirror/prefix:
repository/mirror/recreate_packages: no
repository/mirror/server:
repository/mirror/sources:
repository/mirror/threads: 10
repository/mirror/timeout:
repository/mirror/verify:
repository/mirror/version/end:
repository/mirror/version/start:
repository/mirror: no
repository/online/architectures:
repository/online/component/.
/clean:
repository/online/component/./description:
repository/online/component/.
/localmirror:
repository/online/component/./password:
repository/online/component/.
/port:
repository/online/component/./prefix:
repository/online/component/.
/server:
repository/online/component/./unmaintained:
repository/online/component/.
/username:
repository/online/component/./version:
repository/online/component/.
:
repository/online/component/4.3-2-errata/description: Errata updates for UCS 4.3 -2
repository/online/component/4.3-2-errata/localmirror: true
repository/online/component/4.3-2-errata/version: 4.3
repository/online/component/4.3-2-errata: false
repository/online/component/4.3-3-errata/description: Errata updates for UCS 4.3 -3
repository/online/component/4.3-3-errata/localmirror: true
repository/online/component/4.3-3-errata/version: 4.3
repository/online/component/4.3-3-errata: false
repository/online/component/4.3-4-errata/description: Errata updates for UCS 4.3 -4
repository/online/component/4.3-4-errata/localmirror: true
repository/online/component/4.3-4-errata/version: 4.3
repository/online/component/4.3-4-errata: false
repository/online/component/4.3-5-errata/description: Errata updates for UCS 4.3 -5
repository/online/component/4.3-5-errata/version: 4.3
repository/online/component/4.3-5-errata: enabled
repository/online/component/4.4-0-errata/description: Errata updates for UCS 4.4 -0
repository/online/component/4.4-0-errata/localmirror: true
repository/online/component/4.4-0-errata/version: 4.4
repository/online/component/4.4-0-errata: false
repository/online/component/4.4-1-errata/description: Errata updates for UCS 4.4 -1
repository/online/component/4.4-1-errata/localmirror: true
repository/online/component/4.4-1-errata/version: 4.4
repository/online/component/4.4-1-errata: false
repository/online/component/4.4-2-errata/description: Errata updates for UCS 4.4 -2
repository/online/component/4.4-2-errata/localmirror: true
repository/online/component/4.4-2-errata/version: 4.4
repository/online/component/4.4-2-errata: false
repository/online/component/4.4-3-errata/description: Errata updates for UCS 4.4 -3
repository/online/component/4.4-3-errata/localmirror: true
repository/online/component/4.4-3-errata/version: 4.4
repository/online/component/4.4-3-errata: false
repository/online/component/4.4-4-errata/description: Errata updates for UCS 4.4 -4
repository/online/component/4.4-4-errata/version: 4.4
repository/online/component/4.4-4-errata: enabled
repository/online/httpmethod:
repository/online/port:
repository/online/prefix:
repository/online/server: https://updates.software-univention.de/
repository/online/sources:
repository/online/timeout:
repository/online/unmaintained: no
repository/online/verify:
repository/online: yes
rico@tjenerson:~$ sudo ucr search --brief repository
local/repository:
online/repository/clean:
repository/app_center/blacklist:
repository/app_center/installed: DH-KD-KV-RA-S4-UV
repository/app_center/server: appcenter.software-univention.de
repository/app_center/whitelist:
repository/credentials/./password:
repository/credentials/.
/uris:
repository/credentials/./username:
repository/credentials/Univention Software Repository/uris: updates.software-univention.de updates-test.software-univention.de appcenter.software-univention.de appcenter-test.software-univention.de
repository/mirror/architectures:
repository/mirror/basepath: /var/lib/univention-repository
repository/mirror/httpmethod:
repository/mirror/port:
repository/mirror/prefix:
repository/mirror/recreate_packages: no
repository/mirror/server:
repository/mirror/sources:
repository/mirror/threads: 10
repository/mirror/timeout:
repository/mirror/verify:
repository/mirror/version/end:
repository/mirror/version/start:
repository/mirror: no
repository/online/architectures:
repository/online/component/.
/clean:
repository/online/component/./description:
repository/online/component/.
/localmirror:
repository/online/component/./password:
repository/online/component/.
/port:
repository/online/component/./prefix:
repository/online/component/.
/server:
repository/online/component/./unmaintained:
repository/online/component/.
/username:
repository/online/component/./version:
repository/online/component/.
:
repository/online/component/4.3-2-errata/description: Errata updates for UCS 4.3-2
repository/online/component/4.3-2-errata/localmirror: true
repository/online/component/4.3-2-errata/version: 4.3
repository/online/component/4.3-2-errata: false
repository/online/component/4.3-3-errata/description: Errata updates for UCS 4.3-3
repository/online/component/4.3-3-errata/localmirror: true
repository/online/component/4.3-3-errata/version: 4.3
repository/online/component/4.3-3-errata: false
repository/online/component/4.3-4-errata/description: Errata updates for UCS 4.3-4
repository/online/component/4.3-4-errata/localmirror: true
repository/online/component/4.3-4-errata/version: 4.3
repository/online/component/4.3-4-errata: false
repository/online/component/4.3-5-errata/description: Errata updates for UCS 4.3-5
repository/online/component/4.3-5-errata/version: 4.3
repository/online/component/4.3-5-errata: enabled
repository/online/component/4.4-0-errata/description: Errata updates for UCS 4.4-0
repository/online/component/4.4-0-errata/localmirror: true
repository/online/component/4.4-0-errata/version: 4.4
repository/online/component/4.4-0-errata: false
repository/online/component/4.4-1-errata/description: Errata updates for UCS 4.4-1
repository/online/component/4.4-1-errata/localmirror: true
repository/online/component/4.4-1-errata/version: 4.4
repository/online/component/4.4-1-errata: false
repository/online/component/4.4-2-errata/description: Errata updates for UCS 4.4-2
repository/online/component/4.4-2-errata/localmirror: true
repository/online/component/4.4-2-errata/version: 4.4
repository/online/component/4.4-2-errata: false
repository/online/component/4.4-3-errata/description: Errata updates for UCS 4.4-3
repository/online/component/4.4-3-errata/localmirror: true
repository/online/component/4.4-3-errata/version: 4.4
repository/online/component/4.4-3-errata: false
repository/online/component/4.4-4-errata/description: Errata updates for UCS 4.4-4
repository/online/component/4.4-4-errata/version: 4.4
repository/online/component/4.4-4-errata: enabled
repository/online/httpmethod:
repository/online/port:
repository/online/prefix:
repository/online/server: https://updates.software-univention.de/
repository/online/sources:
repository/online/timeout:
repository/online/unmaintained: no
repository/online/verify:
repository/online: yes

Yes looks fine for me …

Mastodon