Hello everyone,
I’ve installed latest collabora/code docker image following the official documentation on Nextcloud website but I don’t manage to make it work after several installs/uninstalls/stops/starts of docker image and several checking of other topics and documentation.
NC version: 11.0.0.10
Collabora app version : 1.1.24
Here is what I can read on docker image after trying to open a doc on Nextcloud:
loolwsd version details: 1.9.8 - 1.9.8
loolforkit version details: 1.9.8 - 1.9.8
wsd-00026-0030 0:04:20.649478 [ client_req_hdl ] ERR File [/usr/share/loolwsd//loleaflet/1.8.6/loleaflet.html] does not exist.
office version details: { "ProductName": "Collabora Office", "ProductVersion": "5.1", "ProductExtension": ".10.12", "BuildId": "653cc4c38dd2c05aecbee156aef460f5a361e579" }
wsd-00026-0030 0:05:02.527130 [ client_req_hdl ] ERR File [/usr/share/loolwsd//loleaflet/1.8.6/loleaflet.html] does not exist.
And when I create a new spreadsheet for example:
wsd-00025-1922 0:38:15.051991 [ client_ws_0009 ] ERR Error in client request handler: Host not found| LOOLWSD.cpp:966
wsd-00025-1924 0:38:15.203872 [ client_ws_000a ] ERR Error in client request handler: Host not found| LOOLWSD.cpp:966
Here is the command I ran on server 192.168.1.100:
docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=cloud\\.mydomain\\.com' --restart always --cap-add MKNOD collabora/code
And here is my vhost config on server 192.168.1.101:
ServerName office.mydomain.com
SSLEngine on
SSLCertificateFile /.../xxx.crt
SSLCertificateKeyFile /.../xxx.key
SSLCACertificateFile /.../xxx.crt
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
SSLHonorCipherOrder on
# Encoded slashes need to be allowed
AllowEncodedSlashes On
# Container uses a unique non-signed certificate
SSLProxyEngine On
SSLProxyVerify None
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off
SSLProxyCheckPeerExpire Off
# keep the host
ProxyPreserveHost On
# static html, js, images, etc. served from loolwsd
# loleaflet is the client part of LibreOffice Online
ProxyPass /loleaflet https://192.168.1.100:9980/loleaflet retry=0
ProxyPassReverse /loleaflet https://192.168.1.100:9980/loleaflet
# WOPI discovery URL
ProxyPass /hosting/discovery https://192.168.1.100:9980/hosting/discovery retry=0
ProxyPassReverse /hosting/discovery https://192.168.1.100:9980/hosting/discovery
# Main websocket
ProxyPassMatch "/lool/(.*)/ws$" wss://192.168.1.100:9980/lool/$1/ws
# Admin Console websocket
ProxyPass /lool/adminws wss://192.168.1.100:9980/lool/adminws
# Download as, Fullscreen presentation and Image upload operations
ProxyPass /lool https://192.168.1.100:9980/lool
ProxyPassReverse /lool https://192.168.1.100:9980/lool
You may see something wrong in these configs/commands.
Thank you in advance for your help.