Hey there,
i just tried to set up Collabora Online following this guide: Icewind.nl.
However, if i visit the subdomain, which i set up for Collabora (office.mydomain.com), i get the nginx welcome page.
I started the container with: docker run -t -d -p 9980:9980 -e "domain=office.mydomain.com" --cap-add MKNOD collabora/code
This should be the domain Nextcloud is running on, not the domain for the docker server.
It’s normal for the root of the domain (office.example.com) to show the nginx welcome screen since all collabora related things are in subdirecties. Collabora online should be accessed trough the nextcloud app.
Hi, i’m having the same issues. It doesn’t completely seem to work, the docker image runs and is accessible.
I can open the Documents app, and I see my documents, and have the buttons to create a new one.
However, when I open a document or try to create a new document, I get: We are sorry, this is an unexpected connection error. Please try again.
The loading indicator has 2 “stages”, a thin one with no text and after that a thicker one with “connecting” under it.
If the error happens at the second stage that means it connected to the docker server correctly and it’s likely an issue with the collabora online server.
If the error happens during the first stage you can try applying this patch to the nextcloud app.
@icewind I checked the logs…and it seems its blocking the server’s external IP:
WOPI host is not on the same host as the WOPI client: “149.210..”. Connection is not allowed.^[[0m
^[[1m^[[31mwsd-00020-22 00:04:45.604027 [ client_ws_0002 ] No acceptable WOPI hosts found matching the target host [cloud..] in config.^[[0m
Make sure you provided the correct domain to the docker (-e domain=....)? it uses that to determine which servers are allowed, setting the domain name of the nextcloud server should work.
Thanks for your patience
There are some entries which say: Error PHP Undefined index: dir at /usr/share/nextcloud/apps/richdocuments/controller/documentcontroller.php#289
But they could be caused by the wrong domain i set previously.
There are also some entries with: Debug no app in context getDiscovery(): Getting discovery.xml from the cache.