It seems after updating collabora it cause a problem for me too.
Iâve corrected the URL scheme and apache main websocket settings.
Now when I want to open a document I got a connection error messageâŚâplease try laterâ, then I click âokâ on the message box and soon the document opens.
In the log file I have fond this: wsd-00024-04 00:05:06.490725 [ prison_ws_0004 ] Missing JSON property: 'UserId' wsd-00024-04 00:05:06.490853 [ prison_ws_0004 ] Missing JSON property: 'UserFriendlyName' wsd-00024-04 00:05:06.490938 [ prison_ws_0004 ] Missing JSON property: 'UserCanWrite'What have i just missed?
Thanks for the reply!
I just ran through there apache setup with a new install on ubuntu 16.04 and docker pull.
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 NoDecode
# Container uses a unique non-signed certificate
SSLProxyEngine On
SSLProxyVerify None
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName 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://127.0.0.1:9980/loleaflet retry=0
ProxyPassReverse /loleaflet https://127.0.0.1:9980/loleaflet
# WOPI discovery URL
ProxyPass /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0
ProxyPassReverse /hosting/discovery https://127.0.0.1:9980/hosting/discovery
# Main websocket
#ProxyPassMatch "/lool/(.*)/ws$" wss://127.0.0.1:9980/lool/$1/ws
ProxyPassMatch "/lool/(.*)/ws$" wss://127.0.0.1:9980/lool/$1/ws nocanon
# Admin Console websocket
ProxyPass /lool/adminws wss://127.0.0.1:9980/lool/adminws
# Download as, Fullscreen presentation and Image upload operations
ProxyPass /lool https://127.0.0.1:9980/lool
ProxyPassReverse /lool https://127.0.0.1:9980/lool
Exactly the same, you can see the app, but no document?!
In the apache error log I thinks its this line but not sure why its being denied.
[authz_core:error] [pid 9003] [client 192.168.1.7:54881] AH01630: client denied by server configuration: /var/www/html/data/.ocdata
Yeah Collabora is working its just doesnât have a document.
So its either certs, DNS or file system as when it tries to find the document there is not one there.
I am on Debian and apart from the problem with Aufs and swapping to device-mapper and with self hosting managing your subnets DNS as the docker client is also a subnet client which many overlook.
It works fine and generally much of the errors are config error and confusion over the subdomains, dns and Aufs.
The problem is there is disagreement about Aufs support in the main Kernel so we are not all on the same playing field and Docker is very Distro affected.
I spent a week scratching my head and to be honest if it wasnât for a bit of help from @Ark74 I would of been stuck.
It caused me so much of a headache I did a noob tutorial by a noob, I used to be a sysadmin but that was almost 20 years ago and the install with hindsight maybe should mention a few things.
That is for Debian Jessie with Ubuntu Xenial (16.04 +) if you install linux-images-extra and linux-images-virtual Ubuntu supports Aufs and I think it works well.
sudo linux-image-extra-$(uname -r) linux-image-extra-virtual doesnât exist for Debian but this should work for ubuntu.
Run from there repos and get the most current.
So no need to swap to device-mapper as background storage.
This is true with Debian and the info Docker are sharing is cynical in my mind.
With this little bit of info that is relatively worthless and ignore the rest unless you are going to swap device-mapper for aufs support.
Enable the backports repository. See the Debian documentation
Ok what am I supposed to do with the backports? The fact of the matter is Docker uses Aufs and Debian have removed it from the mainline Kernel and Docker donât want to mention this.
So depending on distro we are not all the same, hey you can edit the instructed methods that work for many and ignore your distroâs docker requirements if you want. Could also be DNS and certs as from reading the forum they are a common hurdle.
But check how Docker should be installed on your distro and just like apache / mariadb / php it may have distro differences that are out of the scope in nextcloud install instructions.
Check your DNS on the server and inside the container.
nslookup example.com
Check your certs on the server and inside container.
openssl s_client -connect example.com:443
That is about the best I can do and I am actually wondering why the Nextcloud guys are not publishing this info as many people are landing as noobs with nextcloud and leaving with the feeling it is an unsolid product, which it isnât, but how daft is that?
Hi Iâve got this problem too. When I try and open a document I get the error âWell, this is embarrassing, we cannot connect to your document. Please try again.â
Apache vhost file looks goodâŚ
Iâm running Ubuntu 16.04 LTS.
I tried installing linux-image-extra-virtual as the suggestion above but got this error: linux-image-extra-virtual : Depends: linux-image-generic (= 4.4.0.66.70) but 4.4.0.67.72 is to be installed
Can anyone confirm if enabling backports or other repos then install this works on Ubuntu 16.04?
any help for a fix for us Ubuntu users would be great thanks.
Hi thanks for the help. modprobe aufs doesnât give any output.
I wasnât aware aufs had to even be installed? There is no mention of it in the Nextcloud Collabora guide?
Iâve tried installing aufs-tools package but that doesnât seem to do anything to help.
Iâm just trying to add collabora to my existing nextcloud server. Itâs a dedicated server not VM etc, so Iâm confused about all this virtual kernel and aufs stuff? Shouldnât the docker just open up the files from my Nextcloud⌠As I say the guide doesnât mention anything about virtual kernels or aufs??
Great!
Then right after modprobe aufs
run grep aufs /proc/filesystems
it should have to show aufs, to enable it by default use,
echo "aufs" | sudo tee -a /etc/modules
Now you should have aufs support ready to go.
What is your output for?[quote=âJonah_Naylor, post:54, topic:4179â]
As I say the guide doesnât mention anything about virtual kernels or aufs??
[/quote]
In fact it does, it is the number one of the requirements.
A host that can run a Docker container
Beware that having docker installed and be able to run docker containers are two separated things.
Hello. I am having the same issue using nginx and the current version of the container. I have not been able to find an up to date nginx config that works. This one did not work. https://www.collaboraoffice.com/code/
By viewing the docker logs I see the following errors when I try to open a document:
office version details: { âProductNameâ: âCollabora Officeâ, âProductVersionâ: â5.1â, âProductExtensionâ: â.10.21â, âBuildIdâ: âe91d2c2d59b035e40bdefac5fe06fb210180ed86â }
wsd-00024-0026 04:48:34.338179 [ client_ws_0006 ] ERR ClientRequestHandler::handleClientRequest: BadRequestException: Invalid or unknown request.| wsd/LOOLWSD.cpp:1240
wsd-00024-0025 04:48:38.436201 [ client_req_hdl ] WRN WOPI host did not pass optional access_token_ttl| wsd/FileServer.cpp:255
wsd-00024-0026 04:48:38.856659 [ client_ws_0007 ] ERR ClientRequestHandler::handleClientRequest: BadRequestException: Invalid or unknown request.| wsd/LOOLWSD.cpp:1240
wsd-00024-0025 04:48:39.036586 [ client_ws_0008 ] ERR ClientRequestHandler::handleClientRequest: BadRequestException: Invalid or unknown request.| wsd/LOOLWSD.cpp:1240
wsd-00024-0026 04:48:39.137494 [ client_ws_0009 ] ERR ClientRequestHandler::handleClientRequest: BadRequestException: Invalid or unknown request.| wsd/LOOLWSD.cpp:1240
This topic is going to auto-close within 2 days. The original problem has been solved, there might be similar issues but please open separate threads and share all required information (versions used, configuration, logfiles).