This is an old version of the document!
Starting with UCS version 4.3, all apps from the Univention Appcenter are installed in Docker containers. The Benno MailArchiv app itself runs in a Docker container, while the transaction and configuration data continue to be stored directly on the host system.
Unfortunately, Univention does not currently offer an automatic migration path to update an existing app (< version 4.3) to a container app (>= UCS 4.3).
To upgrade Benno MailArchiv to UCS 4.3, please proceed as follows.
Before updating, a backup of the entire system (including movement data) should be created!
The UCS system can only be updated up to UCS 4.2 with the Benno MailArchiv app installed. A direct upgrade to UCS 4.3 is not possible.
During the upgrade, the system is in a state where emails submitted via SMTP are not cached for archiving. Therefore, the SMTP connection to the host should be disabled.
Per Appcenter wird die Benno MailArchiv App deinstalliert. Die archivierten E-Mails werden dabei nicht gelöscht. Der Pfad mit dem Repository und Index (/srv/benno/archive) bleibt dabei erhalten.
Allerdings wird der MILTER Daemon aus der Postfix Konfiguration entfernt , so daß ein- oder ausgehende E-Mails nicht mehr in das Mailarchiv kopiert werden.
The system can now be updated to the latest Univention version.
The Benno MailArchiv app is still blocked in the App Center to prevent accidental upgrades.
The following command will remove this lock.
ucr unset appcenter/prudence/docker/benno-mailarchiv
The Benno MailArchiv app can now be installed again as a Docker app in the Appcenter.
Nach dem Upgrade müssen die Benutzer-Ids im Container angepasst werden. Mit dem Kommando
univention-app shell benno-mailarchiv
wird eine Shell im Docker-Container von Benno MailArchiv zur Verfügung gestellt. In dieser Shell können jetzt die Benutzer-Ids angepasst werden.
chown -R benno:benno /etc/benno chgrp www-data /etc/benno-web chgrp www-data /etc/benno-web/benno.conf chgrp www-data /etc/benno-web/rest.conf chown -R benno:benno /srv/benno
Nach erfolgreichem Upgrade kann die SMTP-Verbindund wieder aktiviert werden.