Univention Bugzilla – Bug 45797
appcenter/query: IOError: [Errno 2] No such file or directory
Last modified: 2019-05-29 14:06:37 CEST
Version: 4.2-2 errata231 (Lesum) Execution of command 'appcenter/query' 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/appcenter/__init__.py", line 190, in query self.update_applications() File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 218, in update_applications update.call() File "%PY2.7%/univention/appcenter/actions/__init__.py", line 220, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "%PY2.7%/univention/appcenter/actions/update.py", line 83, in main if self._download_supra_files(appcenter_cache): File "%PY2.7%/univention/appcenter/actions/update.py", line 151, in _download_supra_files return self._download_files(appcenter_cache, ['categories.ini', 'rating.ini', 'license_types.ini', 'ucs.ini']) File "%PY2.7%/univention/appcenter/actions/update.py", line 164, in _download_files new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 58, in _func return func(*args, **kwargs) File "%PY2.7%/univention/appcenter/actions/update.py", line 219, in _download_file response = urlopen(request) File "%PY2.7%/univention/appcenter/utils.py", line 317, in urlopen return urllib2.urlopen(request, timeout=60) File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 431, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 449, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain result = func(*args) File "%PY2.7%/univention/appcenter/utils.py", line 304, in https_open return self.do_open(HTTPSConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1194, in do_open h.request(req.get_method(), req.get_selector(), req.data, headers) File "/usr/lib/python2.7/httplib.py", line 1039, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py", line 1073, in _send_request self.endheaders(body) File "/usr/lib/python2.7/httplib.py", line 1035, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 879, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 841, in send self.connect() File "%PY2.7%/univention/appcenter/utils.py", line 298, in connect ca_certs="/etc/ssl/certs/ca-certificates.crt") File "/usr/lib/python2.7/ssl.py", line 891, in wrap_socket ciphers=ciphers) File "/usr/lib/python2.7/ssl.py", line 507, in __init__ self._context.load_verify_locations(ca_certs) IOError: [Errno 2] No such file or directory
Version: 4.2-2 errata231 (Lesum) Execution of command 'appcenter/query' 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/appcenter/__init__.py", line 190, in query self.update_applications() File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 218, in update_applications update.call() File "%PY2.7%/univention/appcenter/actions/__init__.py", line 220, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "%PY2.7%/univention/appcenter/actions/update.py", line 92, in main if self._download_apps(app_cache): File "%PY2.7%/univention/appcenter/actions/update.py", line 185, in _download_apps if self._download_files(app_cache, filenames): File "%PY2.7%/univention/appcenter/actions/update.py", line 164, in _download_files new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 58, in _func return func(*args, **kwargs) File "%PY2.7%/univention/appcenter/actions/update.py", line 219, in _download_file response = urlopen(request) File "%PY2.7%/univention/appcenter/utils.py", line 317, in urlopen return urllib2.urlopen(request, timeout=60) File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 431, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 449, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain result = func(*args) File "%PY2.7%/univention/appcenter/utils.py", line 304, in https_open return self.do_open(HTTPSConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1194, in do_open h.request(req.get_method(), req.get_selector(), req.data, headers) File "/usr/lib/python2.7/httplib.py", line 1039, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py", line 1073, in _send_request self.endheaders(body) File "/usr/lib/python2.7/httplib.py", line 1035, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 879, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 841, in send self.connect() File "%PY2.7%/univention/appcenter/utils.py", line 298, in connect ca_certs="/etc/ssl/certs/ca-certificates.crt") File "/usr/lib/python2.7/ssl.py", line 891, in wrap_socket ciphers=ciphers) File "/usr/lib/python2.7/ssl.py", line 507, in __init__ self._context.load_verify_locations(ca_certs) IOError: [Errno 2] No such file or directory
Reported again: Version: 4.2-2 errata231 (Lesum)
Reported again: Version: 4.2-2 errata249 (Lesum)
Reported again: Version: 4.2-3 errata52 (Lesum)
Reported again: Version: 4.2-3 errata259 (Lesum)
Reported again: Version: 4.2-3 errata256 (Lesum)
Reported again: Version: 4.2-3 errata262 (Lesum)
Reported again: Version: 4.2-3 errata262 (Lesum) Remark: was ist da los? UCS in virtualbox mit netzwerkbrücke?
Reported again: Version: 4.2-3 errata254 (Lesum)
Seems to be an issue in Let's encrypt. Please have a look.
Reported again: Version: 4.2-3 errata262 (Lesum) Remark: Please Help
Reported again: 4.2-3 errata262 (Lesum)
Reported again: Version: 4.2-3 errata284 (Lesum) Ticket#2018020121000912
So far, we haven't found a way to reproduce this error reliably. The newest update for the Let's Encrypt App should fix this, though. QA was successful and I've submitted it for release today.
Reported again: Version: 4.2-3 errata265 (Lesum) Ticket#2018012621000691
Reported again: Version: 4.2-3 errata305 (Lesum) Ticket#2018021621000288
No occurrence since the last App update for UCS 4.2. Now reported in 4.3, though: Version: 4.3-0 errata0 (Neustadt) Remark: Frische 2.3 Installation. Nur Lets Encrypt drauf, nichts geht mehr. Traceback(f7eeaeff1311349131bfbff0b17f0804): Interner Server-Fehler in "appcenter/query". Request: appcenter/query Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 253, 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/appcenter/__init__.py", line 200, in query self.update_applications() File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 228, in update_applications update.call() File "%PY2.7%/univention/appcenter/actions/__init__.py", line 220, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "%PY2.7%/univention/appcenter/actions/update.py", line 92, in main if self._download_apps(app_cache): File "%PY2.7%/univention/appcenter/actions/update.py", line 185, in _download_apps if self._download_files(app_cache, filenames): File "%PY2.7%/univention/appcenter/actions/update.py", line 164, in _download_files new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 58, in _func return func(*args, **kwargs) File "%PY2.7%/univention/appcenter/actions/update.py", line 219, in _download_file response = urlopen(request) File "%PY2.7%/univention/appcenter/utils.py", line 317, in urlopen return urllib2.urlopen(request, timeout=60) File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 429, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 447, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain result = func(*args) File "%PY2.7%/univention/appcenter/utils.py", line 304, in https_open return self.do_open(HTTPSConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1195, in do_open h.request(req.get_method(), req.get_selector(), req.data, headers) File "/usr/lib/python2.7/httplib.py", line 1042, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py", line 1082, in _send_request self.endheaders(body) File "/usr/lib/python2.7/httplib.py", line 1038, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 882, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 844, in send self.connect() File "%PY2.7%/univention/appcenter/utils.py", line 298, in connect ca_certs="/etc/ssl/certs/ca-certificates.crt") File "/usr/lib/python2.7/ssl.py", line 943, in wrap_socket ciphers=ciphers) File "/usr/lib/python2.7/ssl.py", line 552, in __init__ self._context.load_verify_locations(ca_certs) IOError: [Errno 2] Datei oder Verzeichnis nicht gefunden Role: domaincontroller_master
Reported again: Version: 4.2-3 errata305 (Lesum) Ticket#2018021921000648
Reported again: Version: 4.3-0 errata9 (Neustadt) Ticket#2018032821002725
Reported again: Version: 4.3-0 errata0 (Neustadt) Remark: AUfgetreten beim Versuch ein Let's Encrpyt-Zertifikat für 3 domains zu erstellen. Ticket#2018032121000016
Reported again: Version: 4.3-0 errata9 (Neustadt) Ticket#2018040121000776
Reported again: Version: 4.3-0 errata0 (Neustadt) Ticket#2018031821000504
Version: 4.2-3 errata313 (Lesum) Ticket#2018042021000534 Version: 4.2-3 errata323 (Lesum) Ticket#2018041921000108 Version: 4.2-3 errata342 (Lesum) Ticket#2018042421001035 Version: 4.3-0 errata9 (Neustadt) Ticket#2018033021000562 Remark: Ich wollte LetsEncrypt installieren. Der Fehler trat auf, nachdem ich den Domainnamen eingegeben habe. Ich habe ihn so eingegeben: sub.example.com http://www.sub.example.com Version: 4.3-0 errata11 (Neustadt) Ticket#2018041121001014 Remark: I entered my intranet domain, and this error occurred.
Version: 4.2-3 errata323 (Lesum) Ticket#2018041321001083 Version: 4.2-3 errata342 (Lesum) Ticket#2018042021000571 Ticket#2018042621000774 Version: 4.3-0 errata9 (Neustadt) Ticket#2018040221000676 Version: 4.3-0 errata12 (Neustadt) Ticket#2018041821000575
Reported again: Version: 4.3-0 errata28 (Neustadt) Ticket#2018050421000107
This is fixed in the latest update of the Let's Encrypt app. The update is currently in QA.
Will update again, when the update is released
Reported again: Version: 4.2-4 errata418 (Lesum) Ticket#2018052421000114 Internal server error during "appcenter/query". Request: appcenter/query Traceback (most recent call last): File "%PY2.7%/univention/management/console/base.py", line 253, 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/appcenter/__init__.py", line 190, in query self.update_applications() File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 218, in update_applications update.call() File "%PY2.7%/univention/appcenter/actions/__init__.py", line 220, in call return obj.call_with_namespace(namespace) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace result = self.main(namespace) File "%PY2.7%/univention/appcenter/actions/update.py", line 83, in main if self._download_supra_files(appcenter_cache): File "%PY2.7%/univention/appcenter/actions/update.py", line 151, in _download_supra_files return self._download_files(appcenter_cache, ['categories.ini', 'rating.ini', 'license_types.ini', 'ucs.ini']) File "%PY2.7%/univention/appcenter/actions/update.py", line 164, in _download_files new_etag = self._download_file(server, filename, cache_dir, etag, ucs_version) File "%PY2.7%/univention/appcenter/actions/__init__.py", line 58, in _func return func(*args, **kwargs) File "%PY2.7%/univention/appcenter/actions/update.py", line 219, in _download_file response = urlopen(request) File "%PY2.7%/univention/appcenter/utils.py", line 317, in urlopen return urllib2.urlopen(request, timeout=60) File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "/usr/lib/python2.7/urllib2.py", line 431, in open response = self._open(req, data) File "/usr/lib/python2.7/urllib2.py", line 449, in _open '_open', req) File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain result = func(*args) File "%PY2.7%/univention/appcenter/utils.py", line 304, in https_open return self.do_open(HTTPSConnection, req) File "/usr/lib/python2.7/urllib2.py", line 1194, in do_open h.request(req.get_method(), req.get_selector(), req.data, headers) File "/usr/lib/python2.7/httplib.py", line 1039, in request self._send_request(method, url, body, headers) File "/usr/lib/python2.7/httplib.py", line 1073, in _send_request self.endheaders(body) File "/usr/lib/python2.7/httplib.py", line 1035, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 879, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 841, in send self.connect() File "%PY2.7%/univention/appcenter/utils.py", line 298, in connect ca_certs="/etc/ssl/certs/ca-certificates.crt") File "/usr/lib/python2.7/ssl.py", line 891, in wrap_socket ciphers=ciphers) File "/usr/lib/python2.7/ssl.py", line 507, in __init__ self._context.load_verify_locations(ca_certs) IOError: [Errno 2] No such file or directory
The updates including the fix have been released today: Let's encrypt 1.1.2-6 -> 1.1.2-8 Let's encrypt 1.2.0 -> 1.2.2-3
(In reply to Valentin Heidelberger from comment #32) > The updates including the fix have been released today: > > Let's encrypt 1.1.2-6 -> 1.1.2-8 > Let's encrypt 1.2.0 -> 1.2.2-3 OK, thanks. I'll close this issue.
External feedback: UCS Version: 4.2-3 errata305 (Lesum) Same as Comment #31 2018022621000652
Is the app up to date? See Comment #32 (In reply to Johannes Keiser from comment #34) > External feedback: UCS Version: 4.2-3 errata305 (Lesum) > Same as Comment #31 > 2018022621000652
(In reply to Valentin Heidelberger from comment #35) > Is the app up to date? > See Comment #32 > > (In reply to Johannes Keiser from comment #34) > > External feedback: UCS Version: 4.2-3 errata305 (Lesum) > > Same as Comment #31 > > 2018022621000652 The ticket is older than Comment #32 so it should be before the fix.