Cannot launch App Center


#1

This is a new installation of 4.3-1. I was able to use the App Center at first, but at some point during joining the domain and doing a domain takeover, it stopped working. Now I get "Could not process the request. Internal server error during “appcenter/query”. The server error message is:

Internal server error during "appcenter/query".
Request: appcenter/query

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 253, in execute
    function.__func__(self, request, *args, **kwargs)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 318, in _response
    result = _multi_response(self, request)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 192, in _response
    return function(self, request)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 440, in _response
    return list(function(self, iterator, *nones))
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 286, in _fake_func
    yield function(self, *args)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/__init__.py", line 207, in query
    if not self._test_for_docker_service():
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/__init__.py", line 236, in _test_for_docker_service
    if docker_bridge_network_conflict():
  File "/usr/lib/pymodules/python2.7/univention/appcenter/utils.py", line 91, in docker_bridge_network_conflict
    my_net = ipaddr.IPv4Network('%s/%s' % (iface['network'], iface['netmask']))
  File "/usr/lib/python2.7/dist-packages/ipaddr.py", line 1336, in __init__
    self._ip = self._ip_int_from_string(addr[0])
  File "/usr/lib/python2.7/dist-packages/ipaddr.py", line 1091, in _ip_int_from_string
    raise AddressValueError(ip_str)
AddressValueError: None

appcenter.log shows:

 19577 cache                            18-06-13 13:54:57 [   DEBUG]: Cache outdated. Need to rebuild
 19577 cache                            18-06-13 13:54:57 [   DEBUG]: Loaded 58 apps from cache
 19577 cache                            18-06-13 13:54:57 [   DEBUG]: Cache outdated. Need to rebuild
 19577 cache                            18-06-13 13:54:57 [   DEBUG]: Loaded 184 apps from cache
 19577 cache                            18-06-13 13:54:57 [   DEBUG]: Cache outdated. Need to rebuild
 19577 cache                            18-06-13 13:54:57 [   DEBUG]: Loaded 379 apps from cache

management-console-module-appcenter.log shows:

13.06.18 13:54:55.908  DEBUG_INIT
13.06.18 13:54:56.596  MODULE      ( PROCESS ) : Loading python module.
13.06.18 13:54:56.899  MODULE      ( PROCESS ) : Imported python module.
13.06.18 13:54:56.899  MODULE      ( PROCESS ) : Module instance created.
13.06.18 13:54:56.899  MODULE      ( PROCESS ) : Module socket initialized.
13.06.18 13:54:56.908  MODULE      ( PROCESS ) : Setting user LDAP DN 'uid=Administrator,cn=users,dc=[mydomain],dc=lan'
13.06.18 13:54:56.908  MODULE      ( PROCESS ) : Setting auth type to None
13.06.18 13:54:56.909  MODULE      ( PROCESS ) : Initializing module.
13.06.18 13:54:58.430  MODULE      ( PROCESS ) : Internal server error during "appcenter/query".
13.06.18 14:00:44.661  MODULE      ( PROCESS ) : Internal server error during "appcenter/query".

#2

I’m hoping someone can help me out with this. I’m new to UCS and don’t know where to start.


#3

Hey,

your error isn’t a common one, but it looks to be related to your current network configuration, especially regarding Docker’s network interface. Can you please post the output of the following two commands:

ucr search --brief 'docker|interfaces'
ip a

Thanks.

Kind regards,
mosu


#4

I noticed yesterday that for some reason I had two IP addresses assigned to the ethernet interface. I removed one and now the App Center is working. Thanks for your help; you got me looking in the right place.