Bug 51840

Summary: OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/var/lib/docker/overlay/.../merged/var/univention/tmp/tmpZP0FHi'
Product: UCS Reporter: Christian Castens <castens>
Component: App CenterAssignee: App Center maintainers <appcenter-maintainers>
Status: NEW --- QA Contact: App Center maintainers <appcenter-maintainers>
Severity: normal    
Priority: P5 CC: best
Version: UCS 4.4   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=43151
https://forge.univention.org/bugzilla/show_bug.cgi?id=44387
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: 2019092721000207, 2019100821001034, 2020022721000735, 2020073121000343, 2020020721001183, 2020110221000907, 2020090621000281, 2021100221000283, 2023030921000066, 2023030721000471 Bug group (optional): Error handling, External feedback
Max CVSS v3 score:

Description Christian Castens univentionstaff 2020-08-19 14:18:42 CEST
Version: 4.4-2 errata287 (Blumenthal)

Traceback(cf56b6607dc6949e0f31f3b9d5161149):
Interner Server-Fehler in "appcenter/docker/progress".
Request: appcenter/docker/progress

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 260, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/mixins.py", line 156, in progress
    ret = progress_obj.poll()
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 312, in _thread
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 452, in invoke_docker
    result['success'] = action.call(app=app, username=self.username, password=self.password, **kwargs)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 220, in call
    return obj.call_with_namespace(namespace)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace
    result = self.main(namespace)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/upgrade.py", line 81, in main
    return self.do_it(args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/install_base.py", line 119, in do_it
    self._do_it(app, args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_upgrade.py", line 126, in _do_it
    self._upgrade_image(app, args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_upgrade.py", line 182, in _upgrade_image
    self._install_new_app(app, args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_upgrade.py", line 69, in _install_new_app
    return Install._do_it(self, app, args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_install.py", line 71, in _do_it
    ret = super(Install, self)._do_it(app, args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/install.py", line 111, in _do_it
    if self._install_app(app, args):
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_install.py", line 67, in _install_app
    self._setup_docker_image(app, args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_install.py", line 86, in _setup_docker_image
    process = self._execute_container_script(app, 'setup', args, cmd_kwargs={'_logger': logger})
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_base.py", line 139, in _execute_container_script
    return process
  File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/docker.py", line 283, in tmp_file
    tmp_file.close()
  File "/usr/lib/python2.7/tempfile.py", line 431, in close
    self.unlink(self.name)
OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden:
'/var/lib/docker/overlay/707d1352a237e678e8b5a21950920b42a7df19b847aa7f5aba7bfa596c01ea1e/merged/var/univention/tmp/tmpZP0FHi'

Role: domaincontroller_master
Comment 1 Christian Castens univentionstaff 2020-08-19 14:23:58 CEST
reported again:

Version: 4.4-2 errata298 (Blumenthal)

Internal server error during "appcenter/docker/progress".
Request: appcenter/docker/progress

Role: domaincontroller_master
Comment 2 Christian Castens univentionstaff 2020-08-21 12:12:57 CEST
reported again:
Version: 4.4-3 errata455 (Blumenthal)

Remark: Error installing owncloud

Traceback(d41d8cd98f00b204e9800998ecf8427e):
Internal server error during "appcenter/docker/progress".
Request: appcenter/docker/progress

[...]
OSError: [Errno 2] No such file or directory: '/var/lib/docker/overlay2/40ad047d72e79c3f46cbd5da4124d4869fd3722438a1a8cb111e5c1852764a4d/merged/var/univention/tmp/tmpyfRla3'

Role: domaincontroller_master
Comment 3 Christian Castens univentionstaff 2020-08-24 11:01:33 CEST
reported again:
Version: 4.4-5 errata686 (Blumenthal)

Remark: Update Owwncloud

Error:
Interner Server-Fehler in "appcenter/docker/progress".
Request: appcenter/docker/progress

OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden:
'/var/lib/docker/overlay/c0b018047cb5cceb353993040a182109c4e054a2e5a4d76471511158989d254a/merged/var/univention/tmp/tmpDAUDo6'

Role: domaincontroller_master
Comment 4 Maximilian Janßen univentionstaff 2023-07-06 18:40:15 CEST
Version: 4.4-9 errata1371 (Blumenthal)

Remark: I install OpenProject from App Center in UCS 4.4 and get this error

Error:
Internal server error during "appcenter/docker/remote/progress".
Request: appcenter/docker/remote/progress

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY2.7%/univention/management/console/base.py", line 262, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 430, in remote_progress
    return client.umc_command('appcenter/docker/progress', {'progress_id': remote_progress_id}).result
  File "%PY2.7%/univention/lib/umc.py", line 444, in umc_command
    return self.request('POST', 'command/%s' % (path,), data, headers)
  File "%PY2.7%/univention/lib/umc.py", line 524, in request
    return self.send(request)
  File "%PY2.7%/univention/lib/umc.py", line 553, in send
    raise HTTPError(request, response, self.hostname)
HTTPError: 591 on ***.***.** (command/appcenter/docker/progress): {u'status': 591, u'message': u'Internal server error during "appcenter/docker/progress".',
u'location': u'https://***.***.**/univention/command'}
Internal server error during "appcenter/docker/progress".
Request: appcenter/docker/progress

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY2.7%/univention/management/console/base.py", line 262, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 321, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/mixins.py", line 158, in progress
    ret = progress_obj.poll()
  File "%PY2.7%/univention/management/console/modules/mixins.py", line 102, in poll
    six.reraise(self.exc_info[1], None, self.exc_info[2])
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 312, in _thread
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 181, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 443, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 289, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/appcenter/__init__.py", line 491, in invoke_docker
    result['success'] = action.call(app=app, username=self.username, password=self.password, **kwargs)
  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/install.py", line 84, in main
    return self.do_it(args)
  File "%PY2.7%/univention/appcenter/actions/install_base.py", line 144, in do_it
    self._do_it(app, args)
  File "%PY2.7%/univention/appcenter/actions/docker_install.py", line 71, in _do_it
    ret = super(Install, self)._do_it(app, args)
  File "%PY2.7%/univention/appcenter/actions/install.py", line 114, in _do_it
    if self._install_app(app, args):
  File "%PY2.7%/univention/appcenter/actions/docker_install.py", line 67, in _install_app
    self._setup_docker_image(app, args)
  File "%PY2.7%/univention/appcenter/actions/docker_install.py", line 86, in _setup_docker_image
    process = self._execute_container_script(app, 'setup', args, cmd_kwargs={'_logger': logger})
  File "%PY2.7%/univention/appcenter/actions/docker_base.py", line 139, in _execute_container_script
    return process
  File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "%PY2.7%/univention/appcenter/docker.py", line 280, in tmp_file
    tmp_file.close()
  File "/usr/lib/python2.7/tempfile.py", line 431, in close
    self.unlink(self.name)
OSError: [Errno 2] No such file or directory: '/var/lib/docker/overlay2/40e9df96756a71311cad37ea105d4cf9901c235a973c8538e50ef41ab861391c/merged/var/univention/tmp/tmpeY6Dod'

Role: domaincontroller_master