Univention Bugzilla – Bug 37260
Prevent update if DC Master has not been updated before
Last modified: 2016-01-12 13:26:34 CET
Currently it is possible to upgrade a DC Backup/Slave/Member to UCS 4.0 without upgrading the DC Master first. This is neither supported nor desirable and can lead to numerous errors. This is even worse since the "Release Updates" section of the Software Update module defaults to "UCS 4.0-0", even if there is still an update to e.g. 3.2-4 available. This way, updating to 4.0 can easily be achieved by accident. We should prevent this and show an appropriate dialog that says something like "Your domain controller master is still on version x.y-z, it is strongly recommended that the master domain controller is always the first system to be updated during a release update. Are you sure that you want to continue?" See also Ticket#2014120821000086 and http://forum.univention.de/viewtopic.php?f=48&t=3619
*** Bug 39408 has been marked as a duplicate of this bug. ***
The feedback in Bug #39408 suggest a way how the journey could be for the user.
*** Bug 25825 has been marked as a duplicate of this bug. ***
With UCS 4.1 we will configure automatic App release updates. Thus, we should add this check.
The check has been added in the preup.sh script: r64829 Changelog: r64830
OK root@slave-> univention-upgrade --ignoressh --ignoreterm Starting univention-upgrade. Current UCS version is 4.0-3 errata320 Checking for local repository: none Checking for release updates: found: UCS 4.1-0 Do you want to update to 4.1-0 [Y|n]? y Starting update to UCS version 4.1-0 ... Checking for space on /var/cache/apt/archives: OK Checking for space on /boot: OK Checking for space on /: OK Checking for package status: OK Checking LDAP schema: OK WARNING: Your domain controller master is still on version 4.0-3. It is strongly recommended that the domain controller master is always the first system to be updated during a release update. This check can be skipped by setting the UCR variable update41/ignore_version to yes. Error: Please check "/var/log/univention/updater.log" for details. ERROR: update failed. Please check /var/log/univention/updater.log OK - Changelog
UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug".