Horde App Migration

From Univention Wiki

Revision as of 22:53, 8 December 2016 by Wiesenthal (talk | contribs)
Jump to: navigation, search

Work in Progress

Starting with version 5.2.7-3 the Horde App for UCS is available as a Docker App. New installations automatically using this Docker App.

To update an existing non-Docker Horde App to the new Docker Horde App a manual migration has to be done. Basically, Horde on the server (Docker host) is removed and installed in a new Docker container. Directories with horde 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 Horde App to Docker:

Save Horde UCR settings, prepare Horde App removal

ucr search --brief ^horde > /opt/horde-settings.txt
cp -rf /etc/horde /opt/horde-conf
apt-mark manual univention-mail-server
apt-mark manual univention-postgresql

Remove Horde App

univention-app remove horde
ucr unset appcenter/prudence/docker/horde

Install Horde Docker App

univention-app update
univention-app register
univention-app install horde

Verify Horde UCS settings in Docker container

univention-app shell horde ucr search --brief ^horde
Since (dockerized) version 5.2.7-3, Horde sets the SMTP port to 587, not 25 as in the old version (UCR variable horde/mailer/params/port).

Further configurations (/etc/horde) or modifications of UCR settings have to be done in the container from now on. Use the following command to change into the new Horde App container:

univention-app shell horde
Personal tools