Owncloud update failed from 10.0.10 to 10.2.1

Hello everyone,

I have an issue when I want to update owncloud with UCS from 10.0.10 to 10.2.1

INFO:
UCS: 4.4-1 errata245
Installed: 4.3/owncloud=10.0.10-2019-02-18
Upgradable: owncloud

[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
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 gateway
StopIteration

This is everything I get from the output when I try to update owncloud.

Any help would be appreciated.

BR

Miha

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