Univention Bugzilla – Bug 28481
univention-upgrade verwendet alte Instanzen von Updater und UCR
Last modified: 2018-04-14 13:51:20 CEST
univention-upgrade benutzt selbst nach der Durchführung des Updates weiterhin eine alte Instanz von UniventionUpdater und ConfigRegistry. Das hat in der Vergangenheit schon bei univention-update zu Problemen geführt, insbesondere wenn sich die Python-Version ändert oder sich die Implementierung vom Updater / UCR ändert, wie es in UCS-3.1 passirt: Der noch laufende univention-upgrade Prozeß verwendet dann weiterhin die alten Funktionen, was zu seltsamen Tracebacks bzw. zum Abbruch des Updates führt: Traceback (most recent call last): File "/usr/sbin/univention-upgrade", line 482, in <module> main() File "/usr/sbin/univention-upgrade", line 473, in main univention.config_registry.handler_set( [ '%s=no' % UCR_UPDATE_AVAILABLE] ) File "/usr/lib/pymodules/python2.6/univention/config_registry.py", line 1086, in handler_set File "/usr/lib/pymodules/python2.6/univention/config_registry.py", line 699, in load univention-upgrade macht deshlab nach jedem Update eines "exec" auf sich slebst, um mit einer ggf. aktualisierten Version seiner selbst fortzufahren. Das sollte univention-upgrade tunlichst auch tun!
(In reply to comment #0) > univention-updater macht deshlab nach jedem Update eines "exec" auf sich > slebst, um mit einer ggf. aktualisierten Version seiner selbst fortzufahren. > Das sollte univention-upgrade tunlichst auch tun!
Für den besagten Traceback ist in svn35572 ein Workaround im Rahmen von Bug #26058 umgesetzt worden. Das allgemeine Problem in univention-upgrade davon unberührt.
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4. If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
This issue has been filed against UCS 3.0. UCS 3.0 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.