Update UCS with Owncloud 9


The migration path from ownCloud 8.2 to ownCloud 9.1 (dockerized) is actually going via ownCloud 9.0.6. The migration guide has gone through our internal testing this week and some minor glitches have been found. I hope the migration guide can be published next week and it closes the upgrade path question.

Best regards,


Okay, owncloud is running like a charm in docker but update process tells me the following:

13.04.17 17:16:19.039 DEBUG_INIT
**** Starting univention-updater with parameter=['/usr/share/univention-updater/univention-updater', 'net', '--updateto', '4.2-0', '--ignoressh', '--ignoreterm']
starting net mode
--->DBG:update_available(mode=net, cdrom_mount_point=/media/cdrom, iso=None)
Checking network repository
Update to = 4.2-0
**** Downloading scripts at Thu Apr 13 17:16:21 2017
**** Starting actual update at Thu Apr 13 17:16:22 2017
Running preup.sh script
Do 13. Apr 17:16:22 CEST 2017

Please check the release notes carefully BEFORE updating to UCS 4.2-0:
English version: https://docs.software-univention.de/release-notes-4.2-0-en.html
German version: https://docs.software-univention.de/release-notes-4.2-0-de.html

Please also consider documents of following release updates and
3rd party components.

Do you want to continue [Y/n]?
Custom preupdate script /var/lib/local-preup.sh not found
Checking for space on /var/cache/apt/archives: OK
Checking for space on /boot: OK
Checking for space on /: OK
Checking for package status: OK
Checking LDAP schema: 58ef9646 OVER: Loading Translog Overlay
58ef9646 OVER: db_init
58ef9646 OVER: Configuring Translog Overlay
58ef9646 OVER: Configured Translog Overlay to use file "/var/lib/univention-ldap/listener/listener"
58ef9646 /etc/ldap/slapd.conf: line 219: rootdn is always granted unlimited privileges.
58ef9646 OVER: db_close
58ef9646 OVER: db_destroy
ERROR: The UCS 4.2 update is not yet available for UCS app appliances.
Please try to update your system to UCS 4.2 at a later point.
Error: Update aborted by pre-update script of release 4.2-0

unfortunatly, for your appliance the update is not released yet. Please try the update at a later point.

Why are updates suggested if they are not applicable to my system?

any news when it will be available? Is it possible to find out which app is responsible for this message?

Any news about the migration path?

Hello @Grandjean, I’m still waiting for the migration path (from non docker App owncloud 8.2 to the dockerized App ownCloud 9.1). When will be available? Thanks!

Me too. Upgrading ownCoud is highly recommended since I can’t upgrade my UCS-Server without that and 8.2 will soon be a security risk.

Side-question: is ist possible to upgrade master and Backup to 4.2. and leave the owncloud-server untouched until migration is possible?

I am waiting, too. :confused: I will ping the people in charge.

Yes, that’s totally possible. UCS 4.2 and 4.1 should peacefully coexist in the same domain. The only hard restriction: UCS Master must be the most up-to-date system (Master must be updated first, you cannot and should not update e.g. a UCS Backup or Slave before updating the Master). I also recommend to keep the systems that run as Samba AD DCs at the same version, but that is not a requirement.

ownCloud App updates have just been published. A migration from owncloud 8.2 to owncloud 9.1 should now be possible via the UMC App Center


This is really great. I would like to add that it is now possible to not only upgrade to ownCloud 9.1, but also resolve the requirement for upgrading the underlying UCS 4.1 to UCS 4.2.

Users with ownCloud 8.2 on UCS 4.1 will now see an update available in the App Center. First, the app will be updated to ownCloud 9.0.6. Then the migration guide linked by the App Center has to be followed. Result will be ownCloud 9.1.4 as dockerized app. It is very important to follow the instructions in the App Center and in the migration guide.

Having ownCloud 9.1.4 on your UCS 4.1 the upgrade to UCS 4.2 will no longer be blocked by the system.

I dont see this Guide. After upgrading to ownCloud 9.0.6 the App Center offers to upgrade directly. A popup showing me some Relnotes of 9.1.4, followed by a popup notifying that Docker is used.

14.06.17 16:49:39.430  MODULE      ( PROCESS ) : Die Ausführung des Kommandos appcenter/docker/progress ist fehlgeschlagen:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/base.py", line 281, in execute
    function(self, request)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 318, in _response
    result = _multi_response(self, request)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 462, in _response
    return list(function(self, iterator, *nones))
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 284, in _fake_func
    yield function(self, *args)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/mixins.py", line 149, in progress
    ret = progress_obj.poll()
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 309, in _thread
    result = _multi_response(self, request)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 462, in _response
    return list(function(self, iterator, *nones))
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/decorators.py", line 284, in _fake_func
    yield function(self, *args)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/__init__.py", line 340, in invoke_docker
    progress.title = _('%s: Running tests') % (app.name,)
AttributeError: 'NoneType' object has no attribute 'name'

I tested the update after it was announced today, i currently do not think that there is a general error. The traceback has been logged before: https://forge.univention.org/bugzilla/show_bug.cgi?id=44384 Unfortunately, there is not much additional information at the bug report at the moment. Which UCS version + erratalevel are you using? Does an explicit univention-app update and reopening the app center module help?

Upgrade seems to be possible with 9.0.6 too. I dont know if this is the case because I had unmaintained switched on. There seems to be a 7.0.4 (sic!) in the unmaintained repository.

4.1 with latest errata applied

I guess you are referring to the steps mentioned in Wiki: OwnCloud App Migration. Where is the link to this guide to be expected?

So doing the upgrade to 9.1 with the UMC is not recommend?

It should appear just after the tests for the app update, right before the installation would start. Instead, a message will be shown, that links to the wiki page you mentioned. In your case, it should be okay to follow the steps in the guide to upgrade

The UMC will initially offer an app update. At one point, the UMC will display a link to the migration guide. That guide has to be followed, and the commands have to be executed in a terminal session.

Unluckily I’ve some problems, to I’ve created a new thread

Why is the password of owncloudadmin after the upgrade “owncloud”? At least there should be a hint in the guide.

Ich habe den Guide gerade um einen entsprechenden Hinweis erweitert. Danke für das Feedback!