Revert to old UMC-Server and UMC-Web-Server in case of failures after the upgrade to UCS 5.0-4

yesterday, 2023-06-20, we released UCS 5.0-4 in which the UMC-Server and UMC-Webserver was unified into a single service. See our release notes for details:

In case this breaks customer environments (e.g. due to subtile side effects) there is the possibility to rollback the packages and install the old UMC-Server and UMC-Web-Server.
We don’t recommend this step but ensured that this is possible via the following steps (better might be to analyze the problems and use a hotfix):

  1. include apt-Repository from UCS 5.0-3 into /etc/apt/sources.list
  2. cp /usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py{,504}
  3. Install the old packages and all it’s dependencies. Remove AD related packages from the list if you don’t have univention-ad-connector or univention-ad-takeover installed. It is absolutely necessary to check the command output here! There must be no removal of packages e.g. univention-server-master. (!!!) apt install {univention-management-console,univention-management-console-server,python-univention-management-console,python3-univention-management-console,univention-management-console-dev,univention-management-console-frontend,univention-management-console-web-server,univention-management-console-web-server-fix,univention-management-console-login}=12.0.17-14 {python-univention-appcenter-dev,python3-univention-appcenter-dev,univention-appcenter-dev,python3-univention-appcenter,python-univention-appcenter,univention-management-console-module-appcenter,univention-management-console-module-apps,univention-appcenter,python-univention-appcenter-docker}=9.0.7-10 univention-management-console-module-services=9.0.1-1A~5.0.0.202302032042 {univention-system-setup,univention-management-console-module-setup}=13.0.6-5 {univention-updater,univention-management-console-module-updater,python-univention-updater,python3-univention-updater}=15.0.6-6 univention-management-console-module-quota=14.0.4-2A~5.0.0.202303281802 univention-management-console-module-udm=10.0.5-3
  4. cp /usr/lib/python3/dist-packages/univention/management/console/modules/decorators.py{504,}
  5. systemctl daemon-reload; systemctl unmask univention-management-console-web-server.service; systemctl unmask --runtime univention-management-console-web-server.service; systemctl restart univention-management-console-web-server.service

This guide also works for UCS@school systems. It might break in the future but works with UCS 5.0-4-errata713.

This topic was automatically closed after 24 hours. New replies are no longer allowed.

Mastodon