Can't update owncloud

Hi, I can’t update owncloud app on univention.
I have version: 10.0.10-2019-02-18 and I want to upgrade to 10.2.1.

When I try upgrade via page or console I have this error log:

root@ucs-4084:~# univention-app upgrade owncloud
Going to upgrade ownCloud (10.2.1)
Password for Administrator:
[01.PRE_INST] folder declaration
[01.PRE_INST] folder creation
[01.PRE_INST] enable logging
[01.PRE_INST] Test for broken ownCloud installation and fix it to enable updating
[01.PRE_INST] read environment variables
[01.PRE_INST] look for binddn and bindpwdfile
[01.PRE_INST] configure mariadb
Not updating mysql/config/mysqld/innodb_large_prefix
Not updating mysql/config/mysqld/innodb_file_format
Not updating mysql/config/mysqld/innodb_file_per_table
[01.PRE_INST] Check if owncloud 9 was installed previously
[01.PRE_INST] Base configuration for ownCloud
[01.PRE_INST] getting ldap password
Not updating owncloud/user/enabled
Not updating owncloud/group/enabled
Not updating owncloud/ldap/base
Not updating owncloud/ldap/loginFilter
Not updating owncloud/ldap/userFilter
Not updating owncloud/ldap/groupFilter
Not updating owncloud/ldap/internalNameAttribute
Not updating owncloud/ldap/userUuid
Not updating owncloud/ldap/groupUuid
Not updating owncloud/ldap/emailAttribute
Not updating owncloud/ldap/memberAssoc
Not updating owncloud/ldap/user/quotaAttribute
Not updating owncloud/ldap/base/users
Not updating owncloud/ldap/base/groups
Not updating owncloud/ldap/search/users
Not updating owncloud/ldap/search/groups
[01.PRE_INST] Check if this is a migration from 9.1
[01.PRE_INST] no previous installation found
[01.PRE_INST] Updating Icon Image for ownCloud docs
Setting ucs/web/overview/entries/admin/owncloud-admindoc/icon
Module: create_portal_entries
Setting ucs/web/overview/entries/admin/owncloud-userdoc/icon
Module: create_portal_entries
Starting docker-app-owncloud (via systemctl): docker-app-owncloud.service.
Cannot write settings while 4.3/owncloud=10.2.1 is not running
Executing interface update_available for owncloud
No interface defined
Upgrading image ('docker.software-univention.de/owncloud-owncloud:10.2.1')
Verifying Docker registry manifest for app image docker.software-univention.de/owncloud-owncloud:10.2.1
Pulling Docker image docker.software-univention.de/owncloud-owncloud:10.2.1
Starting docker-app-owncloud (via systemctl): docker-app-owncloud.service.

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace
    result = self.main(namespace)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/upgrade.py", line 81, in main
    return self.do_it(args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/install_base.py", line 119, in do_it
    self._do_it(app, args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_upgrade.py", line 125, in _do_it
    self._upgrade_image(app, args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_upgrade.py", line 162, in _upgrade_image
    docker.pull()
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/docker.py", line 439, in pull
    self._setup_yml(recreate=True)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/docker.py", line 497, in _setup_yml
    ip_addresses.next()  # first one for docker gateway
StopIteration
Traceback (most recent call last):
  File "/usr/bin/univention-app", line 91, in <module>
    main()
  File "/usr/bin/univention-app", line 78, in main
    ret = args.func(args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/__init__.py", line 226, in call_with_namespace
    result = self.main(namespace)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/upgrade.py", line 81, in main
    return self.do_it(args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/install_base.py", line 119, in do_it
    self._do_it(app, args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_upgrade.py", line 125, in _do_it
    self._upgrade_image(app, args)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/actions/docker_upgrade.py", line 162, in _upgrade_image
    docker.pull()
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/docker.py", line 439, in pull
    self._setup_yml(recreate=True)
  File "/usr/lib/python2.7/dist-packages/univention/appcenter/docker.py", line 497, in _setup_yml
    ip_addresses.next()  # first one for docker gatewa

I am getting the same error.

Any help from the team would be appreciated!

Hello @adrianpe, did you maybe find a solution?

I have no idea, how to fix the issue. Is it maybe possible to update manually, with in the docker image?

Let me know if you find anything?

BR

I’m not doing anything with that rn. I haven’t found any fix.

Hello,

thanks for reporting the problem. A fix is built and ready for release: https://forge.univention.org/bugzilla/show_bug.cgi?id=50196

Best regards,
Nico

Mastodon