OwnCloud App Migration
From Univention Wiki
Starting with version 9.1.1 the ownCloud App for UCS is available as a Docker App. New installations automatically use this Docker App.
To update an existing non-Docker ownCloud App to the new Docker ownCloud App a manual migration has to be done. Basically, ownCloud on the server (Docker host) is removed and installed in a new Docker container. Directories with ownCloud data are mapped to the container and the container continues to use the database on the Docker host.
The following steps are necessary to migrate the non-Docker ownCloud App to Docker:
Save ownCloud UCR settings, prepare ownCloud App removal
ucr search --brief ^owncloud > /root/owncloud-ucr-settings.txt
Remove ownCloud App
univention-app remove owncloud82 ucr unset appcenter/prudence/docker/owncloud82
Install ownCloud Docker App
univention-app update univention-app install owncloud82
Verify ownCloud UCS settings in Docker container
univention-app shell owncloud82 ucr search --brief ^owncloud
Further configurations or modifications of UCR settings have to be done in the container from now on. Use the following command to change into the new ownCloud App container:
univention-app shell owncloud82