This weekend i did an upgrade from ucs 4.1.4 to 4.2.1. Since today kopano works again. I found, that it didn’t start automatically after reboot. As discribed in Kopano won’t start after upgrade to 4.2 i installed the defined version of mysql. After this ucs showed me an update für mysql which i installed too. Now i’m able to start kopano by kopano-server on the console. It seems, that kopano starts before mysql is up and running.
UCS 4.2-1 errata157
Kopano Core 8.3.1.32
systemctl status kopano-server.service
● kopano-server.service - Kopano Core Storage Server
Loaded: loaded (/lib/systemd/system/kopano-server.service; enabled)
Active: failed (Result: exit-code) since Mon 2017-09-04 14:52:23 CEST; 27min ago
Docs: man:kopano-server(8)
man:kopano-server.cfg(5)
man:kopano-admin(8)
Main PID: 2198 (code=exited, status=255)
server.log nach reboot
Mon Sep 4 15:24:59 2017: [ notice] Starting server version 8,3,1,35, pid 2234
Mon Sep 4 15:25:01 2017: [error ] KDatabase::Connect(): database access error -2147483641, mysql error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Mon Sep 4 15:25:01 2017: [crit ] Unable to connect to database: MYSQL not initialized
Mon Sep 4 15:25:01 2017: [ notice] Server shutdown complete.
apt-cache policy mysql-server
mysql-server:
Installiert: 5.5.57-0.A~4.2.1.201708021657
Installationskandidat: 5.5.57-0.A~4.2.1.201708021657
Versionstabelle:
*** 5.5.57-0.A~4.2.1.201708021657 0
500 https://updates.software-univention.de/4.2/maintained/component/ 4.2-1-errata/all/ Packages
100 /var/lib/dpkg/status
5.5.57-0.33.201707311954 0
500 https://updates.software-univention.de/4.1/maintained/component/ 4.1-4-errata/all/ Packages
5.5.55-0.29.201705021645 0
500 https://updates.software-univention.de/4.1/maintained/component/ 4.1-4-errata/all/ Packages
5.5.54-0.A~4.2.0.201703071716 0
500 https://updates.software-univention.de/4.2/maintained/ 4.2-0/all/ Packages
5.5.54-0.27.201701251948 0
500 https://updates.software-univention.de/4.1/maintained/component/ 4.1-4-errata/all/ Packages
5.5.53-0.26.201611161616 0
500 https://updates.software-univention.de/4.1/maintained/component/ 4.1-4-errata/all/ Packages
5.5.52-0.25.201609281418 0
500 https://updates.software-univention.de/4.1/maintained/ 4.1-4/all/ Packages
5.5.46-0.17.201512141630 0
500 https://updates.software-univention.de/4.1/maintained/ 4.1-1/all/ Packages
5.5.46-0.16.201512141629 0
500 https://updates.software-univention.de/4.0/maintained/ 4.0-5/all/ Packages
500 https://updates.software-univention.de/4.0/maintained/component/ 4.0-4-errata/all/ Packages
5.5.44-0.15.201508042121 0
500 https://updates.software-univention.de/4.0/maintained/ 4.0-3/all/ Packages
5.5.40-0.14.201502051002 0
500 https://updates.software-univention.de/4.0/maintained/ 4.0-1/all/ Packages
5.5.40-0.11.201411010605 0
500 https://updates.software-univention.de/4.0/maintained/ 4.0-0/all/ Packages
https://help.univention.com/t/kopano-wont-start-after-upgrade-to-4-2/6097/11 durchgegangen - funktioniert noch nicht
kopano-server start
Now kopano core is up and running
Is there a way to repair this problem ? Thanks for you help.