# Kerio Connect

# Fehlerbehebungen

# Lets Encrypt Fehler in Version 10.0.5

### Beschreibung:

Es gibt folgenden Fehler beim ausführen des Lets Encrypt Certbots in Kerio Connect.  
Blöderweise läuft die Challange bei Lets Encrypt auch fehl, so das die Domain erstmal gesperrt ist bis zum nächsten Freigegebenen Versuch.  
  
Dies ist der Fehler

[![mceclip0.png](https://wiki.hacker-net.de/uploads/images/gallery/2024-08/scaled-1680-/gpaADJERdJfqzQbY-mceclip0.png)](https://wiki.hacker-net.de/uploads/images/gallery/2024-08/gpaADJERdJfqzQbY-mceclip0.png)

Bei zu oft fehlgeschlagen, dann dieser:

```
Error creating new order :: too many certificates (5) already issued for this exact set of domains in the last 168 hours: mail.domain.com, 
retry after 2024-06-25T19:58:44Z: see https://letsencrypt.org/docs/duplicate-certificate-limit/
```

### Workaround:

Unter folgendem Link das Update manuell dawnloaden, dies ist ein offizieller Beta Build auf dem Offiziellen GoogleDrive von GFI / Kerio

[https://drive.google.com/drive/u/0/folders/11BUBaww9t4EbIJua85VLdoMVcf8BBPMg](https://drive.google.com/drive/u/0/folders/11BUBaww9t4EbIJua85VLdoMVcf8BBPMg)

# Diese Ordnergruppe kann nicht geöffnet werden 0x8004010f: MAPI_E_NOT_FOUND

### Beschreibung:

Ein Kerio Bug der eigentlich nur nohc in Kerio Connect + KOFF versions 9.2.11 und älter besteht.  
Aber leider auch in Version 10.0.7 patch 1 (8784) wieder auftaucht.  
Einfach auf die aktuellste Version aktualisieren

[![image.png](https://wiki.hacker-net.de/uploads/images/gallery/2025-12/scaled-1680-/TeSNyFdtkL0qYxMf-image.png)](https://wiki.hacker-net.de/uploads/images/gallery/2025-12/TeSNyFdtkL0qYxMf-image.png)

# Kerio nach , bzw während updte/installation kein dienst mehr zum stoppen bricht dann ab

### Beschreibung:

Nach oder während des updates kein Dienst mehr, den er stoppen kann.  
Hier die Install/update ausgabe

```
Failed to stop kerio-connect.service: Unit kerio-connect.service not loaded.
dpkg: Warnung: »altes pre-removal-Skript des Paketes kerio-connect«-Unterprozess gab den Fehlerwert 5 zurück
dpkg: stattdessen wird Skript aus dem neuen Paket probiert ...
Failed to stop kerio-connect.service: Unit kerio-connect.service not loaded.Changelogs werden gelesen... Fertig
Vorkonfiguration der Pakete ...
(Lese Datenbank ... 50545 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../kerio-connect-10.0.9-10320-p2-linux-amd64.deb ...
Failed to stop kerio-connect.service: Unit kerio-connect.service not loaded.
dpkg: Warnung: »altes pre-removal-Skript des Paketes kerio-connect«-Unterprozess gab den Fehlerwert 5 zurück
dpkg: stattdessen wird Skript aus dem neuen Paket probiert ...
Failed to stop kerio-connect.service: Unit kerio-connect.service not loaded.
dpkg: Fehler beim Bearbeiten des Archivs /root/kerio-connect-10.0.9-10320-p2-linux-amd64.deb (--unpack):
 »neues pre-removal-Skript des Paketes kerio-connect«-Unterprozess gab den Fehlerwert 5 zurück
2026-08-07 12:26:27 [INFO] [pid:924] [proc:GFIAgentSetup] [version:1.2.121] [Init] App manager UI base url: https://appmanager.gfi.com/
2026-08-07 12:26:27 [INFO] [pid:924] [proc:GFIAgentSetup] [version:1.2.121] [Init] App manager api server base url: https://api.appmanager.gfi.com/api/v1/
2026-08-07 12:26:27 [INFO] [pid:924] [proc:GFIAgentSetup] [version:1.2.121] [Init] Aws region: eu-west-1
2026-08-07 12:26:27 [INFO] [pid:924] [proc:GFIAgentSetup] [version:1.2.121] downloading agent installer...
2026-08-07 12:26:27 [INFO] [pid:924] [proc:GFIAgentSetup] [version:1.2.121] downloading https://appmanager.gfi.com/1.2.latest/linux-amd64/GFIAgentInstaller to /opt/kerio/GFIAgent/GFIAgentInstaller
2026-08-07 12:26:27 [INFO] [pid:924] [proc:GFIAgentSetup] [version:1.2.121] successfully downloaded agent installer
2026-08-07 12:26:30 [INFO] [pid:924] [proc:GFIAgentSetup] [version:1.2.121] 2026-08-07 12:26:27 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] [Init] App manager UI base url: https://appmanager.gfi.com/
2026-08-07 12:26:27 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] [Init] App manager api server base url: https://api.appmanager.gfi.com/api/v1/
2026-08-07 12:26:27 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] [Init] Aws region: eu-west-1
2026-08-07 12:26:27 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] appliance: (Kerio-Connect, /opt/kerio/) is already installed with id 21949231-cb6a-4e57-b859-f8fbc352e72d. Detected upgrade.
2026-08-07 12:26:27 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] downloading binaries...
2026-08-07 12:26:27 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] downloading https://appmanager.gfi.com/1.2.latest/linux-amd64/GFIAgent to /tmp/gfiagent2299504645/GFIAgent
2026-08-07 12:26:28 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] downloading https://appmanager.gfi.com/1.2.latest/linux-amd64/GFIAgentInstaller to /tmp/gfiagent2299504645/GFIAgentInstaller
2026-08-07 12:26:28 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] downloading https://appmanager.gfi.com/1.2.latest/linux-amd64/GFIAgentUninstaller to /tmp/gfiagent2299504645/GFIAgentUninstaller
2026-08-07 12:26:28 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] downloading https://appmanager.gfi.com/1.2.latest/linux-amd64/tailscaled to /tmp/gfiagent2299504645/tailscaled
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] downloading https://appmanager.gfi.com/1.2.latest/linux-amd64/tailscale to /tmp/gfiagent2299504645/tailscale
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] downloading https://appmanager.gfi.com/1.2.latest/linux-amd64/cli to /tmp/gfiagent2299504645/cli
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] downloading required libraries
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] stopping services before proceeding with installation
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] service status: 1
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] checking if binaries are locked...
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] skipping locked file check for GFIAgentInstaller
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] performing safe uninstallation...
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] service status: 2
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] copying binaries...
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] copying /tmp/gfiagent2299504645/GFIAgent to /usr/local/gfiagent/GFIAgent
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] copying /tmp/gfiagent2299504645/GFIAgentInstaller to /usr/local/gfiagent/GFIAgentInstaller
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] copying /tmp/gfiagent2299504645/GFIAgentUninstaller to /usr/local/gfiagent/GFIAgentUninstaller
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] copying /tmp/gfiagent2299504645/tailscaled to /usr/local/gfiagent/tailscaled
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] copying /tmp/gfiagent2299504645/tailscale to /usr/local/gfiagent/tailscale
2026-08-07 12:26:29 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] copying /tmp/gfiagent2299504645/cli to /usr/local/gfiagent/cli
2026-08-07 12:26:30 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] updating file permissions...
2026-08-07 12:26:30 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] saving appliance config...
2026-08-07 12:26:30 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] setting signup status to false for appliance 21949231-cb6a-4e57-b859-f8fbc352e72d
2026-08-07 12:26:30 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] successfully updated signup status for appliance 21949231-cb6a-4e57-b859-f8fbc352e72d
2026-08-07 12:26:30 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] installing agent as service...
2026-08-07 12:26:30 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] installing dependencies...
2026-08-07 12:26:30 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] starting agent as service...
2026-08-07 12:26:30 [INFO] [pid:928] [proc:GFIAgentInstaller] [version:1.2.133] successfully installed agent as a service
2026-08-07 12:26:30 [INFO] [pid:924] [proc:GFIAgentSetup] [version:1.2.121]
Failed to enable unit: Unit file kerio-connect.service does not exist.
dpkg: Fehler beim Aufräumen:
»installiertes post-installation-Skript des Paketes kerio-connect«-Unterprozess gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 /root/kerio-connect-10.0.9-10320-p2-linux-amd64.deb
N: Der Download wird als root und nicht Sandbox-geschützt durchgeführt, da auf die Datei »/root/kerio-connect-10.0.9-10320-p2-linux-amd64.deb« durch den Benutzer »_apt« nicht zugegriffen werden kann. - pkgAcquire::Run (13: Keine Berechtigung)
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@kerio:~#
```

wir erstellen einfach einen dummy dienst

```
touch /lib/systemd/system/kerio-connect.service
systemctl daemon-reload
```

nochmal starten, eure version natürlich anpassen

```
apt install ./kerio-connect-10.0.9-10320-p2-linux-amd64.deb --reinstall
```

Ausgabe

```
root@kerio:~# apt install ./kerio-connect-10.0.9-10320-p2-linux-amd64.deb --reinstall
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Hinweis: »kerio-connect« wird an Stelle von »./kerio-connect-10.0.9-10320-p2-linux-amd64.deb« gewählt.
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  attr bsdmainutils cpp-10 cpp-8 cryptsetup-run fdisk ftp ibverbs-providers libaio1 libapt-inst2.0 libapt-pkg5.0 libasn1-8-heimdal libbind9-161 libboost-atomic1.67.0 libboost-iostreams1.67.0
  libboost-regex1.67.0 libboost-system1.67.0 libboost-thread1.67.0 libboost-thread1.74.0 libbpf0 libcbor0 libcephfs2 libcroco3 libcryptsetup4 libcwidget3v5 libdns-export1104 libdns-export1110 libdns1104
  libdns1110 libevent-2.1-6 libfile-copy-recursive-perl libfl2 libfmt9 libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libhcrypto4-heimdal libhcrypto5-heimdal libhdb9-heimdal libheimbase1-heimdal libhogweed4
  libhx509-5-heimdal libibverbs1 libicu63 libicu67 libip4tc0 libip6tc0 libiptc0 libirs161 libisc-export1100 libisc-export1105 libisc1100 libisc1105 libisccc161 libisccfg163 libisl19 libjson-c3
  libkrb5-26-heimdal libllvm11 libllvm7 liblwres161 libmpdec2 libmpdec3 libnettle6 libnftables0 libnl-3-200 libnl-route-3-200 libnspr4 libnss3 libntdb1 libperl5.28 libperl5.32 libprocps7 libprocps8
  libpython2.7 libpython3.7-minimal libpython3.7-stdlib libpython3.9 libpython3.9-minimal libpython3.9-stdlib librados2 librdmacm1 libreadline7 libroken18-heimdal libroken19-heimdal liburing1 libvulkan1
  libwayland-client0 libwind0-heimdal mesa-vulkan-drivers perl-modules-5.28 perl-modules-5.32 pigz python3.7 python3.7-minimal python3.9 python3.9-minimal samba samba-ad-provision samba-vfs-modules tdb-tools
  telnet update-inetd
Verwenden Sie »apt autoremove«, um sie zu entfernen.
Die folgenden Pakete werden aktualisiert (Upgrade):
  kerio-connect
1 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Es müssen noch 0 B von 301 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 27,7 MB Plattenplatz zusätzlich benutzt.
Holen:1 /root/kerio-connect-10.0.9-10320-p2-linux-amd64.deb kerio-connect amd64 10.0.9.10320.patch2-1 [301 MB]
Changelogs werden gelesen... Fertig
Vorkonfiguration der Pakete ...
(Lese Datenbank ... 50545 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../kerio-connect-10.0.9-10320-p2-linux-amd64.deb ...
Unit /lib/systemd/system/kerio-connect.service is masked, ignoring.
Entpacken von kerio-connect (10.0.9.10320.patch2-1) über (10.0.8.9228.patch1-1) ...
kerio-connect (10.0.9.10320.patch2-1) wird eingerichtet ...
2026-08-07 12:32:08 [INFO] [pid:1229] [proc:GFIAgentSetup] [version:1.2.133] [Init] App manager UI base url: https://appmanager.gfi.com/
2026-08-07 12:32:08 [INFO] [pid:1229] [proc:GFIAgentSetup] [version:1.2.133] [Init] App manager api server base url: https://api.appmanager.gfi.com/api/v1/
2026-08-07 12:32:08 [INFO] [pid:1229] [proc:GFIAgentSetup] [version:1.2.133] [Init] Aws region: eu-west-1
2026-08-07 12:32:08 [INFO] [pid:1229] [proc:GFIAgentSetup] [version:1.2.133] downloading agent installer...
2026-08-07 12:32:08 [INFO] [pid:1229] [proc:GFIAgentSetup] [version:1.2.133] downloading https://appmanager.gfi.com/1.2.latest/linux-amd64/GFIAgentInstaller to /opt/kerio/GFIAgent/GFIAgentInstaller
2026-08-07 12:32:08 [INFO] [pid:1229] [proc:GFIAgentSetup] [version:1.2.133] successfully downloaded agent installer
2026-08-07 12:32:12 [INFO] [pid:1229] [proc:GFIAgentSetup] [version:1.2.133] 2026-08-07 12:32:08 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] [Init] App manager UI base url: https://appmanager.gfi.com/
2026-08-07 12:32:08 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] [Init] App manager api server base url: https://api.appmanager.gfi.com/api/v1/
2026-08-07 12:32:08 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] [Init] Aws region: eu-west-1
2026-08-07 12:32:08 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] appliance: (Kerio-Connect, /opt/kerio/) is already installed with id 21949231-cb6a-4e57-b859-f8fbc352e72d. Detected upgrade.
2026-08-07 12:32:08 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] downloading binaries...
2026-08-07 12:32:08 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] downloading https://appmanager.gfi.com/1.2.latest/linux-amd64/GFIAgent to /tmp/gfiagent1942601018/GFIAgent
2026-08-07 12:32:09 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] downloading https://appmanager.gfi.com/1.2.latest/linux-amd64/GFIAgentInstaller to /tmp/gfiagent1942601018/GFIAgentInstaller
2026-08-07 12:32:09 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] downloading https://appmanager.gfi.com/1.2.latest/linux-amd64/GFIAgentUninstaller to /tmp/gfiagent1942601018/GFIAgentUninstaller
2026-08-07 12:32:09 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] downloading https://appmanager.gfi.com/1.2.latest/linux-amd64/tailscaled to /tmp/gfiagent1942601018/tailscaled
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] downloading https://appmanager.gfi.com/1.2.latest/linux-amd64/tailscale to /tmp/gfiagent1942601018/tailscale
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] downloading https://appmanager.gfi.com/1.2.latest/linux-amd64/cli to /tmp/gfiagent1942601018/cli
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] downloading required libraries
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] stopping services before proceeding with installation
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] service status: 1
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] checking if binaries are locked...
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] skipping locked file check for GFIAgentInstaller
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] performing safe uninstallation...
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] service status: 2
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] copying binaries...
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] copying /tmp/gfiagent1942601018/GFIAgent to /usr/local/gfiagent/GFIAgent
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] copying /tmp/gfiagent1942601018/GFIAgentInstaller to /usr/local/gfiagent/GFIAgentInstaller
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] copying /tmp/gfiagent1942601018/GFIAgentUninstaller to /usr/local/gfiagent/GFIAgentUninstaller
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] copying /tmp/gfiagent1942601018/tailscaled to /usr/local/gfiagent/tailscaled
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] copying /tmp/gfiagent1942601018/tailscale to /usr/local/gfiagent/tailscale
2026-08-07 12:32:10 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] copying /tmp/gfiagent1942601018/cli to /usr/local/gfiagent/cli
2026-08-07 12:32:11 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] updating file permissions...
2026-08-07 12:32:11 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] saving appliance config...
2026-08-07 12:32:11 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] setting signup status to false for appliance 21949231-cb6a-4e57-b859-f8fbc352e72d
2026-08-07 12:32:11 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] successfully updated signup status for appliance 21949231-cb6a-4e57-b859-f8fbc352e72d
2026-08-07 12:32:11 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] installing agent as service...
2026-08-07 12:32:11 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] installing dependencies...
2026-08-07 12:32:11 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] starting agent as service...
2026-08-07 12:32:12 [INFO] [pid:1234] [proc:GFIAgentInstaller] [version:1.2.133] successfully installed agent as a service
2026-08-07 12:32:12 [INFO] [pid:1229] [proc:GFIAgentSetup] [version:1.2.133]
Updating installation timestamp in /opt/kerio/mailserver/mailserver.cfg...
New timestamp: 1786098732
No <table name="installationTracking"> found in /opt/kerio/mailserver/mailserver.cfg
Created symlink /etc/systemd/system/multi-user.target.wants/kerio-connect.service → /lib/systemd/system/kerio-connect.service.
N: Der Download wird als root und nicht Sandbox-geschützt durchgeführt, da auf die Datei »/root/kerio-connect-10.0.9-10320-p2-linux-amd64.deb« durch den Benutzer »_apt« nicht zugegriffen werden kann. - pkgAcquire::Run (13: Keine Berechtigung)
```