Difference between revisions of "Horde App Migration"
From Univention Wiki
(Created page with "Category:App Center 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...") |
|||
Line 8: | Line 8: | ||
<ul> | <ul> | ||
<li> | <li> | ||
− | Save | + | Save Horde UCR settings, prepare Horde App removal |
<pre> | <pre> | ||
ucr search --brief ^horde > /opt/horde-settings.txt | ucr search --brief ^horde > /opt/horde-settings.txt | ||
Line 16: | Line 16: | ||
</li> | </li> | ||
<li> | <li> | ||
− | Remove | + | Remove Horde App |
<pre> | <pre> | ||
univention-app remove horde | univention-app remove horde | ||
Line 22: | Line 22: | ||
</li> | </li> | ||
<li> | <li> | ||
− | Install | + | Install Horde Docker App |
<pre> | <pre> | ||
univention-app update | univention-app update | ||
Line 29: | Line 29: | ||
</li> | </li> | ||
<li> | <li> | ||
− | Verify | + | Verify Horde UCS settings in Docker container |
<pre> | <pre> | ||
univention-app shell horde ucr search --brief horde</pre> | univention-app shell horde ucr search --brief horde</pre> | ||
Line 35: | Line 35: | ||
</ul> | </ul> | ||
− | To change into the container the command | + | Further configurations (/etc/horde) or modifications of UCR settings now have to be done in the container. To change into the container the command |
<pre> | <pre> | ||
univention-app shell horde | univention-app shell horde | ||
− | </pre> can be used. | + | </pre> can be used. |
Revision as of 15:09, 22 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.
-
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 now have to be done in the container. To change into the container the command
univention-app shell horde
can be used.