Hi,
I contribute here since it took me the whole evening to figure out what was going wrong and I did find no direct answer to my initial problem anywhere on the web.
Here is my story
A week ago I did a lot of update on my server. I updated Debian from 10 to 11, php from 7.3 to 8.0, nextcloud from 20.* to 23.0.whatever, etc… Collabora runs from a docker image with reverse proxy.
All was apparently working fine until one of my users noticed that Collabora Online would not show Calc documents tabs. It would only show the active tab.
Well, I looked into the logs and found no critic error beside some weird warnings.
So I decided to just completely reload my docker configuration:
mv /var/lib/docker /var/lib/docker.bak service docker restart docker pull collabora/code docker run -t -d -p 127.0.0.1:9980:9980 -e 'domain=my\\.domain1\\.wat|my\\.domain2\\.the|my\\.domain3\\.fuk' --restart always --cap-add MKNOD collabora/code
When I did this, collabora would completely stop working. Instead of opening the LO files, they were downloaded to my computer.
Later I figured out (CODE Docker image — SDK https://sdk.collaboraonline.com/ documentation)
that the docker run
command had to be updated. I then changed it to
docker run -t -d -p 127.0.0.1:9980:9980 -e "aliasgroup1=https://my\\.domain0\\.wat:443,https://my\\.otherdomain\\.the|my\\.alias\\.fuk:443" --restart always --cap-add MKNOD collabora/code
Yet, the collabora server was correctly running on port 9980
but the document would not open. I kept landing on the depressing “failed to load document. Try later” page. And I still could not find any errors in the logs.
It then took me 2 whole hours to finally find out that the proxy configuration had changed. In your /etc/apache2/sites-available/share.example.com.conf
you want to replace every occurence of loleaflet
with browser
and every occurence of lool
with cool
in order to obtain a VirtualHost config as stated in this page : Proxy settings — SDK https://sdk.collaboraonline.com/ documentation
Once you have made all this changes, your are all set to enjoy your calc document tabs and the new appearance of the latest version of Collabora.