Univention Bugzilla – Bug 38914
appcenter is unable to open if cn=apps,cn=univention is missing
Last modified: 2015-07-23 13:29:49 CEST
I don't know what caused it, that the container is missing but it prevents opening the appcenter. Die Ausführung des Kommandos appcenter/query ist fehlgeschlagen: Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 282, in execute function(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/__init__.py", line 81, in _decorated return func(self, request, *a, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 316, in _response result = _multi_response(self, request) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 460, in _response return list(function(self, iterator, *nones)) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 282, in _fake_func yield function(self, *args) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/__init__.py", line 130, in query props = application.to_dict(self.package_manager, domainwide_managed, hosts) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/decorators.py", line 56, in wrapper return func(*args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/app_center.py", line 929, in to_dict res['installations'] = self.get_installations(hosts) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/decorators.py", line 105, in _decorated return func(*args, **kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/app_center.py", line 881, in get_installations app_objs = appcenter_udm_module.lookup(None, lo, None, base=self.ldap_container) File "/usr/lib/pymodules/python2.7/univention/admin/handlers/appcenter/app.py", line 401, in lookup for dn, attrs in lo.search(unicode(filter), base, scope, [], unique, required, timeout, sizelimit): File "/usr/lib/pymodules/python2.7/univention/admin/uldap.py", line 351, in search raise univention.admin.uexceptions.noObject(_err2str(msg)) noObject: No such object: cn=apps,cn=univention,dc=dev,dc=local
Hm, the container exists in the ldap tree.
This was caused because univention.admin.uldap was used instead of univention.uldap. *** This bug has been marked as a duplicate of bug 38345 ***