Collabora errors out - Well, this is embarrassing, we cannot connect to your document. Please try again


I’m on NC v11.0.2 and everything works fine apart from Collabora. Once you try to open any document it gives the error message

Well, this is embarrassing, we cannot connect to your document. Please try again.

Here is docker info:

Containers: 1
 Running: 1
 Paused: 0
 Stopped: 0
Images: 1
Server Version: 1.12.6
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 10
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
 Volume: local
 Network: host bridge null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-66-generic
Operating System: Ubuntu 16.04.2 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.945 GiB
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
WARNING: No swap limit support
Insecure Registries:

Here is the log:

Discovery works:

Here is my sites-enabled for the collabora domain:

 # Main websocket
  ProxyPassMatch "/lool/(.*)/ws$" wss://$1/ws nocanon

Full file here:

Any ideas?

I’ve seen some people suggesting to switch to devicemapper. Is that 100% what my problem is? Is there any way to make it work with aufs?

Thank you!

If you have aufs support there is no reason to change to devicemapper.
Most of the time, the issue is that the server has no aufs support on the current kernel.

It seems that you have support, but to make sure please try,
grep aufs /proc/aufs

For the rest of what you sent, seems fine.

Thanks for the reply.

It says there’s no such file or dir. Are you sure that’s the right path to check for aufs support?

➜  ~ grep aufs /proc/aufs                                                        
grep: /proc/aufs: No such file or directory

I have all the extras installed

➜  ~ sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-image-extra-4.4.0-66-generic is already the newest version (4.4.0-66.87).
linux-image-extra-virtual is already the newest version (
The following packages were automatically installed and are no longer required:
  libblas-common libblas3 liblinear3 liblua5.2-0 lua-lpeg ndiff python-bs4 python-html5lib python-lxml
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
➜  ~


➜  ~ grep aufs /proc/filesystems
nodev	aufs

sorry, it was grep aufs /proc/filesystems as you mention.

Are you running the latest release?
It would need closer look since from this far, it looks fine.

Could it be a network issue?

For sure not a network issue. Discovery works fine as I mentioned

Is it a VM? VPS?
Have you try the VM script from GitHub?
We got it right, so now CODE installs flawlesly :slight_smile:

Do you have enough space to use the whole LOOL?

Nexcloud is a VM and callabora is installed in the same VM as a docker container.
I used the script from

Here’s the script

More info here:

I feel this has to be something simple because NC works flawlessly, the discovery URL for Collabora works fine

Some more screenshots:


Please what is the outpu for :

Thinking that is your proxy docker domain.

Specially the VirtualHost lines

Here it is:

cat /etc/apache2/sites-available/ 
<VirtualHost *:443>

  # SSL configuration, you may want to take the easy route instead and use Lets Encrypt!
  SSLEngine on
  SSLCertificateChainFile /etc/letsencrypt/live/
  SSLCertificateFile /etc/letsencrypt/live/
  SSLCertificateKeyFile /etc/letsencrypt/live/
  SSLProtocol             all -SSLv2 -SSLv3
  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 retry=0
  ProxyPassReverse    /loleaflet

  # WOPI discovery URL
  ProxyPass           /hosting/discovery retry=0
  ProxyPassReverse    /hosting/discovery

  # Main websocket
  ProxyPassMatch "/lool/(.*)/ws$" wss://$1/ws nocanon

  # Admin Console websocket
  ProxyPass   /lool/adminws wss://

  # Download as, Fullscreen presentation and Image upload operations
  ProxyPass           /lool
  ProxyPassReverse    /lool
➜  ~ 

I had some issues before but resolved it. See thread

Send me a PM with your nextcloud domain, i’ll allow it to run my instance and we can check from there.

Your configuration seems fine.
The only things i’m guessing is that you have old ssl certs on one side office or nextcloud domain, or maybe docker was run with errors, the part with

docker run -t -d -p -e "domain=nextcloud\\.domain\\.com" -e "username=admin-user" -e "password=random" --restart always --cap-add MKNOD collabora/code