Univention Bugzilla – Bug 43579
UCS@school: Migrate ucs-overview entries to new 4.2 portal entries
Last modified: 2017-04-11 17:45:36 CEST
Also for UCS@school 4.2. +++ This bug was initially created as a clone of Bug #42231 +++ We will need to migrate UCR variable entries for ucs-overview page to new UCS 4.2 portal entries.
_Local_ portal entries will been created on multi-master, single-master and edu-slaves. r77398: migrate ucs-overview entries to 4.2 portal entries, advisory Package: ucs-school-metapackage Version: 10.0.0-3A~4.2.0.201703071015 Branch: ucs_4.2-0 Scope: ucs-school-4.2
Please unset the old variables. The commit was done with the wrong bug number.
r77411: unset deprecated UCR variables Version: 10.0.0-4A~4.2.0.201703071225
r77414: fix UCR unset in wrong file, unset ../link/de Version: 10.0.0-5A~4.2.0.201703071246
The portal concept works completely different to what I had thought. The current solution will create portal links also on non-edu and non-school slaves and member servers. I propose to create a separate settings/portal object for edu-slaves. Then add the UMC-link to that one and to the "domain" portal object. This way there will be UCS@school-links only on the master (for admins) and on edu-slaves (for teachers). It also means, that all other links that would be shown (belonging to the "local" portal) will not be shown anymore. Apps should register to the "domain" portal, so they will not be affected. They will also be shown on the host they are installed on, as the app center creates separate links for them if "showApps=True" is set on the edu-slaves settings/portal object.
r77868: create separate portal 'school-edu' only for edu-slaves The "teacherconsole" entry ("UCS@school modules in the Univention Management Console") is now only created on edu-slaves. No other roles get any entry. This is implemented by creating a new portal "school-edu" and configuring it on the hosts computer object. To test on exiting UCS@school 4.2 installations, you'll have to: $ udm settings/portal_entry remove --dn="cn=teacherconsole,cn=portal,cn=univention,$(ucr get ldap/base)" $ univention-run-join-scripts --run-scripts --force 63ucs-school-portal-entry.inst Package: ucs-school-metapackage Version: 10.0.0-6A~4.2.0.201703170909 Branch: ucs_4.2-0 Scope: ucs-school-4.2
How do you achieve that this portal is displayed on edu slaves? Why isn't there a own portal for each server created? I don't understand that concept.
(In reply to Florian Best from comment #7) > How do you achieve that this portal is displayed on edu slaves? Only in edu-slaves join script the portal is created and the hosts computer object bound to it. > Why isn't there a own portal for each server created? I don't understand > that concept. What for? When needed, admins can still do that.
r77981 | Bug #43579: remove variables dynamically
r78137: only create portal 'school-edu' on edu-slaves, use 'domain' portal on single-master ucs-school-metapackage 10.0.1-1.1A~4.2.0.201703221438
r78144: - handle custom computer portal - allow portal_entry to be appended to multiple portals r78149: - don't append to custom portal - don't change portal on single-master ucs-school-metapackage 10.0.1-3A~4.2.0.201703221616
UCS@school is nowhere shown on master or slave in my environment → REOPEN
r78711: install portal_entry on multi-master too ucs-school-metapackage 10.0.2-2A~4.2.0.201704101304 Final situation: * The portal 'school-edu' is installed on edu slaves only. * On all roles except non-edu slaves a portal_entry is created. * On edu slaves the portal_entry is added to the portal 'school-edu'. * On single-master and multi-master (and backup) the portal_entry is added to the portal 'domain'. * Only non-edu slaves do not have a portal_entry.
OK: functional test
UCS@school 4.2 v1 has been released. http://docs.software-univention.de/release-notes-ucsschool-4.2v1-de.html If this error occurs again, please clone this bug.