Bug 55890 - appcenter/progress: FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/var/lib/univention-appcenter/apps/egroupware/conf'
appcenter/progress: FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht...
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-03-17 10:50 CET by Mika Westphal
Modified: 2023-03-17 10:50 CET (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: 2023031021000787
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mika Westphal univentionstaff 2023-03-17 10:50:06 CET
Remark: Administrator

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

Traceback (most recent call last):
  File "/usr/lib/python3.7/shutil.py", line 563, in move
    os.rename(src, real_dst)
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/var/lib/univention-appcenter/apps/egroupware/conf' ->
'/var/lib/univention-appcenter/backups/appcenter-backup-egroupware:1678487425/conf/conf'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 351, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 254, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/decorators.py", line 327, in _response
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 186, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 447, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 295, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/mixins.py", line 160, in progress
    ret = progress_obj.poll()
  File "%PY3%/univention/management/console/modules/mixins.py", line 105, in poll
    six.reraise(*self.exc_info)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/modules/decorators.py", line 318, in _thread
    result = _multi_response(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 186, in _response
    return function(self, request)
  File "%PY3%/univention/management/console/modules/decorators.py", line 447, in _response
    return list(function(self, iterator, *nones))
  File "%PY3%/univention/management/console/modules/decorators.py", line 295, in _fake_func
    yield function(self, *args)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 303, in run
    host_result[app.id] = self._run_local(app, action, _settings, auto_installed, progress)
  File "%PY3%/univention/management/console/modules/appcenter/__init__.py", line 350, in _run_local
    success = action.call(app=[app], username=self.username, password=self.password, **kwargs)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 187, in call
    return obj.call_with_namespace(namespace)
  File "%PY3%/univention/appcenter/actions/__init__.py", line 194, in call_with_namespace
    result = self.main(namespace)
  File "%PY3%/univention/appcenter/actions/remove.py", line 58, in main
    return self.do_it(args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 171, in do_it
    success = self.do_it_once(app, args)
  File "%PY3%/univention/appcenter/actions/install_base.py", line 216, in do_it_once
    self._do_it(app, args)
  File "%PY3%/univention/appcenter/actions/docker_remove.py", line 54, in _do_it
    super(Remove, self)._do_it(app, args)
  File "%PY3%/univention/appcenter/actions/remove.py", line 66, in _do_it
    if not self._remove_app(app, args):
  File "%PY3%/univention/appcenter/actions/docker_remove.py", line 63, in _remove_app
    return self._remove_docker_container(app, args)
  File "%PY3%/univention/appcenter/actions/docker_remove.py", line 67, in _remove_docker_container
    if args.backup and self._backup_container(app, remove=True) is False:
  File "%PY3%/univention/appcenter/actions/docker_base.py", line 94, in _backup_container
    shutil.move(app.get_conf_dir(), os.path.join(BACKUP_DIR, image_name, 'conf'))
  File "/usr/lib/python3.7/shutil.py", line 577, in move
    copy_function(src, real_dst)
  File "/usr/lib/python3.7/shutil.py", line 263, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.7/shutil.py", line 120, in copyfile
    with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/var/lib/univention-appcenter/apps/egroupware/conf'

Role: domaincontroller_master