Update OpenProject fails

Dear all,

when trying to update OpenProject on a UCS version 5.0-0 errata65 system while update/secure_apt is set to no , following error occurs.

The following apps can be upgraded:

OpenProject: The underlying container can be upgraded
Starting univention-app upgrade at Mon Aug  9 14:17:29 2021...
Most of the output for App upgrades goes to /var/log/univention/appcenter.log

Starting app upgrade                                   Traceback in univention-upgrade:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/univention/updater/scripts/upgrade.py", line 430, in do_update
    update_available = performUpdate(options, checkForUpdates=options.check, silent=False)
  File "/usr/lib/python3/dist-packages/univention/updater/scripts/upgrade.py", line 139, in performUpdate
    if func(options, checkForUpdates, silent):
  File "/usr/lib/python3/dist-packages/univention/updater/scripts/upgrade.py", line 314, in do_app_updates
    pwdfile=options.pwdfile.name if options.pwdfile else None,
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/__init__.py", line 167, in call_safe
    return cls.call(**kwargs)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/__init__.py", line 175, in call
    return obj.call_with_namespace(namespace)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/__init__.py", line 181, in call_with_namespace
    result = self.main(namespace)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/upgrade.py", line 75, in main
    for app in apps:
TypeError: 'App' object is not iterable

Since being unable to install this update, I get the update available notification constantly. Is there anything I can do?

Thanks in advance
Stefan

1 Like

I have the same problem. Any idea?

It’s very unfortunate to find this as only discussion about this issue and no response so far.
Facing the same issue

Starting app upgrade
Do you want to upgrade Let’s Encrypt [Y|n]?y

Starting app upgrade                                   Traceback in univention-upgrade:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/univention/updater/scripts/upgrade.py", line 430, in do_update
    update_available = performUpdate(options, checkForUpdates=options.check, silent=False)
  File "/usr/lib/python3/dist-packages/univention/updater/scripts/upgrade.py", line 139, in performUpdate
    if func(options, checkForUpdates, silent):
  File "/usr/lib/python3/dist-packages/univention/updater/scripts/upgrade.py", line 314, in do_app_updates
    pwdfile=options.pwdfile.name if options.pwdfile else None,
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/__init__.py", line 167, in call_safe
    return cls.call(**kwargs)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/__init__.py", line 175, in call
    return obj.call_with_namespace(namespace)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/__init__.py", line 181, in call_with_namespace
    result = self.main(namespace)
  File "/usr/lib/python3/dist-packages/univention/appcenter/actions/upgrade.py", line 75, in main
    for app in apps:
TypeError: 'App' object is not iterable

As a workaround for my installation I did the following:

  1. Updated Letsencrypt via UCS Web Interface from the app center
  2. That wasn’t possible for onlyoffice, so I uninstalled onlyoffice
  3. ran univention-upgrade once more to make sure I have all updates
  4. reinstalled onlyoffice from the app center.
Mastodon