EGW update 23.1.20230314 cannot be installed

Hi@all,

I’m trying to install the EGW update 23.1.20230314 on a UCS 5.0.3 managed node (gw01.lan.domain.de) which aborts immediately. In the log I get the following errors:

root@gw01:~# tail -f /var/log/univention/updater.log /var/log/univention/appcenter.log
==> /var/log/univention/updater.log <==

Checking for package updates:                           none
Checking for app updates:                               found
Please rerun command without --check argument to install.

Starting univention-upgrade. Current UCS version is 5.0-3 errata622

Checking for package updates:                           none
Checking for app updates:                               found
Please rerun command without --check argument to install.

==> /var/log/univention/appcenter.log <==
  4740 actions.upgrade-search           23-03-23 08:32:30 [   DEBUG]: Checking 4.4/egroupware=21.1.20230210
  4740 actions.upgrade-search           23-03-23 08:32:30 [    INFO]: Executing interface update_available for egroupware
  4740 actions.upgrade-search           23-03-23 08:32:30 [    INFO]: No interface defined
  4740 actions.upgrade-search           23-03-23 08:32:30 [   DEBUG]: Checking 4.4/jitsimeet=stable-7882
  4740 actions.upgrade-search           23-03-23 08:32:30 [    INFO]: Executing interface update_available for jitsimeet
  4740 actions.upgrade-search           23-03-23 08:32:30 [    INFO]: No interface defined
  4740 actions.upgrade-search           23-03-23 08:32:30 [   DEBUG]: Checking 4.4/rocketchat=3.18.2
  4740 actions.upgrade-search           23-03-23 08:32:30 [    INFO]: Executing interface update_available for rocketchat
  4740 actions.upgrade-search           23-03-23 08:32:30 [    INFO]: No interface defined
  4740 actions.upgrade-search.progress  23-03-23 08:32:30 [   DEBUG]: 100
  5606 actions.update                   23-03-23 08:38:04 [   DEBUG]: Calling update
  5606 actions.update.progress          23-03-23 08:38:04 [   DEBUG]: 0
  5606 actions.update                   23-03-23 08:38:04 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/app-categories.ini"...
  5606 actions.update                   23-03-23 08:38:04 [   DEBUG]:   ... Not Modified
  5606 actions.update                   23-03-23 08:38:04 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/rating.ini"...
  5606 actions.update                   23-03-23 08:38:04 [   DEBUG]:   ... Not Modified
  5606 actions.update                   23-03-23 08:38:04 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/license_types.ini"...
  5606 actions.update                   23-03-23 08:38:04 [   DEBUG]:   ... Not Modified
  5606 actions.update                   23-03-23 08:38:04 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/ucs.ini"...
  5606 actions.update                   23-03-23 08:38:04 [   DEBUG]:   ... Not Modified
  5606 actions.update                   23-03-23 08:38:04 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/suggestions.json"...
  5606 actions.update                   23-03-23 08:38:04 [   DEBUG]:   ... Not Modified
  5606 actions.update                   23-03-23 08:38:04 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/5.0/all.tar.gpg"...
  5606 actions.update                   23-03-23 08:38:05 [   DEBUG]:   ... Not Modified
  5606 actions.update                   23-03-23 08:38:05 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.4/all.tar.gpg"...
  5606 actions.update                   23-03-23 08:38:05 [   DEBUG]:   ... Not Modified
  5606 actions.update                   23-03-23 08:38:05 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.3/all.tar.gpg"...
  5606 actions.update                   23-03-23 08:38:05 [   DEBUG]:   ... Not Modified
  5606 actions.update.progress          23-03-23 08:38:05 [   DEBUG]: 100
  5606 actions.register                 23-03-23 08:38:05 [   DEBUG]: Calling register
  5606 actions.register.progress        23-03-23 08:38:05 [   DEBUG]: 0
  5606 actions.register                 23-03-23 08:38:05 [   DEBUG]: No apps given. Using all
  5606 actions.update                   23-03-23 08:38:05 [   DEBUG]: Calling update
  5606 actions.update.progress          23-03-23 08:38:05 [   DEBUG]: 0
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: Component needs to be registered in the container
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No repository to register
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: Component needs to be registered in the container
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No repository to register
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: Component needs to be registered in the container
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: Creating data directories for egroupware...
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: Creating data directories for fetchmail...
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: Creating data directories for jitsimeet...
  5606 attributes                       23-03-23 08:38:05 [   DEBUG]: Adding jitsimeetActivated to list of attributes
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: Creating data directories for mailserver...
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: Creating data directories for rocketchat...
  5606 attributes                       23-03-23 08:38:05 [   DEBUG]: Adding rocketchatActivated to list of attributes
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for adconnector found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for admin-dashboard found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for admindiary-backend found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for admindiary-frontend found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for adtakeover found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for agorumcore-pro found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for apple-school-manager found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for audriga-groupware-migration found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for benno-mailarchiv found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for bildungslogin-lizenzmanager found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for bluespice found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for brainyoo found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for collabora found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for collabora-online found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for cups found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for dcd found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for dhcp-server found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for dovecot-connector found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for dudle found. Nothing to remove
  5606 actions.update                   23-03-23 08:38:05 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/app-categories.ini"...
  5606 actions.update                   23-03-23 08:38:05 [   DEBUG]:   ... Not Modified
  5606 actions.update                   23-03-23 08:38:05 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/rating.ini"...
  5606 actions.update                   23-03-23 08:38:05 [   DEBUG]:   ... Not Modified
  5606 actions.update                   23-03-23 08:38:05 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/license_types.ini"...
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: Already found cn=egrou-69893915,cn=memberserver,cn=computers,dc=lan,dc=gehr,dc=club as a host for egroupware. Trying to retrieve machine secret.
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for ethercalc found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for etherpad-lite found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [   DEBUG]: App is not docker. Skip registering host
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for gitlab found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for google-apps found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for guacamole found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for humhub found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for intercom-service found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for itiseasybusiness found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for itslearning found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: Already found cn=jitsi-68247330,cn=memberserver,cn=computers,dc=lan,dc=gehr,dc=club as a host for jitsimeet. Trying to retrieve machine secret.
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for keycloak found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for kopano-core found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for kopano-webapp found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for letsencrypt found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for m23 found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [   DEBUG]: App is not docker. Skip registering host
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for nextcloud found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for odoo found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for office365 found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for onlyoffice-ds found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for onlyoffice-ds-integration found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for open-xchange-guard found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for open-xchange-text found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for openid-connect-provider found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for openproject found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for openvpn4ucs found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for opsi found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for owncloud found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for ox-connector found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for oxseforucs found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for pkgdb found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for privacyidea-saml found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for prometheus found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for prometheus-alertmanager found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for prometheus-node-exporter found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for radius found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for relution found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for riot found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: Already found cn=rocke-65052388,cn=memberserver,cn=computers,dc=lan,dc=gehr,dc=club as a host for rocketchat. Trying to retrieve machine secret.
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for samba-memberserver found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for samba4 found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for seafile found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for self-service found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for self-service-backend found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for squid found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for synapse found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for ucsschool found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for ucsschool-apis found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for ucsschool-bff-groups found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for ucsschool-bff-users found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for ucsschool-id-connector found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for ucsschool-kelvin-rest-api found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for ucsschool-veyon-proxy found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for univention-demo-data found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for webweaver found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for wekan found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for wordpress found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for xwiki found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for z-push-kopano found. Nothing to remove
  5606 actions.register                 23-03-23 08:38:05 [    INFO]: No hostdn for zammad found. Nothing to remove
  5606 actions.update                   23-03-23 08:38:05 [   DEBUG]:   ... Not Modified
  5606 actions.update                   23-03-23 08:38:05 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/ucs.ini"...
  5606 actions.register                 23-03-23 08:38:06 [    INFO]: Removing localhost from LDAP object
  5606 actions.update                   23-03-23 08:38:06 [   DEBUG]:   ... Not Modified
  5606 actions.update                   23-03-23 08:38:06 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/suggestions.json"...
  5606 actions.register                 23-03-23 08:38:06 [    INFO]: Removing localhost from LDAP object
  5606 actions.register                 23-03-23 08:38:06 [    INFO]: Removing localhost from LDAP object
  5606 actions.register                 23-03-23 08:38:06 [    INFO]: Registering UCR for egroupware
  5606 actions.register                 23-03-23 08:38:06 [    INFO]: Marking 4.4/egroupware=21.1.20230210 as installed
  5606 actions.update                   23-03-23 08:38:06 [   DEBUG]:   ... Not Modified
  5606 actions.update                   23-03-23 08:38:06 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/5.0/all.tar.gpg"...
  5606 actions.update                   23-03-23 08:38:06 [   DEBUG]:   ... Not Modified
  5606 actions.update                   23-03-23 08:38:06 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.4/all.tar.gpg"...
  5606 actions.update                   23-03-23 08:38:06 [   DEBUG]:   ... Not Modified
  5606 actions.update                   23-03-23 08:38:06 [    INFO]: Downloading "https://appcenter.software-univention.de/meta-inf/4.3/all.tar.gpg"...
  5606 actions.update                   23-03-23 08:38:06 [   DEBUG]:   ... Not Modified
  5606 actions.update.progress          23-03-23 08:38:06 [   DEBUG]: 100
  5606 cache                            23-03-23 08:38:07 [   DEBUG]: Cache outdated. Need to rebuild
  5606 cache                            23-03-23 08:38:07 [   DEBUG]: Loaded 127 apps from cache
  5606 cache                            23-03-23 08:38:07 [   DEBUG]: Cache outdated. Need to rebuild
  5606 cache                            23-03-23 08:38:07 [   DEBUG]: Loaded 514 apps from cache
  5606 cache                            23-03-23 08:38:07 [   DEBUG]: Cache outdated. Need to rebuild
  5606 cache                            23-03-23 08:38:07 [   DEBUG]: Loaded 255 apps from cache
  in "<unicode string>", line 69, column 1:
    gw02.lan.domain.de,993,lan.gehr. ... 
    ^ (line: 69)
could not find expected ':'
  in "<unicode string>", line 71, column 5:
        # add master-user/-pw from /etc/ ... 
        ^ (line: 71)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/__init__.py", line 194, in call_with_namespace
    result = self.main(namespace)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/register.py", line 96, in main
    self._register_app_for_apps(apps, args)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/register.py", line 424, in _register_app_for_apps
    updates.update(self._register_app(app, args, lo, pos, delay=True))
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/register.py", line 441, in _register_app
    updates.update(self._register_docker_variables(app))
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/register.py", line 495, in _register_docker_variables
    updates[app.ucr_image_key] = app.get_docker_image_name()
  File "/usr/lib/python3/dist-packages/univention/appcenter/app.py", line 1044, in get_docker_image_name
    content = yaml.load(ucr_run_filter(open(yml_file).read()), yaml.RoundTripLoader, preserve_quotes=True)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/main.py", line 636, in load
    return loader._constructor.get_single_data()  # type: ignore
  File "/usr/lib/python3/dist-packages/ruamel/yaml/constructor.py", line 102, in get_single_data
    node = self.composer.get_single_node()
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 75, in get_single_node
    document = self.compose_document()
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 96, in compose_document
    node = self.compose_node(None, None)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 132, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 194, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 132, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 194, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 132, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 194, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 130, in compose_node
    node = self.compose_sequence_node(anchor)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 162, in compose_sequence_node
    while not self.parser.check_event(SequenceEndEvent):
  File "/usr/lib/python3/dist-packages/ruamel/yaml/parser.py", line 144, in check_event
    self.current_event = self.state()
  File "/usr/lib/python3/dist-packages/ruamel/yaml/parser.py", line 521, in parse_indentless_sequence_entry
    KeyToken, ValueToken, BlockEndToken):
  File "/usr/lib/python3/dist-packages/ruamel/yaml/scanner.py", line 1618, in check_token
    while self.need_more_tokens():
  File "/usr/lib/python3/dist-packages/ruamel/yaml/scanner.py", line 196, in need_more_tokens
    self.stale_possible_simple_keys()
  File "/usr/lib/python3/dist-packages/ruamel/yaml/scanner.py", line 345, in stale_possible_simple_keys
    "could not find expected ':'", self.reader.get_mark())
ruamel.yaml.scanner.ScannerError: while scanning a simple key
  in "<unicode string>", line 69, column 1:
    gw02.lan.domain.de,993,lan.gehr. ... 
    ^ (line: 69)
could not find expected ':'
  in "<unicode string>", line 71, column 5:
        # add master-user/-pw from /etc/ ... 
        ^ (line: 71)
  6134 cache                            23-03-23 08:38:12 [   DEBUG]: Cache outdated. Need to rebuild
  6134 cache                            23-03-23 08:38:13 [   DEBUG]: Loaded 127 apps from cache
  6134 cache                            23-03-23 08:38:13 [   DEBUG]: Cache outdated. Need to rebuild
  6134 cache                            23-03-23 08:38:13 [   DEBUG]: Loaded 514 apps from cache
  6134 cache                            23-03-23 08:38:13 [   DEBUG]: Cache outdated. Need to rebuild
  6134 cache                            23-03-23 08:38:13 [   DEBUG]: Loaded 255 apps from cache
  6134 cache                            23-03-23 08:38:13 [   DEBUG]: Cache outdated. Need to rebuild
  6134 cache                            23-03-23 08:38:13 [   DEBUG]: Loaded 514 apps from cache
  5606 utils                            23-03-23 08:38:20 [    INFO]: Resolving dependencies for egroupware
  5606 actions.upgrade                  23-03-23 08:38:21 [    INFO]: 4.4/egroupware=23.1.20230314 is a Docker App. No sane dry run is implemented
  5606 actions.upgrade                  23-03-23 08:38:29 [   DEBUG]: Calling upgrade
  5606 actions.upgrade.progress         23-03-23 08:38:29 [   DEBUG]: 0
  5606 utils                            23-03-23 08:38:29 [    INFO]: Resolving dependencies for egroupware
  5606 actions.upgrade                  23-03-23 08:38:29 [    INFO]: Going to upgrade EGroupware (23.1.20230314)
  5606 actions.upgrade                  23-03-23 08:38:30 [    INFO]: Showing README for 4.4/egroupware=23.1.20230314
  5606 actions.upgrade.readme           23-03-23 08:38:30 [   DEBUG]: Calling elinks -dump /var/cache/univention-appcenter/appcenter.software-univention.de/4.4/egroupware_20230314120718.README_UPDATE_DE
  5606 actions.configure                23-03-23 08:38:30 [   DEBUG]: Calling configure
  5606 actions.configure.progress       23-03-23 08:38:30 [   DEBUG]: 0
  5606 actions.configure                23-03-23 08:38:30 [    INFO]: Configuring 4.4/egroupware=23.1.20230314
  5606 actions.configure.progress       23-03-23 08:38:30 [   DEBUG]: 100
  5606 actions.upgrade                  23-03-23 08:38:30 [   DEBUG]: Calling prescript (preinst)
  5606 actions.upgrade                  23-03-23 08:38:30 [   DEBUG]: Calling /var/cache/univention-appcenter/appcenter.software-univention.de/4.4/egroupware_20230314120718.preinst --old-version 21.1.20230210 --version 23.1.20230314 --error-file /tmp/tmp33vvj2j_ --binddn uid=Administrator,cn=users,dc=lan,dc=gehr,dc=club --bindpwdfile /tmp/tmplhq33ty9 --locale de
  5606 actions.upgrade                  23-03-23 08:38:30 [   DEBUG]: /var/cache/univention-appcenter/appcenter.software-univention.de/4.4/egroupware_20230314120718.preinst returned with 0
  5606 packages                         23-03-23 08:38:30 [   DEBUG]: Holding LOCK
  5606 actions.start                    23-03-23 08:38:30 [   DEBUG]: Calling start
  5606 actions.start.progress           23-03-23 08:38:30 [   DEBUG]: 0
  5606 docker                           23-03-23 08:38:30 [   DEBUG]: Calling in /var/lib/univention-appcenter/apps/egroupware/compose:
  5606 docker                           23-03-23 08:38:30 [   DEBUG]: Calling docker-compose -p egroupware start
  5606 docker                           23-03-23 08:38:31 [ WARNING]: Starting egroupware ... 
  5606 docker                           23-03-23 08:38:31 [ WARNING]: Starting push       ... 
  5606 docker                           23-03-23 08:38:31 [ WARNING]: Starting nginx      ... 
 tarting push       ...  done           23-03-23 08:38:31 [ WARNING]:   
  5606 actions.start.progress           23-03-23 08:38:31 [   DEBUG]: 100
  5606 actions.configure                23-03-23 08:38:31 [ WARNING]: Cannot write settings while 4.4/egroupware=23.1.20230314 is not running
  5606 actions.upgrade                  23-03-23 08:38:31 [    INFO]: Executing interface update_available for egroupware
  5606 actions.upgrade                  23-03-23 08:38:31 [    INFO]: No interface defined
  5606 packages                         23-03-23 08:38:32 [   DEBUG]: Releasing LOCK
  5606 actions.start                    23-03-23 08:38:32 [   DEBUG]: Calling start
  5606 actions.start.progress           23-03-23 08:38:32 [   DEBUG]: 0
  5606 docker                           23-03-23 08:38:32 [   DEBUG]: Calling in /var/lib/univention-appcenter/apps/egroupware/compose:
  5606 docker                           23-03-23 08:38:32 [   DEBUG]: Calling docker-compose -p egroupware start
  5606 docker                           23-03-23 08:38:33 [ WARNING]: Starting egroupware ... 
  5606 docker                           23-03-23 08:38:33 [ WARNING]: Starting push       ... 
  5606 docker                           23-03-23 08:38:33 [ WARNING]: Starting nginx      ... 
 tarting nginx      ...  done           23-03-23 08:38:33 [ WARNING]:   
  5606 actions.start.progress           23-03-23 08:38:33 [   DEBUG]: 100
  5606 utils                            23-03-23 08:38:33 [   DEBUG]: send_information: action=upgrade app=egroupware value=ScannerError('while scanning a simple key', <ruamel.yaml.error.StringMark object at 0x7fd33a600138>, "could not find expected ':'", <ruamel.yaml.error.StringMark object at 0x7fd33a6002a0>) status=500
  5606 utils                            23-03-23 08:38:33 [   DEBUG]: tracking information: {'action': 'upgrade', 'status': 500, 'uuid': 'd14a32f3-e755-44c6-be51-0e1639534813', 'role': 'memberserver', 'app': 'egroupware', 'version': '23.1.20230314', 'value': 'ScannerError(\'while scanning a simple key\', <ruamel.yaml.error.StringMark object at 0x7fd33a600138>, "could not find expected \':\'", <ruamel.yaml.error.StringMark object at 0x7fd33a6002a0>)', 'system-uuid': '34e136eb-8e51-402c-bfc7-a4d163bd5c41'}
  5606 actions.upgrade-search           23-03-23 08:38:33 [   DEBUG]: Calling upgrade-search
  5606 actions.upgrade-search.progress  23-03-23 08:38:33 [   DEBUG]: 0
  5606 actions.upgrade-search           23-03-23 08:38:33 [   DEBUG]: Checking 4.4/egroupware=23.1.20230314
  5606 actions.upgrade-search.progress  23-03-23 08:38:33 [   DEBUG]: 100
  5606 actions.upgrade                  23-03-23 08:38:33 [   ERROR]: while scanning a simple key
  in "<unicode string>", line 69, column 1:
    gw02.lan.domain.de,993,lan.gehr. ... 
    ^ (line: 69)
could not find expected ':'
  in "<unicode string>", line 71, column 5:
        # add master-user/-pw from /etc/ ... 
        ^ (line: 71)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/__init__.py", line 194, in call_with_namespace
    result = self.main(namespace)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/upgrade.py", line 88, in main
    return self.do_it(args)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/install_base.py", line 171, in do_it
    success = self.do_it_once(app, args)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/upgrade.py", line 92, in do_it_once
    return super(Upgrade, self).do_it_once(app, args)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/install.py", line 210, in do_it_once
    return super(Install, self).do_it_once(app, args)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/install_base.py", line 216, in do_it_once
    self._do_it(app, args)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/docker_upgrade.py", line 118, in _do_it
    mode, detail = self._docker_upgrade_mode(app)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/docker_upgrade.py", line 111, in _docker_upgrade_mode
    if self.old_app.get_docker_image_name() not in app.get_docker_images():
  File "/usr/lib/python3/dist-packages/univention/appcenter/app.py", line 1044, in get_docker_image_name
    content = yaml.load(ucr_run_filter(open(yml_file).read()), yaml.RoundTripLoader, preserve_quotes=True)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/main.py", line 636, in load
    return loader._constructor.get_single_data()  # type: ignore
  File "/usr/lib/python3/dist-packages/ruamel/yaml/constructor.py", line 102, in get_single_data
    node = self.composer.get_single_node()
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 75, in get_single_node
    document = self.compose_document()
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 96, in compose_document
    node = self.compose_node(None, None)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 132, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 194, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 132, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 194, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 132, in compose_node
    node = self.compose_mapping_node(anchor)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 194, in compose_mapping_node
    item_value = self.compose_node(node, item_key)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 130, in compose_node
    node = self.compose_sequence_node(anchor)
  File "/usr/lib/python3/dist-packages/ruamel/yaml/composer.py", line 162, in compose_sequence_node
    while not self.parser.check_event(SequenceEndEvent):
  File "/usr/lib/python3/dist-packages/ruamel/yaml/parser.py", line 144, in check_event
    self.current_event = self.state()
  File "/usr/lib/python3/dist-packages/ruamel/yaml/parser.py", line 521, in parse_indentless_sequence_entry
    KeyToken, ValueToken, BlockEndToken):
  File "/usr/lib/python3/dist-packages/ruamel/yaml/scanner.py", line 1618, in check_token
    while self.need_more_tokens():
  File "/usr/lib/python3/dist-packages/ruamel/yaml/scanner.py", line 196, in need_more_tokens
    self.stale_possible_simple_keys()
  File "/usr/lib/python3/dist-packages/ruamel/yaml/scanner.py", line 345, in stale_possible_simple_keys
    "could not find expected ':'", self.reader.get_mark())
ruamel.yaml.scanner.ScannerError: while scanning a simple key
  in "<unicode string>", line 69, column 1:
    gw02.lan.domain.de,993,lan.gehr. ... 
    ^ (line: 69)
could not find expected ':'
  in "<unicode string>", line 71, column 5:
        # add master-user/-pw from /etc/ ... 
        ^ (line: 71)

All UCS (5.0.3) systems were brought to the current patch level, rebooted and showed no problem in the system diagnostics.

Does anyone have any idea where the problem is?

with best
sven

Hi Sven.

I was able to install EGroupware 23.1.20230314 on a freshly installed UCS as well as on an existing one with EGroupware installed (and some other apps) without any problems.

We have no feedback about such problems so far. Several people have already installed the update to UCS in the last few days.


The log in your second post seems to give some clues. But I don’t think this has anything to do directly with EGroupware. Something seems to be going wrong with the processing of the Python scripts. We at EGroupware are not involved in that. We can do PHP/JS/TS, not Python.

I hope someone from Univention would like to say something about this…

Stefan

i have the same error when trying to update EGW. Here EGW is also installed on a management node.

On another installation, here EGW is installed on the director node, the problem does not occur.

A common feature of the two UCS domains in which the EGW update does not work is that there is another UCS host running Open-Xchange. I suspect there is a connection.

OX was/is installed on my existing update system:

grafik

Basically, we (EGroupware) allow installation on all system roles and we also have not entered any conflict apps.
However, this does not mean that conflicts cannot occur. We can hardly test this consistently.
However, EGroupware is generally quite independent due to the Docker technology.

I’m still trying to figure something out… but can’t promise anything.

Stefan

Mastodon