Bug 55361 - computerroom/settings/set: Destination path already exists
computerroom/settings/set: Destination path already exists
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - Computer room
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-10-28 12:07 CEST by Mika Westphal
Modified: 2023-07-06 14:17 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
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: 2022100521000758, 2023042621000255
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 2022-10-28 12:07:23 CEST
Version: 4.4-9 errata1279 (Blumenthal) - UCS@school 4.4 v9

Error:
Interner Server-Fehler in "computerroom/settings/set".
Request: computerroom/settings/set

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 181, in _response
    return function(self, request)
  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/computerroom/__init__.py", line 793, in settings_set
    return self._settings_set(printMode, internetRule, shareMode, period, customRule)
  File "%PY2.7%/univention/management/console/modules/computerroom/__init__.py", line 209, in _decorated
    return func(self, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/computerroom/__init__.py", line 817, in _settings_set
    reset_room_settings(self._computerroom.room, hosts)
  File "%PY2.7%/univention/management/console/modules/computerroom/__init__.py", line 257, in reset_room_settings
    ucr_update(ucr, update_vars)
  File "%PY2.7%/univention/config_registry/frontend.py", line 204, in ucr_update
    _run_changed(ucr, changed)
  File "%PY2.7%/univention/config_registry/frontend.py", line 224, in _run_changed
    handlers(list(changed.keys()), (ucr, changed))
  File "%PY2.7%/univention/config_registry/handler.py", line 1083, in __call__
    handler(arg)
  File "%PY2.7%/univention/config_registry/handler.py", line 615, in __call__
    run_module(self.module, 'generate', ucr, changed)
  File "%PY2.7%/univention/config_registry/handler.py", line 191, in run_module
    arg2meth[arg](module)(ucr, changes)
  File "/etc/univention/templates/modules/ucs-school-webproxy.py", line 129, in handler
    moveConfig(fn_temp_config, fn_config, FN_CONFIG, DIR_TEMP, DIR_DATA)
  File "/etc/univention/templates/modules/ucs-school-webproxy.py", line 486, in moveConfig
    move_file(fnsrc, fndst)
  File "/etc/univention/templates/modules/ucs-school-webproxy.py", line 82, in move_file
    shutil.move(fnsrc, fndst)
  File "/usr/lib/python2.7/shutil.py", line 292, in move
    raise Error, "Destination path '%s' already exists" % real_dst
Error: Destination path '/var/lib/ucs-school-webproxy/blacklisted-url-lehrer-2e7-user/blacklisted-url-lehrer-2e7-user' already exists

Role: domaincontroller_master
Comment 1 Maximilian Janßen univentionstaff 2023-07-06 14:17:29 CEST
Remark: Warum funktioniert die Internetsperre nicht?!
Version: 4.4-9 errata1401 (Blumenthal) - UCS@school 4.4 v9