Bug 38914 - appcenter is unable to open if cn=apps,cn=univention is missing
appcenter is unable to open if cn=apps,cn=univention is missing
Status: CLOSED DUPLICATE of bug 38345
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-13 17:35 CEST by Florian Best
Modified: 2015-07-23 13:29 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Error handling
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2015-07-13 17:35:18 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
Comment 1 Florian Best univentionstaff 2015-07-13 17:38:35 CEST
Hm, the container exists in the ldap tree.
Comment 2 Florian Best univentionstaff 2015-07-14 12:54:03 CEST
This was caused because univention.admin.uldap was used instead of univention.uldap.

*** This bug has been marked as a duplicate of bug 38345 ***