Problem: Kopano does not Start after Upgrade

Problem

Kopano does not start after upgrading to UCS 4.4-2.

Environment

Kopano is configured to use the Kopano repository for more frequent updates compared to the UCS AppCenter

Solution

Step 1

Save the repository settings for Kopano and unset them:

root@ucs:~# ucr dump | grep kopano/repo">~/kopano.repo.txt
root@ucs:~# ucr unset kopano/repo/kopano-core
root@ucs:~# ucr unset kopano/repo/kopano-files-releasetype
root@ucs:~# ucr unset kopano/repo/kopano-files
root@ucs:~# ucr unset kopano/repo/kopano-mdm-releasetype
root@ucs:~# ucr unset kopano/repo/kopano-mdm
root@ucs:~# ucr unset kopano/repo/kopano-smime-releasetype
root@ucs:~# ucr unset kopano/repo/kopano-smime
root@ucs:~# ucr unset kopano/repo/kopano-webapp-releasetype
root@ucs:~# ucr unset kopano/repo/kopano-webapp
root@ucs:~# ucr unset kopano/repo/password
root@ucs:~# ucr unset kopano/repo/username
root@ucs:~# ucr unset kopano/repo/z-push-kopano-releasetype
root@ucs:~# ucr unset kopano/repo/z-push-kopano

Step 2

Uninstall all Kopano apps. The data and configuration setting will be kept.
Note: With the below commands not all packages might be covered. Verify you do not have any Kopano packages installe by dkpg -l| grep -i kopano and make sure to uninstall all with apt remove ....

root@ucs:~# univention-app remove kopano-client
root@ucs:~# univention-app remove kopano-core
root@ucs:~# univention-app remove kopano-webapp
root@ucs:~# univention-app remove z-push-kopano
root@ucs:~# ucr commit /etc/apt/sources.list.d/*
root@ucs:~# dpkg -configure -a
root@ucs:~# apt update

Step 3

Install the app and make sure the UCS repository settings will stay even when the installation fails:

root@ucs:~# univention-app register --do-it kopano-core

Step 4

Install all Kopano apps again. Should run without a failure

root@ucs:~# univention-app install kopano-client
root@ucs:~# univention-app install kopano-core
root@ucs:~# univention-app install kopano-webapp
root@ucs:~# univention-app install z-push-kopano
Mastodon