Univention Bugzilla – Bug 36031
Disable autosearch for new wizards
Last modified: 2017-10-26 12:02:48 CEST
Reported at #2014093021000693: The autosearch for the new school wizards (especially the school user wizard) should be disabled by default. Perhaps we can set "directory/manager/web/modules/.*/.*/search/autosearch" in postinst.
Afaik the variables aren't evaluated for schoolwizards. Only real udm modules have the feature.
This is REALLY annoying in larger environments (think 10.000+ users), because it makes the respective modules unusable for at least 30 seconds.
So I got my stopwatch out: School users: ~ 15.000 DC Master: virtualised on KVM, 16 GB RAM, 6 CPUs, not sure about I/O Time from opening the "Users (school)" module until all users were shown: 79 seconds
This exists already: # disable autosearch of all wizards ucr set ucsschool/wizards/autosearch=false # disable autosearch of only specific wizards ucr set ucsschool/wizards/schoolwizards/computers/autosearch=false ucr set ucsschool/wizards/schoolwizards/users/autosearch=false ucr set ucsschool/wizards/schoolwizards/schools/autosearch=false ucr set ucsschool/wizards/schoolwizards/classes/autosearch=false
Yes, works fine, thx. But imho there should be at least a warning and a hint to this UCRV if the amount of objects exceeds a certain limit. Just like directory/manager/web/sizelimit does for the regular UMC modules.
In UCS@school manual, we have a special section that should cover this topic: "Hinweise für große UCS@school-Umgebungen": http://docs.software-univention.de/ucsschool-handbuch-4.1.html#school:performance:general Please add a small subsection, describing the problem and documenting the UCR variables for the workaround.
(In reply to Florian Best from comment #4) > This exists already: > # disable autosearch of all wizards > ucr set ucsschool/wizards/autosearch=false > # disable autosearch of only specific wizards > ucr set ucsschool/wizards/schoolwizards/computers/autosearch=false > ucr set ucsschool/wizards/schoolwizards/users/autosearch=false > ucr set ucsschool/wizards/schoolwizards/schools/autosearch=false > ucr set ucsschool/wizards/schoolwizards/classes/autosearch=false How about the passwort reset (students) modul? Do we have such a UCR variable as well?
(In reply to Michel Smidt from comment #7) > How about the passwort reset (students) modul? > Do we have such a UCR variable as well? It uses the following variables (afaics): directory/manager/web/modules/users/user/search/autosearch directory/manager/web/modules/autosearch
Adapted the performance documentation. The following variables exists now: Passwörter (Schüler), Passwörter (Lehrer): ucsschool/passwordreset/autosearch Lehrer zuordnen: ucsschool/assign-teacher/autosearch Klassen zuordnen: ucsschool/assign-classes/autosearch Arbeitsgruppen verwalten: ucsschool/workgroups/autosearch Benutzer: ucsschool/wizards/schoolwizards/users/autosearch Klassen: ucsschool/wizards/schoolwizards/classes/autosearch Rechner: ucsschool/wizards/schoolwizards/computers/autosearch Schulen: ucsschool/wizards/schoolwizards/schools/autosearch Benutzer/Klassen/Rechner/Schulen: ucsschool/wizards/autosearch ucs-school-umc-users (11.0.2-1): r67413 | Bug #36031: Update Copyright r67412 | Bug #36031: make it possible to disable autosearch ucs-school-umc-groups (5.0.1-1): r67413 | Bug #36031: Update Copyright r67412 | Bug #36031: make it possible to disable autosearch
r67517 | Bug #36031 doc: Fix spelling
OK: manually tested: setting ucsschool/wizards/schoolwizards/users/autosearch=false / ucsschool/wizards/schoolwizards/classes/autosearch=false will disable the automatic initial search for users / groups.
UCS@school 4.1 R2 has been released: http://docs.software-univention.de/release-notes-ucsschool-4.1R2v1-de.pdf If this error occurs again, please use "Clone This Bug".