root@saturn:~# univention-app info
UCS: 4.4-3 errata385
Installed: fetchmail=6.3.26 kopano-webapp=3.5.5.2276 z-push-kopano=2.4.5
Upgradable:
@fbartels:
I have the same problem. After installing nextcloud, kopano refused to operate.
May I use the procedure you described here for a registered kopano installation or will this screw up things even further?
What I’ve done so far:
[UCS-Kopano 2019-12-05 16:50:00 root /etc]# service kopano-server status
● kopano-server.service
Loaded: masked (/dev/null; bad)
Active: inactive (dead)
[UCS-Kopano 2019-12-05 16:50:14 root /etc]# systemctl restart kopano-server.service
Failed to restart kopano-server.service: Unit kopano-server.service is masked.
[UCS-Kopano 2019-12-05 17:08:03 root /etc]# ^C
[UCS-Kopano 2019-12-05 17:17:28 root /etc]# journalctl --since today -u kopano-server.service
-- Logs begin at Wed 2018-01-10 10:28:42 CET, end at Thu 2019-12-05 17:17:02 CET. --
Dez 05 15:24:54 UCS-Kopano systemd[1]: Stopping Kopano Groupware Core Storage Server...
Dez 05 15:25:54 UCS-Kopano systemd[1]: kopano-server.service: State 'stop-sigterm' timed out. Killing.
Dez 05 15:25:54 UCS-Kopano systemd[1]: kopano-server.service: Killing process 12963 (kopano-server) with signal SIGKILL.
Dez 05 15:25:54 UCS-Kopano systemd[1]: kopano-server.service: Main process exited, code=killed, status=9/KILL
Dez 05 15:25:54 UCS-Kopano systemd[1]: Stopped Kopano Groupware Core Storage Server.
Dez 05 15:25:54 UCS-Kopano systemd[1]: kopano-server.service: Unit entered failed state.
Dez 05 15:25:54 UCS-Kopano systemd[1]: kopano-server.service: Failed with result 'timeout'.
[UCS-Kopano 2019-12-05 17:17:33 root /etc]# journalctl --since '2019-12-05 08:00' -u docker.service
-- Logs begin at Wed 2018-01-10 10:28:42 CET, end at Thu 2019-12-05 17:17:02 CET. --
Dez 05 11:30:42 UCS-Kopano dockerd[1559]: time="2019-12-05T11:30:42.610336132+01:00" level=warning msg="Health check for container 76b185dda644926b88cd6187d833ff7535a33b2415782855cb5bce77e1f7d84a error: context deadline exceeded"
Dez 05 11:30:44 UCS-Kopano dockerd[1559]: time="2019-12-05T11:30:44.769954561+01:00" level=warning msg="Ignoring Exit Event, no such exec command found" container=76b185dda644926b88cd6187d833ff7535a33b2415782855cb5bce77e1f7d84a exec-id=00b04f6f8a53a9fac7ff2cbd733834ef2545452d8b477e907aa1884a8f26e899 exec-pid=27427
Dez 05 15:28:36 UCS-Kopano dockerd[1559]: time="2019-12-05T15:28:36.312737324+01:00" level=warning msg="failed to retrieve runc version: unknown output format: runc version spec: 1.0.1-dev\n"
Dez 05 16:34:42 UCS-Kopano dockerd[1559]: time="2019-12-05T16:34:42.480905496+01:00" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Dez 05 16:34:45 UCS-Kopano dockerd[1559]: time="2019-12-05T16:34:45.334308306+01:00" level=error msg="Error setting up exec command in container 76b185dda644: Container 76b185dda644926b88cd6187d833ff7535a33b2415782855cb5bce77e1f7d84a is not running"
Dez 05 16:34:48 UCS-Kopano dockerd[1559]: time="2019-12-05T16:34:48.740406041+01:00" level=info msg="Container 1eb3afcf258dc99682fb60617092ff9dee80db5a6e71c0469c8d06edd4514770 failed to exit within 10 seconds of signal 15 - using the force"
Dez 05 16:34:48 UCS-Kopano dockerd[1559]: time="2019-12-05T16:34:48.995487295+01:00" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"
Dez 05 16:34:50 UCS-Kopano dockerd[1559]: time="2019-12-05T16:34:50.130183839+01:00" level=error msg="Error setting up exec command in container 1eb3afcf258d: Container 1eb3afcf258dc99682fb60617092ff9dee80db5a6e71c0469c8d06edd4514770 is not running"
Dez 05 16:34:52 UCS-Kopano systemd[1]: Stopping Docker Application Container Engine...
Dez 05 16:34:52 UCS-Kopano dockerd[1559]: time="2019-12-05T16:34:52.567899486+01:00" level=info msg="Processing signal 'terminated'"
Dez 05 16:34:52 UCS-Kopano dockerd[1559]: time="2019-12-05T16:34:52.607111669+01:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
Dez 05 16:34:52 UCS-Kopano systemd[1]: Stopped Docker Application Container Engine.
-- Reboot --
Dez 05 16:36:44 UCS-Kopano systemd[1]: Starting Docker Application Container Engine...
Dez 05 16:36:47 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:47.304170219+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
Dez 05 16:36:47 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:47.304288582+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Dez 05 16:36:47 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:47.332682739+01:00" level=info msg="parsed scheme: \"unix\"" module=grpc
Dez 05 16:36:47 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:47.332708879+01:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
Dez 05 16:36:47 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:47.333464255+01:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix:///run/containerd/containerd.sock 0 <nil>}]" module=grpc
Dez 05 16:36:47 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:47.333496282+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Dez 05 16:36:47 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:47.333556642+01:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc4207ee1b0, CONNECTING" module=grpc
Dez 05 16:36:47 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:47.334938355+01:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc4207ee1b0, READY" module=grpc
Dez 05 16:36:47 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:47.337379187+01:00" level=info msg="ccResolverWrapper: sending new addresses to cc: [{unix:///run/containerd/containerd.sock 0 <nil>}]" module=grpc
Dez 05 16:36:47 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:47.337849410+01:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
Dez 05 16:36:47 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:47.338349588+01:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc4207ee590, CONNECTING" module=grpc
Dez 05 16:36:47 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:47.338984555+01:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc4207ee590, READY" module=grpc
Dez 05 16:36:49 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:49.865675007+01:00" level=info msg="[graphdriver] using prior storage driver: overlay"
Dez 05 16:36:49 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:49.865709894+01:00" level=warning msg="[graphdriver] WARNING: the overlay storage-driver is deprecated, and will be removed in a future release"
Dez 05 16:36:57 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:57.421388046+01:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
Dez 05 16:36:57 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:57.421726446+01:00" level=warning msg="Your kernel does not support swap memory limit"
Dez 05 16:36:57 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:57.421825402+01:00" level=warning msg="Your kernel does not support cgroup rt period"
Dez 05 16:36:57 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:57.421999484+01:00" level=warning msg="Your kernel does not support cgroup rt runtime"
Dez 05 16:36:57 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:57.429438952+01:00" level=info msg="Loading containers: start."
Dez 05 16:36:58 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:58.586548313+01:00" level=info msg="Loading containers: done."
Dez 05 16:36:58 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:58.739990163+01:00" level=warning msg="failed to retrieve runc version: unknown output format: runc version spec: 1.0.1-dev\n"
Dez 05 16:36:58 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:58.786594873+01:00" level=info msg="Docker daemon" commit=2d0083d graphdriver(s)=overlay version=18.09.7
Dez 05 16:36:58 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:58.787297580+01:00" level=info msg="Daemon has completed initialization"
Dez 05 16:36:59 UCS-Kopano dockerd[1473]: time="2019-12-05T16:36:59.051805388+01:00" level=info msg="API listen on /var/run/docker.sock"
Dez 05 16:37:00 UCS-Kopano systemd[1]: Started Docker Application Container Engine.
[UCS-Kopano 2019-12-05 17:18:49 root /etc]# dpkg -l | grep -w 'kopano4ucs\|kopano-server\|kopano-webapp\|z-push-kopano'
rc kopano-server 8.7.7.0-0+8.2 amd64 Server component for Kopano Core
ii kopano-webapp 3.5.13.2530+109.1 all New and improved WebApp for Kopano
ii kopano-webapp-plugin-contactfax 3.5.13.2530+109.1 all Kopano WebApp fax plugin
ii kopano-webapp-plugin-desktopnotifications 2.0.3.26+32.1 all Kopano WebApp Desktop notifications plugin
ii kopano-webapp-plugin-filepreviewer 2.2.0.26+24.1 all Kopano File previewer plugin
ii kopano-webapp-plugin-files 2.1.5.305+101.2 all Adds Files functionality to Kopano enabling access to WebDAV and other files backends.
ii kopano-webapp-plugin-filesbackend-owncloud 2.1.0.87+42.5 all Adds Owncloud specific functionality to Kopano Files plugin.
ii kopano-webapp-plugin-filesbackend-smb 2.1.0.50+31.5 all Adds Samba specific functionality to Kopano Files plugin.
ii kopano-webapp-plugin-folderwidgets 3.5.13.2530+109.1 all Kopano WebApp folder widgets plugin
ii kopano-webapp-plugin-gmaps 3.5.13.2530+109.1 all Kopano WebApp google maps plugin
ii kopano-webapp-plugin-mdm 2.1.1.109+38.3 all Kopano WebApp MDM plugin
ii kopano-webapp-plugin-pimfolder 3.5.13.2530+109.1 all Kopano WebApp personal inbox plugin
ii kopano-webapp-plugin-quickitems 3.5.13.2530+109.1 all Kopano WebApp quick items plugin
ii kopano-webapp-plugin-smime 2.2.2.240+23.1 all Kopano WebApp S/MIME plugin
ii kopano-webapp-plugin-spell 2.0.1.26+42.1 all Kopano WebApp Spellchecker plugin
ii kopano-webapp-plugin-spell-de-de 2.0.1.3+39.1 all Kopano WebApp Spellchecker German dictionary plugin
ii kopano-webapp-plugin-spell-en 2.0.1.1+39.1 all Kopano WebApp Spellchecker English dictionary plugin
ii kopano-webapp-plugin-spell-en-gb 2.0.1.1+39.1 all Kopano WebApp Spellchecker English (GB) dictionary plugin
ii kopano-webapp-plugin-spell-nl 2.0.1.1+40.1 all Kopano WebApp Spellchecker Dutch dictionary plugin
ii kopano-webapp-plugin-titlecounter 3.5.13.2530+109.1 all Kopano WebApp Titlecounter plugin
ii kopano-webapp-plugin-webappmanual 3.5.13.2530+109.1 all Kopano WebApp Manual plugin
rc kopano4ucs 1.5.33 all Kopano4ucs integration package for Univention Corporate Server
ii kopano4ucs-lib 1.5.33 all Library package for common Kopano4ucs functions
ii kopano4ucs-schema 1.5.33 all LDAP schema for the Kopano4ucs integration
ii kopano4ucs-udm 1.5.33 all UDM extensions for the Kopano4ucs integration
ii kopano4ucs-webapp 1.5.33 all Kopano4ucs kopano-webapp integration package for Univention Corporate Server
ii kopano4ucs-z-push 1.5.33 all Meta package for Z-Push installation
ii z-push-kopano 2.5.1+0-0 all Z-Push for Kopano
ii z-push-kopano-gabsync 2.5.1+0-0 all GAB sync for Kopano
[UCS-Kopano 2019-12-05 17:20:34 root /etc]# univention-app info
UCS: 4.4-2 errata385
Installed: adtakeover=5.0 fetchmail=6.3.26 kopano-webapp=3.5.5.2276 letsencrypt=1.2.2-8 samba4=4.10 z-push-kopano=2.4.5 4.2/mattermost=5.10.0 4.1/nextcloud=16.0.6-0
Upgradable:
i removed the univention-apps (kopano-webapp, z-push-kopano) and reinstalled kopano-core, kopano-webapp, z-push-kopano. Now the service is running:
root@saturn:~# service kopano-server status
● kopano-server.service - Kopano Groupware Core Storage Server
Loaded: loaded (/lib/systemd/system/kopano-server.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2019-12-05 17:52:48 CET; 3min 26s ago
Docs: man:kopano-server(8)
man:kopano-server.cfg(5)
man:kopano-admin(8)
Main PID: 1413 (kopano-server)
Tasks: 31 (limit: 4915)
Memory: 22.2M
CPU: 281ms
CGroup: /system.slice/kopano-server.service
└─1413 /usr/sbin/kopano-server -F
Dez 05 17:52:48 saturn kopano-server[1413]: Thu Dec 5 17:52:48 2019: [info ] Re-using fd 7 to listen on priority pipe /var/run/kopano/prio.sock
Dez 05 17:52:48 saturn kopano-server[1413]: Thu Dec 5 17:52:48 2019: [info ] Re-using fd 8 to listen on pipe /var/run/kopano/server.sock
Dez 05 17:52:48 saturn kopano-server[1413]: Thu Dec 5 17:52:48 2019: [notice ] Connection to database 'kopano' succeeded
Dez 05 17:52:49 saturn kopano-server[1413]: Thu Dec 5 17:52:49 2019: [info ] Setting object cache size: 16777216
Dez 05 17:52:49 saturn kopano-server[1413]: Thu Dec 5 17:52:49 2019: [info ] Setting indexedobject cache size: 33554432
Dez 05 17:52:49 saturn kopano-server[1413]: Thu Dec 5 17:52:49 2019: [warning] K-1244: Your database does not support storing 4-byte UTF-8! The content of some mails may be truncated. The DB should be upg
Dez 05 17:52:49 saturn kopano-server[1413]: Thu Dec 5 17:52:49 2019: [notice ] Querying database for searchfolders. This may take a while.
Dez 05 17:52:49 saturn kopano-server[1413]: Thu Dec 5 17:52:49 2019: [notice ] Loading search folders.
Dez 05 17:52:49 saturn kopano-server[1413]: Thu Dec 5 17:52:49 2019: [notice ] Done loading search folders.
Dez 05 17:52:49 saturn kopano-server[1413]: Thu Dec 5 17:52:49 2019: [notice ] Startup succeeded on pid 1413
but I can’t log in to webapp:
-> No connection to the Kopano server
root@saturn:/etc/apt/sources.list.d# dpkg -l | grep kopano
ii kopano-backup 8.7.7.0-0+49.1 amd64 Utility to back up and restore Kopano stores
ii kopano-client 8.7.7.0-0+92.1 amd64 Kopano MAPI provider library
ii kopano-common 8.7.7.0-0+92.1 amd64 Shared files for Kopano services
rc kopano-contacts 8.7.5.0-0+43.1 amd64 MAPI provider adding contact folders in the addressbook
ii kopano-dagent 8.7.7.0-0+92.1 amd64 E-Mail Delivery Agent for Kopano Core
ii kopano-dagent-pytils 8.7.7.0-0+49.1 amd64 Additional message handlers for kopano-dagent
ii kopano-gateway 8.7.7.0-0+92.1 amd64 POP3 and IMAP Gateway for Kopano Core
ii kopano-ical 8.7.7.0-0+92.1 amd64 ICal and CalDAV Gateway for Kopano Core
ii kopano-lang 8.7.7.0-0+92.1 all Translations for Kopano Core components
ii kopano-monitor 8.7.7.0-0+92.1 amd64 Quota Monitor for Kopano Core
rc kopano-presence 8.4.5.0-0+33.2 amd64 kopano presence daemon
ii kopano-python-utils 8.7.7.0-0+49.1 amd64 Additional Python-based command-line utils for Kopano Core
ii kopano-search 8.7.7.0-0+49.1 amd64 Indexed search engine for Kopano Core
ii kopano-server 8.7.7.0-0+92.1 amd64 Server component for Kopano Core
ii kopano-server-packages 8.7.7.0-0+92.1 all Metapackage to install the entire Kopano Core stack
ii kopano-spooler 8.7.7.0-0+92.1 amd64 E-mail Spooler for Kopano Core
ii kopano-webapp 3.5.14.2539+111.1 all New and improved WebApp for Kopano
ii kopano-webapp-plugin-desktopnotifications 2.0.3.26+32.1 all Kopano WebApp Desktop notifications plugin
ii kopano-webapp-plugin-filepreviewer 2.2.0.26+24.1 all Kopano File previewer plugin
ii kopano-webapp-plugin-files 2.1.5.305+101.2 all Adds Files functionality to Kopano enabling access to WebDAV and other files backends.
ii kopano-webapp-plugin-filesbackend-owncloud 2.1.0.87+42.5 all Adds Owncloud specific functionality to Kopano Files plugin.
ii kopano-webapp-plugin-filesbackend-smb 2.1.0.50+31.5 all Adds Samba specific functionality to Kopano Files plugin.
ii kopano-webapp-plugin-folderwidgets 3.5.14.2539+111.1 all Kopano WebApp folder widgets plugin
ii kopano-webapp-plugin-mdm 2.1.1.109+38.3 all Kopano WebApp MDM plugin
ii kopano-webapp-plugin-smime 2.2.2.240+23.1 all Kopano WebApp S/MIME plugin
ii kopano-webapp-plugin-spell 2.0.1.26+42.1 all Kopano WebApp Spellchecker plugin
ii kopano-webapp-plugin-spell-de-de 2.0.1.3+39.1 all Kopano WebApp Spellchecker German dictionary plugin
ii kopano-webapp-plugin-spell-en 2.0.1.1+39.1 all Kopano WebApp Spellchecker English dictionary plugin
ii kopano-webapp-plugin-spell-nl 2.0.1.1+40.1 all Kopano WebApp Spellchecker Dutch dictionary plugin
ii kopano-webapp-plugin-titlecounter 3.5.14.2539+111.1 all Kopano WebApp Titlecounter plugin
ii kopano-webapp-plugin-webappmanual 3.5.14.2539+111.1 all Kopano WebApp Manual plugin
ii kopano4ucs 1.6.2 all Kopano4ucs integration package for Univention Corporate Server
ii kopano4ucs-app 1.6.2 all Package for UCS app specific logic
ii kopano4ucs-lib 1.6.2 all Library package for common Kopano4ucs functions
ii kopano4ucs-schema 1.6.2 all LDAP schema for the Kopano4ucs integration
ii kopano4ucs-udm 1.6.2 all UDM extensions for the Kopano4ucs integration
ii kopano4ucs-webapp 1.5.33 all Kopano4ucs kopano-webapp integration package for Univention Corporate Server
ii kopano4ucs-z-push 1.5.33 all Meta package for Z-Push installation
rc libgsoap-kopano-2-8-43 2.8.43-3.1 amd64 Runtime libraries for gSOAP
ii libgsoap-kopano-2.8.94 2.8.94-0+1.1 amd64 Runtime libraries for gSOAP
ii libvmime-kopano3 0.9.2.96+3.1 amd64 Library for working with MIME messages and IMAP/POP/SMTP
ii php-kopano-smime 1.0.00+4.1 amd64 PHP Kopano SMIME Extension extends the php-openssl functions.
ii python3-kopano 8.7.7.0-0+49.1 all High-level Python 3 bindings for Kopano
ii python3-kopano-search 8.7.7.0-0+49.1 all Kopano search module for Python 3
ii python3-kopano-utils 8.7.7.0-0+49.1 all Kopano utils modules for Python 3
ii z-push-backend-kopano 2.5.1+0-0 all Z-Push Kopano backend
ii z-push-kopano 2.5.1+0-0 all Z-Push for Kopano
ii z-push-kopano-gabsync 2.5.1+0-0 all GAB sync for Kopano
When the server starts up (as indicated by your log output) there should be no reason for the login to fail with this error message. I recommend to get in contact with our support so that someone can have a direct look at your system.
kopano runs again. In the Config’s the references to LDAP, MySQL etc. were missing.
Yeah, I’ll do that.