Difference between revisions of "Horde App Migration"

From Univention Wiki

Jump to: navigation, search
m
 
Line 15: Line 15:
 
docker run hello-world
 
docker run hello-world
 
</pre>
 
</pre>
 +
If this test fails, please contact the Univention Support or check the Univention Forum [http://forum.univention.de/] for more information.
  
 
== Save Horde UCR settings, prepare Horde App removal ==
 
== Save Horde UCR settings, prepare Horde App removal ==

Latest revision as of 09:52, 16 January 2017


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:

Check if docker works on the host

Run the following command to verify docker works, before starting the migration:

docker run hello-world

If this test fails, please contact the Univention Support or check the Univention Forum [1] for more information.

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
Note
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