Hi all,
after upgrading to Kopano Core 8.6.2.1 today, I’m no longer able to connect to Kopano Core (it seems its not even running).
systemctl status kopano-server.service gives me:
● kopano-server.service - Kopano Core Storage Server
Loaded: loaded (/lib/systemd/system/kopano-server.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2018-06-25 15:14:16 CEST; 13min ago
Docs: man:kopano-server(8)
man:kopano-server.cfg(5)
man:kopano-admin(8)
Process: 1822 ExecStart=/usr/sbin/kopano-server -F (code=exited, status=255)
Main PID: 1822 (code=exited, status=255)
CPU: 43ms
systemctl list-units | grep kopano gives me:
kopano-dagent.service loaded active running Kopano Core Delivery Agent
kopano-gateway.service loaded active running Kopano Core IMAP/POP3 Gateway
kopano-ical.service loaded active running Kopano Core iCal/CalDAV Gateway
kopano-monitor.service loaded active running Kopano Core Quota Manager
kopano-presence.service loaded active running Kopano Core Presence Daemon
kopano-search.service loaded active running Kopano Core Search Engine
● kopano-server.service loaded **failed failed** Kopano Core Storage Server
kopano-spooler.service loaded active running Kopano Core Spooler
kopano-webmeetings.service loaded active running LSB: Kopano Webmeetings server
server.log:
Mon Jun 25 15:14:13 2018: [=======] Starting kopano-server version 8.6.2 (pid 1822)
Mon Jun 25 15:14:13 2018: [warning] Config warning: Option 'server_max_keep_alive_requests' is not used anymore.
Mon Jun 25 15:14:13 2018: [error ] Coredumps will not be generated: kopano-server requires the fs.suid_dumpable sysctl to contain the value 2, not 0. See kopano-coredump(5) for details.
Mon Jun 25 15:14:16 2018: [error ] SQL [00000003] Failed: Duplicate entry 'x-no-relay' for key 'gns', Query Size: 170, Query: "ALTER TABLE `names` ADD UNIQUE INDEX `gni` (`guid`(16), `nameid`), ADD UNIQUE INDEX `gns` (`guid`(16), `namestring`), DROP INDEX `guidnameid`, DROP INDEX `guidnamestring`"
Mon Jun 25 15:14:16 2018: [error ] KDatabase::I_Update() query failed: "Duplicate entry 'x-no-relay' for key 'gns'", query: ALTER TABLE `names` ADD UNIQUE INDEX `gni` (`guid`(16), `nameid`), ADD UNIQUE INDEX `gns` (`guid`(16), `namestring`), DROP INDEX `guidnameid`, DROP INDEX `guidnamestring`
Mon Jun 25 15:14:16 2018: [error ] K-1216: Cannot update to schema v69, because the "names" table contains unexpected rows. Certain prior versions of the server erroneously allowed these duplicates to be added (KC-1108).
Mon Jun 25 15:14:16 2018: [error ] K-1220: To fix the excess rows, use `kopano-dbadm k-1216`. Consult the manpage and preferably make a backup first.
Mon Jun 25 15:14:16 2018: [error ] K-1221: Alternatively, the server may be started with --ignore-da to forego the schema update.
Mon Jun 25 15:14:16 2018: [warning] WARNING: Unable to upgrade database from version 8.6.2.0.68 to 8.6.2.0.70
Mon Jun 25 15:14:16 2018: [warning] You can force the server to start with --ignore-database-version-conflict
Mon Jun 25 15:14:16 2018: [warning] Warning, you can lose data! If you don't know what you're doing, you shouldn't be using this option!
Mon Jun 25 15:14:16 2018: [=======] Server shutdown complete.
Any quick help would be much appreciated!
Thx and best regards
Thomas