Difference between revisions of "Horde App Migration"

From Univention Wiki

Jump to: navigation, search
Line 10: Line 10:
 
The following steps are necessary to migrate the non-Docker Horde App to Docker:  
 
The following steps are necessary to migrate the non-Docker Horde App to Docker:  
  
'''1.''' Save Horde UCR settings, prepare Horde App removal<pre>ucr search --brief ^horde > /opt/horde-settings.txt
+
== Save Horde UCR settings, prepare Horde App removal ==
 +
<pre>
 +
ucr search --brief ^horde > /opt/horde-settings.txt
 
cp -rf /etc/horde /opt/horde-conf
 
cp -rf /etc/horde /opt/horde-conf
 
apt-mark manual univention-mail-server
 
apt-mark manual univention-mail-server
apt-mark manual univention-postgresql</pre>
+
apt-mark manual univention-postgresql
 +
</pre>
  
'''2.''' Remove Horde App<pre>
+
== Remove Horde App ==
 +
<pre>
 
univention-app remove horde
 
univention-app remove horde
ucr unset appcenter/prudence/docker/horde</pre>
+
ucr unset appcenter/prudence/docker/horde
 +
</pre>
  
'''3.''' Install Horde Docker App<pre>
+
== Install Horde Docker App ==
 +
<pre>
 
univention-app update
 
univention-app update
 
univention-app register
 
univention-app register
univention-app install horde</pre>
+
univention-app install horde
 +
</pre>
  
'''4.''' Verify Horde UCS settings in Docker container<pre>
+
== Verify Horde UCS settings in Docker container ==
univention-app shell horde ucr search --brief horde</pre>
+
<pre>
 +
univention-app shell horde ucr search --brief horde
 +
</pre>
  
 
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:
 
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:

Revision as of 13:17, 23 November 2016


Work in Progress

Starting with version 5.2.7-3 the Horde App for UCS is available as 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

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