Difference between revisions of "Horde App Migration"

From Univention Wiki

Jump to: navigation, search
Line 6: Line 6:
 
Directories with horde data are mapped to the container and the container continues to use the database on the Docker host.
 
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:
 
<ul>
 
<ul>
 
   <li>
 
   <li>
Line 35: Line 36:
 
</ul>
 
</ul>
  
Further configurations (/etc/horde) or modifications of UCR settings now have to be done in the container. To change into the container the command
+
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:
 
<pre>
 
<pre>
 
univention-app shell horde
 
univention-app shell horde
 
</pre> can be used.
 
</pre> can be used.

Revision as of 08:58, 23 November 2016


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

can be used.

Personal tools