Univention Bugzilla – Bug 32299
Reload XML files for module meta information upon login (e.g. to update the list of ""Installed Applications")
Last modified: 2013-11-19 06:41:54 CET
In case a new UMC module has been installed, the UMC server needs at least a reload to re-read the new XML meta files. It would render the handling of module installations easier if the XML files would be re-read upon login.
if i install/deinstall apps with univention-add-app or apt-get remove, the list of installed apps in the umc's "Installed Applications" module is not automatically updated, i need to
-> ucr commit /usr/share/univention-management-console/modules/apps.xml
-> /etc/init.d/univention-management-console-server reload
in order to have a correct "Installed Applications" list
it would be nice if that happens during UMC login
It could also be helpful if the App Center XML file is committed on login to make sure that the data is consistent (maybe via login hook scripts that are executed upon login).
The AppCenter XML files are committed after app (un)installation. They should be consistent all the time. The problem is UMC not reloading them.
The only way to get the XML files into an inconsistent state is to apt-get uninstall some packages needed for the app by hand.
A little change for UMC a much bigger change for other places, e.g., Bug 32408. Adding this functionality will ease the replication of UDM modules.
* Bug #32299: reload categories, modules and UCR variable on auth request
Changeset Ok - which surprises me. I was unable to come up with situations where this may lead to problems. It is even almost possible to do it on F5 (get/modules/list) but I think at the moment some things may go wrong (although probably not in >99%).
Maybe some day we can implement it this way. Then a UMC-server restart would only be necessary on umc-server package updates!
UCS 3.2 has been released:
If this error occurs again, please use "Clone This Bug".