Univention Bugzilla – Bug 31154
UMC Server dies when newly installed UDM module uses newly installed UDM syntax
Last modified: 2013-07-25 12:49:20 CEST
Created attachment 5191 [details] Broken login dialog Happened after installation of an app (UCC), which restarts LDAP: UMC asked to restart, but I did not respond for 10 Minutes, so I was logged out automatically. I tried to login again, but although the login dialog disappeared I was not able to restart UMC (dialog.notify("Your session expired, please login again")). So I logged out and tried to login. Screenshot attached. I had to restart UMC on the command line. UMC Error of umcp/auth: {"status": "401 Unauthorized", "message": "No permission -- see authorization schemes"}
This problem is also described in Bug 28081. *** This bug has been marked as a duplicate of bug 28081 ***
(In reply to comment #1) > This problem is also described in Bug 28081. > > *** This bug has been marked as a duplicate of bug 28081 *** Not a duplicate anymore, see also Bug 28081: > * Gut wäre es zudem, wenn die Session (bspw. über einen "Ping" mit dem > UMC-Server wie in System-Setup) beim Erscheinen des Frage-Dialogs automatisch > offen gehalten wird, so dass der Benutzer in jedem Fall die Möglichkeit hat, > die Dienste neuzustarten.
Wrong assumptions. Has nothing to do with LDAP restarts. UCC brings its own syntax classes which were not known during umc-server startup. So he died on udm_modules.update(). For the frontend part, there is Bug#31233 *** This bug has been marked as a duplicate of bug 31232 ***
Fix it here and mark the other one as DUPLICATE... this has to be fixed in udm_modules.update(). A simple umc restart will not work because the App Center prevents the restart.
*** Bug 31232 has been marked as a duplicate of this bug. ***
See Bug#30439 for the traceback
Fixed in (3.1-2): univention-directory-manager-modules 8.0.154-1.1007.201304301931 and (3.1-1): univention-directory-manager-modules 8.0.143-13.1008.201304301937 Changelog updated, YAML created. Added a univention.admin.syntax.import_syntax_files() every time udm_modules.update() is called. This is done for every new session of the UMC Server. So this patch decreases UMC performance. But syntax files should be fairly lightweight and I do not see any other workaround for not-groundshaking-errata release. Same for hook files. A hook will probably not break the UMC Server but hooks that are installed but not used may cause some very hard to reproduce problems.
*** Bug 31231 has been marked as a duplicate of this bug. ***
Tests 3.1-1errata: OK, a restart of UMC is required but the UDM module package shouldn't trigger the restart. I think we will release UDM modules and UMC at the same time. UCS 3.1-2: Code Review OK YAML: OK Changelog: OK
http://errata.univention.de/ucs/3.1/109.html
*** Bug 30439 has been marked as a duplicate of this bug. ***
This is a duplicate of http://errata.univention.de/ucs/3.1/109.html