Version: 4.2-1 errata118 (Lesum) Execution of command 'setup/apps/query wizard' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 249, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/setup/__init__.py", line 725, in apps_query return util.get_apps(True) File "%PY2.7%/univention/management/console/modules/setup/util.py", line 774, in get_apps return [get.to_dict(app) for app in Apps().get_all_apps() if app.is_ucs_component()] File "%PY2.7%/univention/appcenter/app_cache.py", line 113, in get_all_apps for app in self.get_every_single_app(): File "%PY2.7%/univention/appcenter/app_cache.py", line 461, in get_every_single_app for app in app_cache.get_every_single_app(): File "%PY2.7%/univention/appcenter/app_cache.py", line 418, in get_every_single_app ret.extend(app_cache.get_every_single_app()) File "%PY2.7%/univention/appcenter/app_cache.py", line 325, in get_every_single_app if self._save_cache(): File "%PY2.7%/univention/appcenter/app_cache.py", line 214, in _save_cache cache_modified = os.stat(cache_file).st_mtime OSError: [Errno 2] No such file or directory: '/var/cache/univention-appcenter/appcenter.software-univention.de/4.2/.apps.en.json'
Version: 4.2-2 errata219 (Lesum) Execution of command 'apps/get' has failed: Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 250, in execute function.__func__(self, request, *args, **kwargs) File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response result = _multi_response(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response return function(self, request) File "%PY2.7%/univention/management/console/modules/decorators.py", line 440, in _response return list(function(self, iterator, *nones)) File "%PY2.7%/univention/management/console/modules/decorators.py", line 286, in _fake_func yield function(self, *args) File "%PY2.7%/univention/management/console/modules/apps/__init__.py", line 60, in get app = Apps().find(application) File "%PY2.7%/univention/appcenter/app_cache.py", line 83, in find apps = self.get_all_apps_with_id(app_id) File "%PY2.7%/univention/appcenter/app_cache.py", line 70, in get_all_apps_with_id for app in self.get_every_single_app(): File "%PY2.7%/univention/appcenter/app_cache.py", line 501, in get_every_single_app for app in app_cache.get_every_single_app(): File "%PY2.7%/univention/appcenter/app_cache.py", line 458, in get_every_single_app ret.extend(app_cache.get_every_single_app()) File "%PY2.7%/univention/appcenter/app_cache.py", line 344, in get_every_single_app if self._save_cache(): File "%PY2.7%/univention/appcenter/app_cache.py", line 214, in _save_cache os.utime(cache_file, (archive_modified, archive_modified)) OSError: [Errno 2] No such file or directory: '/var/cache/univention-appcenter/appcenter.software-univention.de/4.1/.apps.en.json'
Fixed in univention-appcenter (6.0.10-22) Looks like a timing issue where another process deleted the cache file (very small window, though). Fixed by just catching the exception. The cache should be re-evaluated the next time it is accessed.
please rebuild in ucs4.2-3
Rebuilt as univention-appcenter 6.0.11-1A~4.2.0.201711231631
except EnvironmentError: but the Traceback is OSError: is this the same?
(In reply to Felix Botner from comment #5) > except EnvironmentError: > > but the Traceback is OSError: > > is this the same? yes, OSError and IOError inherits from EnvironmentError.
https://docs.python.org/2/library/exceptions.html#exception-hierarchy
tested in 4.2-2 OK - univention-appcenter OK - changelog
UCS 4.2-3 has been released.
Reported again: Version: 4.2-2 errata216 (Lesum)
Remark: This was the initial load and bootup of the ownCloud appliance for ESX running on version 6.5.
Reported again: Version: 4.2-1 errata133 (Lesum)
Reported again: Version: 4.2-1 errata131 (Lesum)