Installation of Collabora

Hello,

I’m trying to setup nextCloud 11.0.3 with Collabora. nextCloud is running fine.

I followed the installation instructions on https://nextcloud.com/collaboraonline/ and I got the docker image running successfully. At least I assume that.

I changed the virtual host of my nextCloud installation by adding the proxy directives. When I call ://nextcloud.host/hosting/discovery, the XML document is displayed with the element and the URLs to the supported document formats. Also opening an URL of the wopi-discovery “/loleaflet/b2e736a3/loleaflet.html?” is successful. The editor is displayed. So it seems that the docker image is running and callable and the proxy directives are active.

Everything is under one virtual host, I will change that later once I got a new SSL certificate for a special Collabora host.

In the nextCloud configuration I have set the URL in the app settings to ://nextcloud.host without defining a port. I guess that should work too because the the proxy should handle the needed URLs.

But when I try to open or add an office document nothing happens. The web page changes and the app is called ("/apps/richdocuments/index") but only the loading spinner is displayed.

What could be wrong?

There are no PHP errors in the Apache error log. Also no errors in the nextCloud log. And there are no new errors in the docker log, when opening an office document. There are only some lines when restarting the docker image:

frk-00026-00026 10:53:22.610116 [ forkit ] FTL Pipe closed.| common/IoUtil.cpp:309
Generating RSA private key, 2048 bit long modulus
…+++
…+++
e is 65537 (0x10001)
Generating RSA private key, 2048 bit long modulus
…+++
…+++
e is 65537 (0x10001)
Signature ok
subject=/C=DE/ST=BW/L=Stuttgart/O=Dummy Authority/CN=localhost
Getting CA Private Key
loolforkit version details: 2.1.0 - b2e736a3
office version details: { “ProductName”: “Collabora Office”, “ProductVersion”: “5.3”, “ProductExtension”: “.10.10”, “BuildId”: “77b0d93c0f6ff6490e909dbd81b1994862a31b3a” }
wsd-00026-00034 10:54:13.111812 [ websrv_poll ] ERR Socket #18 SSL BIO error: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate (errno: Success)| ./net/SslSocket.hpp:273
wsd-00026-00034 10:54:13.111981 [ websrv_poll ] ERR Error while handling poll for socket #18 in websrv_poll: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate| ./net/Socket.hpp:414
wsd-00026-00034 10:54:13.378951 [ websrv_poll ] ERR Socket #18 SSL BIO error: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate (errno: Success)| ./net/SslSocket.hpp:273
wsd-00026-00034 10:54:13.379018 [ websrv_poll ] ERR Error while handling poll for socket #18 in websrv_poll: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate| ./net/Socket.hpp:414
wsd-00026-00034 10:59:23.976249 [ websrv_poll ] ERR Socket #18 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255

OK, I resolved it by installing a new app version of Collabora Online. The rich documents app was in version 1.1.14. Everything works with 1.1.26-nc11