Installation of Collabora fails

collabora

#1

Hi,

i tried to install Collabora via command line, but it fails:

root@ucs:/home/tobias# univention-app install collabora
Going to install Collabora Online Development Edition (2.1.2)
Password for Administrator:
Create appcenter/apps/collabora/docker/params
Module: kopano-cfg
Creating data directories for collabora...
Copying /var/cache/univention-appcenter/appcenter.software-univention.de/4.2/collabora_20170622134722.univention-config-registry-variables
Registering UCR for collabora
Marking collabora=2.1.2 as installed
Module: kopano-cfg
File: /etc/univention/service.info/services/univention-appcenter.cfg
Multifile: /etc/postgresql/9.1/main/pg_hba.conf
File: /usr/share/univention-portal/apps.json
Multifile: /etc/apache2/sites-available/000-default.conf
Multifile: /etc/apache2/sites-available/default-ssl.conf
Module: kopano-cfg
Creating /etc/init.d/docker-app-collabora
insserv: warning: script 'K01univention-system-setup-boot' missing LSB tags and overrides
insserv: warning: script 'univention-system-setup-boot-prepare' missing LSB tags and overrides
insserv: warning: script 'univention-system-setup-boot' missing LSB tags and overrides
Adding localhost to LDAP object
Module: kopano-cfg
Reloading apache2 configuration (via systemctl): apache2.service.
Registering the container host colla-88114791 for collabora
Module: kopano-cfg
Verifying Docker registry manifest for app image docker.software-univention.de/collabora/code:2.1.2
Downloading app image docker.software-univention.de/collabora/code:2.1.2
2.1.2: Pulling from collabora/code
892cc5bfc051: Already exists
f3eda43ea55a: Already exists
646005d97ff4: Already exists
44d770c1f7bd: Already exists
1ce0c4bfe746: Already exists
a3ed95caeb02: Already exists
2cb7a8fe8de9: Already exists
2458b914d686: Already exists
c29917074300: Already exists
Digest: sha256:69077ed1ea2ea3fdc12e9b70fa90bdf4abbf97e5aeab989a2cc03a8b1854ccfd
Status: Image is up to date for docker.software-univention.de/collabora/code:2.1.2
Initializing app image
Module: kopano-cfg
Preconfiguring container b498dbcf9032bb3bc5f0cd95ac6d85571f716c5ecf142a73821d680c165eff35
Starting docker-app-collabora (via systemctl): docker-app-collabora.service.
Calling ['docker', 'cp', '/etc/timezone', 'b498dbcf9032bb3bc5f0cd95ac6d85571f716c5ecf142a73821d680c165eff35:/etc/timezone']
Calling ['docker', 'cp', '/etc/localtime', 'b498dbcf9032bb3bc5f0cd95ac6d85571f716c5ecf142a73821d680c165eff35:/etc/localtime']
Error response from daemon: lstat /var/lib/docker/overlay/322f95dbfd33919b9176168ae3cdca1c901f5133ebbc9a12c135a5cc3663f9b7/merged/usr/share/zoneinfo/Etc: no such file or directory
Configuring collabora=2.1.2
Setting username to 'admin'
Setting domain to '.*'
Failed to configure Collabora Online Development Edition: password is required
Failed to configure Collabora Online Development Edition: password is required
Aborting...
Going to remove Collabora Online Development Edition (2.1.2)
Module: kopano-cfg
Configuring collabora=2.1.2
Executing interface configure for collabora
No interface defined
Stopping docker-app-collabora (via systemctl): docker-app-collabora.service.
b498dbcf9032bb3bc5f0cd95ac6d85571f716c5ecf142a73821d680c165eff35
b498dbcf9032bb3bc5f0cd95ac6d85571f716c5ecf142a73821d680c165eff35
insserv: warning: script 'K01univention-system-setup-boot' missing LSB tags and overrides
insserv: warning: script 'univention-system-setup-boot-prepare' missing LSB tags and overrides
insserv: warning: script 'univention-system-setup-boot' missing LSB tags and overrides
Removing localhost from LDAP object
File: /etc/univention/service.info/services/univention-appcenter.cfg
Multifile: /etc/postgresql/9.1/main/pg_hba.conf
Multifile: /etc/apache2/sites-available/000-default.conf
Multifile: /etc/apache2/sites-available/default-ssl.conf
File: /usr/share/univention-portal/apps.json
Module: kopano-cfg
Reloading apache2 configuration (via systemctl): apache2.service.
Installing join script /var/cache/univention-appcenter/appcenter.software-univention.de/4.2/collabora_20170622134722.uinst
univention-run-join-scripts: runs all join scripts existing on local computer.
copyright (c) 2001-2017 Univention GmbH, Germany

Running 00kopano4ucs-safemode-on.inst skipped (already executed)
Running 01univention-ldap-server-init.inst skipped (already executed)
Running 02univention-directory-notifier.inst skipped (already executed)
Running 03univention-directory-listener.inst skipped (already executed)
Running 04univention-ldap-client.inst skipped (already executed)
Running 05univention-bind.inst skipped (already executed)
Running 08univention-apache.inst skipped (already executed)
Running 10univention-ldap-server.inst skipped (already executed)
Running 11univention-heimdal-init.inst skipped (already executed)
Running 11univention-pam.inst skipped (already executed)
Running 15univention-directory-notifier-post.inst skipped (already executed)
Running 15univention-heimdal-kdc.inst skipped (already executed)
Running 18python-univention-directory-manager.inst skipped (already executed)
Running 20univention-directory-policy.inst skipped (already executed)
Running 20univention-join.inst skipped (already executed)
Running 26univention-nagios-common.inst skipped (already executed)
Running 30univention-appcenter.inst skipped (already executed)
Running 30univention-corporate-client-schema.inst skipped (already executed)
Running 30univention-nagios-client.inst skipped (already executed)
Running 31univention-nagios-libvirtd-kvm.inst skipped (already executed)
Running 31univention-nagios-s4-connector.inst skipped (already executed)
Running 31univention-nagios-samba.inst skipped (already executed)
Running 31univention-nagios-uvmmd.inst skipped (already executed)
Running 33univention-portal.inst skipped (already executed)
Running 34univention-management-console-server.inst skipped (already executed)
Running 34univention-self-service.inst skipped (already executed)
Running 35ucc-umc-images.inst skipped (already executed)
Running 35ucc-umc-setup.inst skipped (already executed)
Running 35univention-appcenter-docker.inst skipped (already executed)
Running 35univention-management-console-module-appcenter.inst skipped (already executed)
Running 35univention-management-console-module-diagnostic.inst skipped (already executed)
Running 35univention-management-console-module-ipchange.inst skipped (already executed)
Running 35univention-management-console-module-join.inst skipped (already executed)
Running 35univention-management-console-module-lib.inst skipped (already executed)
Running 35univention-management-console-module-mrtg.inst skipped (already executed)
Running 35univention-management-console-module-pkgdb.inst skipped (already executed)
Running 35univention-management-console-module-printers.inst skipped (already executed)
Running 35univention-management-console-module-quota.inst skipped (already executed)
Running 35univention-management-console-module-reboot.inst skipped (already executed)
Running 35univention-management-console-module-services.inst skipped (already executed)
Running 35univention-management-console-module-setup.inst skipped (already executed)
Running 35univention-management-console-module-sysinfo.inst skipped (already executed)
Running 35univention-management-console-module-top.inst skipped (already executed)
Running 35univention-management-console-module-ucr.inst skipped (already executed)
Running 35univention-management-console-module-udm.inst skipped (already executed)
Running 35univention-management-console-module-updater.inst skipped (already executed)
Running 35univention-nagios-cups.inst skipped (already executed)
Running 35univention-self-service-passwordreset-umc.inst skipped (already executed)
Running 35univention-server-overview.inst skipped (already executed)
Running 36univention-management-console-module-apps.inst skipped (already executed)
Running 40univention-postgresql.inst skipped (already executed)
Running 40univention-virtual-machine-manager-schema.inst skipped (already executed)
Running 43univention-virtual-machine-manager-node-common.inst skipped (already executed)
Running 44univention-virtual-machine-manager-daemon.inst skipped (already executed)
Running 44univention-virtual-machine-manager-node-kvm.inst skipped (already executed)
Running 45univention-management-console-module-uvmm.inst skipped (already executed)
Running 50dudle.inst skipped (already executed)
Running 50nextcloud.inst skipped (already executed)
Running 50owncloud82.inst skipped (already executed)
Running 50univention-pkgdb.inst skipped (already executed)
Running 70kopano4ucs-udm.inst skipped (already executed)
Running 70kopano4ucs.inst skipped (already executed)
Running 71kopano4ucs-webapp.inst skipped (already executed)
Running 77univention-debmirror.inst skipped (already executed)
Running 78univention-kde.inst skipped (already executed)
Running 79univention-printserver.inst skipped (already executed)
Running 80univention-radius.inst skipped (already executed)
Running 81univention-nfs-server.inst skipped (already executed)
Running 90univention-bind-post.inst skipped (already executed)
Running 91ucc-pxe-boot.inst skipped (already executed)
Running 91univention-saml.inst skipped (already executed)
Running 92univention-fetchmail-schema.inst skipped (already executed)
Running 92univention-fetchmail.inst skipped (already executed)
Running 92univention-management-console-web-server.inst skipped (already executed)
Running 95ucc-2.1-desktop-image.img.inst skipped (already executed)
Running 96univention-samba4.inst skipped (already executed)
Running 97univention-s4-connector.inst skipped (already executed)
Running 98univention-pkgdb-tools.inst skipped (already executed)
Running 98univention-samba4-dns.inst skipped (already executed)
Running 99kopano4ucs-safemode-off.inst skipped (already executed)
Running 51collabora-uninstall.uinst done

I think the main error might be the following:
Failed to configure Collabora Online Development Edition: password is required

I had entered the Administrator password when starting the installation…

Kind Regards,

Tobias Lorentz


#2

Hello,

the App Center command line interface currently does not ask interactively for required App Settings, in this case, the Collabora password. Use the UMC App Center module to configure the settings while installing the app.
To install the app via console, call univention-app install collabora --set password=<yourdesiredpassword>


#3

Hi,

thank you very much for your help. I was now able to install it, but then apache fails:

apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/proxy_wstunnel.load: Cannot load /usr/lib/apache2/modules/mod_proxy_wstunnel.so into server: /usr/lib/apache2/modules/mod_proxy_wstunnel.so: cannot open shared object file: No such file or directory

The proxy_wstunnel.load file looks like this:

# Depends: proxy
LoadModule proxy_wstunnel_module /usr/lib/apache2/modules/mod_proxy_wstunnel.so

It looks like that this library does not exist at the given path…

How can this be fixed / installed?

Kind Regards,

Tobi


#4

Did you see any suspicious output while the app was installed? Is the package state of the UCS system without errors? dpkg --audit
On my UCS 4.2 system, the library is part of the apache2-bin package, reinstalling it may help: apt-get install --reinstall apache2-bin


#5

Hi,

thank you very much. Reinstalling the apache-bin package solved it.

Kind Regards,

Tobi