Unable to install second kopano core on backup dc

Hello,

in short, I’ve got an installation of a ucs domain master with kopano core and webapp on top of it, running on an old pc. The goal is to move the kopano installation to new vm, on which a ucs backup dc is installed so far. Another backup dc is installed on a second vm, which should replace the master later on.

All ucs servers are updated to the latest release and patches. Now, when I try to setup the kopano core app on the first backup dc, installation fails / hangs at 25% with messages “must_not_have_concurrent_operations”. Hm, I let the systems alone for 2 hours, still the same. After that, I restarted all servers and tried again, with same result. It doesn’t matter, from which server I start the installation, target was always the first backup dc, hang was always the same.

I decided to throw the second backup dc away, thinking may be this will help, but, no, only difference now it hangs by 50%.

So, I need some help here, anyone a solution to get the second kopano core installed?

Hi @LinuxNow,

can you post your appcenter.log from around the time you try to install?

Hey @fbartels,

here is part of the log, tried it again this morning:

  3027 packages                         19-07-26 10:01:28 [   DEBUG]: Holding LOCK
  3027 actions.install                  19-07-26 10:01:33 [    INFO]: Dry run for kopano-core=8.7.1.0
  3027 actions.install                  19-07-26 10:01:33 [    INFO]: Registering component for kopano-core=8.7.1.0
  3027 actions.install                  19-07-26 10:01:33 [   DEBUG]: Adding repository/online/component/kopano-core_20190418110013
  3027 actions.install                  19-07-26 10:01:33 [    INFO]: File: /etc/apt/sources.list.d/20_ucs-online-component.list
  3027 actions.install                  19-07-26 10:01:33 [    INFO]: 
  3027 actions.install                  19-07-26 10:01:37 [    INFO]: File: /etc/apt/mirror.list
  3027 actions.install                  19-07-26 10:01:37 [    INFO]: 
  3027 actions.install                  19-07-26 10:01:37 [    INFO]: File: /etc/apt/sources.list.d/15_ucs-online-version.list
  3027 actions.install                  19-07-26 10:01:37 [    INFO]: 
  3027 actions.install                  19-07-26 10:01:47 [   DEBUG]: Updating packages
  3027 packages                         19-07-26 10:01:47 [   DEBUG]: Calling /usr/bin/apt-get update
  3027 packages                         19-07-26 10:01:47 [    INFO]: Ign:1 https://updates.software-univention.de/4.0/maintained 4.0-0/all/ InRelease
  3027 packages                         19-07-26 10:01:47 [    INFO]: Ign:2 https://appcenter.software-univention.de/univention-repository/4.4/maintained/comp
(INFO Messages cut off, all OK)
  3027 packages                         19-07-26 10:01:52 [    INFO]: Es wurden 96,2 kB in 5 s geholt (18,4 kB/s).
  3027 packages                         19-07-26 10:01:53 [    INFO]: Paketlisten werden gelesen...
  3027 actions.install                  19-07-26 10:01:53 [   DEBUG]: Component kopano-core_20190418110013 registered
  3027 actions.install                  19-07-26 10:01:53 [   DEBUG]: Dry running with [u'kopano4ucs']
  3027 packages                         19-07-26 10:01:53 [   DEBUG]: Calling /usr/bin/apt-get -o DPkg::Options::=--force-confold -o DPkg::Options::=--force-overwrite -o DPkg::Options::=--force-overwrite-dir --trivial-only=no --assume-yes --auto-remove install -s kopano4ucs
  3027 packages                         19-07-26 10:01:53 [    INFO]: Paketlisten werden gelesen...
  3027 packages                         19-07-26 10:01:53 [    INFO]: Abhängigkeitsbaum wird aufgebaut....
  3027 packages                         19-07-26 10:01:53 [    INFO]: Statusinformationen werden eingelesen....
  3027 packages                         19-07-26 10:01:53 [    INFO]: The following additional packages will be installed:
  3027 packages                         19-07-26 10:01:53 [    INFO]:   altermime amavisd-new binutils bsd-mailx catdoc clamav clamav-base
  3027 packages                         19-07-26 10:01:53 [    INFO]:   clamav-daemon clamav-freshclam clamdscan galera-3 gawk gcc gcc-6
  3027 packages                         19-07-26 10:01:53 [    INFO]:   kopano-backup kopano-client kopano-common kopano-contacts kopano-dagent
  3027 packages                         19-07-26 10:01:53 [    INFO]:   kopano-gateway kopano-ical kopano-lang kopano-monitor kopano-python-utils
  3027 packages                         19-07-26 10:01:53 [    INFO]:   kopano-search kopano-server kopano-server-packages kopano-spooler
  3027 packages                         19-07-26 10:01:53 [    INFO]:   kopano-utils kopano4ucs-lib kopano4ucs-schema kopano4ucs-udm libaio1
(Package listing cut off, INFO: Inst, INFO: Conf)
  3027 packages                         19-07-26 10:01:53 [    INFO]: Conf univention-spamassassin (9.0.0-6A~4.3.0.201803091404 Univention Corporate Server:4.3-0/ucs430 [all])
  3027 packages                         19-07-26 10:01:53 [    INFO]: Conf univention-antivir-mail (9.0.0-5A~4.3.0.201811271114 Univention Corporate Server:4.3-3/ucs433 [all])
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/description
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/server
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/version
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/localmirror
  3027 actions.install                  19-07-26 10:02:05 [   DEBUG]: Updating packages
  3027 packages                         19-07-26 10:02:05 [   DEBUG]: Calling /usr/bin/apt-get update
  3027 packages                         19-07-26 10:02:05 [    INFO]: Ign:1 https://updates.software-univention.de/4.0/maintained 4.0-0/all/ InRelease
(listing cut)
  3027 packages                         19-07-26 10:01:53 [    INFO]: Conf univention-spamassassin (9.0.0-6A~4.3.0.201803091404 Univention Corporate Server:4.3-0/ucs430 [all])
  3027 packages                         19-07-26 10:01:53 [    INFO]: Conf univention-antivir-mail (9.0.0-5A~4.3.0.201811271114 Univention Corporate Server:4.3-3/ucs433 [all])
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/description
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/server
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/version
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/localmirror
  3027 actions.install                  19-07-26 10:02:05 [   DEBUG]: Updating packages
  3027 packages                         19-07-26 10:02:05 [   DEBUG]: Calling /usr/bin/apt-get update
  3027 packages                         19-07-26 10:02:05 [    INFO]: Ign:1 https://updates.software-univention.de/4.0/maintained 4.0-0/all/ InRelease
(listing cut)
  3027 packages                         19-07-26 10:01:53 [    INFO]: Conf univention-spamassassin (9.0.0-6A~4.3.0.201803091404 Univention Corporate Server:4.3-0/ucs430 [all])
  3027 packages                         19-07-26 10:01:53 [    INFO]: Conf univention-antivir-mail (9.0.0-5A~4.3.0.201811271114 Univention Corporate Server:4.3-3/ucs433 [all])
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/description
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/server
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/version
  3027 actions.install                  19-07-26 10:01:54 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/localmirror
  3027 actions.install                  19-07-26 10:02:05 [   DEBUG]: Updating packages
  3027 packages                         19-07-26 10:02:05 [   DEBUG]: Calling /usr/bin/apt-get update
  3027 packages                         19-07-26 10:02:05 [    INFO]: Ign:1 https://updates.software-univention.de/4.0/maintained 4.0-0/all/ InRelease
(listing cut)
  3027 packages                         19-07-26 10:02:39 [    INFO]: OK:149 https://updates.software-univention.de/4.4/maintained/component 4.4-1-errata/amd64/ Release
  3027 packages                         19-07-26 10:02:41 [    INFO]: Es wurden 96,2 kB in 5 s geholt (18,2 kB/s).
  3027 packages                         19-07-26 10:02:42 [    INFO]: Paketlisten werden gelesen...
  3027 actions.install                  19-07-26 10:02:42 [   DEBUG]: Component kopano-core_20190418110013 registered
  3027 actions.install                  19-07-26 10:02:42 [   DEBUG]: Dry running with [u'kopano4ucs']
  3027 packages                         19-07-26 10:02:42 [   DEBUG]: Calling /usr/bin/apt-get -o DPkg::Options::=--force-confold -o DPkg::Options::=--force-overwrite -o DPkg::Options::=--force-overwrite-dir --trivial-only=no --assume-yes --auto-remove install -s kopano4ucs
  3027 packages                         19-07-26 10:02:42 [    INFO]: Paketlisten werden gelesen...
  3027 packages                         19-07-26 10:02:42 [    INFO]: Abhängigkeitsbaum wird aufgebaut....
  3027 packages                         19-07-26 10:02:42 [    INFO]: Statusinformationen werden eingelesen....
  3027 packages                         19-07-26 10:02:42 [    INFO]: The following additional packages will be installed:
  3027 packages                         19-07-26 10:02:42 [    INFO]:   altermime amavisd-new binutils bsd-mailx catdoc clamav clamav-base
  3027 packages                         19-07-26 10:02:42 [    INFO]:   clamav-daemon clamav-freshclam clamdscan galera-3 gawk gcc gcc-6
(listing cut, INFO: Inst, INFO: Conf)
  3027 packages                         19-07-26 10:02:42 [    INFO]: Conf univention-antivir-mail (9.0.0-5A~4.3.0.201811271114 Univention Corporate Server:4.3-3/ucs433 [all])
  3027 actions.install                  19-07-26 10:02:43 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/description
  3027 actions.install                  19-07-26 10:02:43 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013
  3027 actions.install                  19-07-26 10:02:43 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/server
  3027 actions.install                  19-07-26 10:02:43 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/version
  3027 actions.install                  19-07-26 10:02:43 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/localmirror
  3027 actions.install                  19-07-26 10:02:54 [   DEBUG]: Updating packages
  3027 packages                         19-07-26 10:02:54 [   DEBUG]: Calling /usr/bin/apt-get update
  3027 packages                         19-07-26 10:02:54 [    INFO]: Ign:1 https://updates.software-univention.de/4.0/maintained 4.0-0/all/ InRelease
  3027 packages                         19-07-26 10:02:54 [    INFO]: Ign:2 https://updates.software-univention.de/4.0/maintained 4.0-0/amd64/ InRelease
(listing cut)
  3027 packages                         19-07-26 10:02:42 [    INFO]: Conf univention-antivir-mail (9.0.0-5A~4.3.0.201811271114 Univention Corporate Server:4.3-3/ucs433 [all])
  3027 actions.install                  19-07-26 10:02:43 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/description
  3027 actions.install                  19-07-26 10:02:43 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013
  3027 actions.install                  19-07-26 10:02:43 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/server
  3027 actions.install                  19-07-26 10:02:43 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/version
  3027 actions.install                  19-07-26 10:02:43 [   DEBUG]: Removing repository/online/component/kopano-core_20190418110013/localmirror
  3027 actions.install                  19-07-26 10:02:54 [   DEBUG]: Updating packages
  3027 packages                         19-07-26 10:02:54 [   DEBUG]: Calling /usr/bin/apt-get update
  3027 packages                         19-07-26 10:02:54 [    INFO]: Ign:1 https://updates.software-univention.de/4.0/maintained 4.0-0/all/ InRelease
  3027 packages                         19-07-26 10:02:54 [    INFO]: Ign:2 https://updates.software-univention.de/4.0/maintained 4.0-0/amd64/ InRelease
(listing cut)
  3027 actions.install                  19-07-26 10:03:00 [    INFO]:  * univention-antivir-mail
  3027 packages                         19-07-26 10:03:00 [   DEBUG]: Releasing LOCK

And that is the end of all.
AppCenter still posting “(must_not_have_concurrent_operation) Another package operation is in progress” and nothing more happens…

hm… as far as I can see there is no error in the appcenter log. The next thing I would try is to update/install from the commandline instead of the web ui. so at first univention-upgrade and then univention-app install kopano-core.

I tried the installation from the commandline and it worked without any problems. The installation of kopano webapp after this worked from AppCenter without any problems. Kopano is working now on the new server, I just have to move the data at the weekend.

So, thank you very much for pointing to the right direction!

Mastodon