Collabora + nextcloud at one machine (and with problem)


First of all, I hope this my question isn’t already answered somewhere.

-Debian 8.6 with kernel 4.6 machine, apache2 with modules: proxy, proxy_wstunnel, proxy_http, ssl
-NO nginx
-Nextcloud 10.0.1 installed and working
-Collabora connected (Docker installation), 1.1.15
-local network, machine IP
-nextcloud running on as virtualhost default:443

Docker running with commandline:
docker run -t -d -p -e ‘domain=vib\.tcs\.cz’ --restart always --cap-add MKNOD collabora/code

collabora apache conf file is exactly same as it on (just SSL lines are pointed to my SSL directory with CRT and KEY)

Nextcloud modul Collabora Online is enabled and configured with “https://localhost:9980

Unfortunately when I open Office, there is error on screen:

Collabora Online unknown error: cURL error 35: error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01
Please contact the "https://localhost:9980" administrator.

I’m not so big linux guru and even docker is new for me.
Can someone confirm this configuration can work? I mean one machine and both installation (nextcloud+collabora).
And if yes, any idea where can be problem?
both certificates are created with openssl (nextcloud is certified for, collabora for

btw: even if I change localhost (and everywhere for, error message is same.

Sorry for long post :slight_smile:
And thank you for any help.

Did you add the certs to /var/www/nextcloud/resources/config/ca-bundle.crt?

Well I did.
Do I have CAT here both certificates/ I mean one for nextcloud and even one for collabora? What ID I have to enter for Collabora if run on localhost? ?

What I have to install for working certificate handling? My HDD is full of direcories at many places with files *.crt *.key *.pem.

Certificates is nightmare :smiley:

You are right :wink:

I did you wrote - nothing changes.
Same error. :frowning:

Did you restart Apache after adding those certs?

Yes I did.

I have second machine with Deb 8.6 + kernel 4.6.
I will try clean installation step-by-step described at

Maybe this solve my problem.

New instalation end with endless opening document in office.
When I click to ‘about odt’ nothing happen ever.
This is last 4 log entries in log file.

{"reqId":"owsa+x0sGzmXWVRx2Q5k","remoteAddr":"","app":"no app in context","message":"Storing the discovery.xml under key discovery.xml to the cache.","level":0,"time":"2016-12-11T08:40:36+00:00","method":"GET","url":"\/nextcloud\/index.php\/apps\/richdocuments\/ajax\/documents\/list","user":"admin","version":""}
{"reqId":"u3cwxvnJFxFnTuxZAYsR","remoteAddr":"","app":"richdocuments","message":"Generating WOPI Token for file 11, version 0.","level":0,"time":"2016-12-11T08:41:46+00:00","method":"GET","url":"\/nextcloud\/index.php\/apps\/richdocuments\/wopi\/token\/11","user":"admin","version":""}
{"reqId":"u3cwxvnJFxFnTuxZAYsR","remoteAddr":"","app":"richdocuments","message":"File with 11 has updatable set to true","level":0,"time":"2016-12-11T08:41:46+00:00","method":"GET","url":"\/nextcloud\/index.php\/apps\/richdocuments\/wopi\/token\/11","user":"admin","version":""}
{"reqId":"u3cwxvnJFxFnTuxZAYsR","remoteAddr":"","app":"no app in context","message":"Issuing token for admin file 11, version 0 owned by admin, path \/Documents\/About.odt: SPbvaiee2kSyW9duh3MWjTTSMhL4ipUe","level":0,"time":"2016-12-11T08:41:46+00:00","method":"GET","url":"\/nextcloud\/index.php\/apps\/richdocuments\/wopi\/token\/11","user":"admin","version":""}

I’m probably cursed :frowning:

Actually I have machine on public IP with domain and with CNAME

Unfortunately I still can’t open document with collabora.
Page froze when I try to open document.

web page contain code
<input type="hidden" id="wopi-url" name="wopi-url" value="wss://**localhost**:9980" />
Is this normal in case is public address for Collabora?

Even under Nextcloud configuration I have
Collabora Online server: https://localhost:9980
Is this correct?

Do I have change to public IP ( or no?
docker run -t -d -p -e 'domain=cloud\\.abc\\.cz' --restart always --cap-add MKNOD collabora/code

It’s little confusing for me.