New to Univention, Did an update, Outlook wont conmect to exchange (Kopano) and we gui wont open

We took over a site and they were on Univention 4.3.?
I did an update and now on 4.4-1 but no Outlook clients can connect to the server and web gui wont load.

root@server:/# systemctl status apache2.service
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-03-19 10:58:38 SAST; 44min ago
Process: 5988 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
CPU: 15ms

Mar 19 10:58:38 server systemd[1]: Starting The Apache HTTP Server…
Mar 19 10:58:38 server apachectl[5988]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf:
Mar 19 10:58:38 server apachectl[5988]: Action ‘start’ failed.
Mar 19 10:58:38 server apachectl[5988]: The Apache error log may have more information.
Mar 19 10:58:38 server systemd[1]: apache2.service: Control process exited, code=exited status=1
Mar 19 10:58:38 server systemd[1]: Failed to start The Apache HTTP Server.
Mar 19 10:58:38 server systemd[1]: apache2.service: Unit entered failed state.
Mar 19 10:58:38 server systemd[1]: apache2.service: Failed with result ‘exit-code’.

root@server:/# apache2ctl configtest
apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
Action ‘configtest’ failed.
The Apache error log may have more information.

root@server:/# systemctl status kopano-gateway.service
● kopano-gateway.service - Kopano Groupware Core IMAP/POP3 Gateway
Loaded: loaded (/lib/systemd/system/kopano-gateway.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2020-03-19 09:22:51 SAST; 2h 21min ago
Docs: man:kopano-gateway(8)
man:kopano-gateway.cfg(5)
Main PID: 812 (kopano-gateway)
Tasks: 2 (limit: 4915)
Memory: 4.0M
CPU: 625ms
CGroup: /system.slice/kopano-gateway.service
├─812 /usr/sbin/kopano-gateway -F
└─844 /usr/sbin/kopano-gateway -F

Mar 19 09:22:51 server systemd[1]: Started Kopano Groupware Core IMAP/POP3 Gateway.
root@server:/# systemctl status kopano-server.service
● 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 2020-03-19 10:26:19 SAST; 1h 18min ago
Docs: man:kopano-server(8)
man:kopano-server.cfg(5)
man:kopano-admin(8)
Main PID: 12991 (kopano-server)
Tasks: 159 (limit: 4915)
Memory: 63.6M
CPU: 5.548s
CGroup: /system.slice/kopano-server.service
└─12991 /usr/sbin/kopano-server -F
root@server:/# systemctl status kopano-spooler.service
● kopano-spooler.service - Kopano Groupware Core Spooler
Loaded: loaded (/lib/systemd/system/kopano-spooler.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2020-03-19 09:22:47 SAST; 2h 23min ago
Docs: man:kopano-spooler(8)
man:kopano-spooler.cfg(5)
Main PID: 619 (kopano-spooler)
CGroup: /system.slice/kopano-spooler.service
└─619 /usr/sbin/kopano-spooler -F

Mar 19 09:22:53 server kopano-spooler[619]: Logon to file:///var/run/kopano/server.sock: Remote side cl
Mar 19 09:22:53 server kopano-spooler[619]: HrLogon server “default:” user “SYSTEM”: network error
Mar 19 09:22:53 server kopano-spooler[619]: Unable to open admin session: network error (80040115)
Mar 19 09:22:56 server kopano-spooler[619]: Logon to file:///var/run/kopano/server.sock: Remote side cl
Mar 19 09:22:56 server kopano-spooler[619]: HrLogon server “default:” user “SYSTEM”: network error
Mar 19 09:22:56 server kopano-spooler[619]: Unable to open admin session: network error (80040115)
Mar 19 10:19:27 server kopano-spooler[619]: Table reload requested, breaking server connection
Mar 19 10:19:27 server kopano-spooler[619]: Server connection lost. Reconnecting in 3 seconds…
Mar 19 10:26:20 server kopano-spooler[619]: Table reload requested, breaking server connection
Mar 19 10:26:20 server kopano-spooler[619]: Server connection lost. Reconnecting in 3 seconds…

Hi @GWit,

can you post the exact versions you are using at the moment? You can find the required commands at https://wiki.z-hub.io/display/K4U/Debugging+Kopano+on+Univention#DebuggingKopanoonUnivention-Nativepackagedapps.

Since kopano-server is listed as active by systemd it sounds like your main problem is Apache not starting. From the logs you posted there is already also a hint what is wrong:

While UCS 4.3 was using php5, uce 4.4 is now using php7. It seems in your system there are at least some php5 config leftovers. Assuming you have your Outlook connected via ActiveSync it should resume function after fixing Apache.

Thank you
Yes it is setup via activesync, problem is i have NO idea how to fix Apache…

root@server:/# dpkg -l | grep -w ‘kopano4ucs|kopano-server-packages|kopano-webapp|z-push-kopano’
ii kopano-server-packages 8.7.9.0-0+16.1 all Metapackage to install the entire Kopano Core stack
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.1.223+22.6 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
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

root@server:/# univention-app info
UCS: 4.4-1 errata376
Installed: bareos=18.2.7 dhcp-server=12.0 fetchmail=6.3.26 kopano-core=8.7.1.0-1 kopano-webapp=3.5.5.2276 samba4=4.10 z-push-kopano=2.4.5
Upgradable:

the easiest would be to uncomment the offending line.

I don’t see this file on a newly setup 4.4 system, maybe its not used/required at all anymore?

If i try get to the file i get this:
/etc/apache2/apache2.config: No such file or directory

that is strange. your previous logging was referencing to it.

Then try a2dismod php5 instead. Afterwards restart apache.

LEGEND, it is working…

Thank you for your assistance

Mastodon