i installed a collabora server according to the instructions from here:
and coolwsd from here:
I have configured the /etc/coolwsd/coolwsd.xml (groups) so that only my Nextcloud can access it. But it doesn’t work. I think the problem is, that collabora is running in the docker container and coolwsd on the host.
Does anyone have any tips on what i need to do now?
that collabora is running in the docker container and coolwsd on the host.
coolwsd is Collabora Online.
On the Hetzner website, " Schritt 3 - Collabora Container starten" show that collabora online is started as a docker container (I don’t really understand German though). This should be all you need. The “Setting up and configuring native CODE packages on Linux” (second link) is about installing distribution package on a server, which is if you do NOT use Docker images, and isn’t linked from the previous document.
Ok, so now i have to make the the “/etc/coolwsd/coolwsd.xml” from inside docker persistent on the host. I’am very new on docker. I know that this is possible but i am not sure how exactly. Any Tipps?
Then i customised the file on the host (/docker_persistent_files/coolwsd.xml) as required, adjusted the rights of the file to 644 and started the docker container with the additional option:
<alias_groups desc="default mode is 'first' it allows only the first host when groups are not defined. set mode to 'groups' and define group to allow multiple host and its aliases" mode="groups">
<group>
<host desc="hostname to allow or deny." allow="true">test123.com</host>
</group>
alias_groups desc
→ Changed from “first” to “groups”
→ Set “test123.com” as domain
With this setting, my NC server should not have access to the CB server. But it does have it anyway?
Nevertheless, I was able to access it via my NC instance and create and edit documents! It took me quite a while to find out, that the domain must be specified including “http://” or “https://”, otherwise the parameter probably does not apply!
This works now. The same applies, of course, if you do it via the “coolwsd.xml” file.
Another point that is a little confusing: If the entry is set correctly and takes effect and my domain is locked out (for testing), NC still shows “Collabora Online Server is accessible” in the Admin/Office and the field is green!? But Office documents can no longer be edited.
Why is this so? Can’t it be done in such a way, that the server is then no longer accessible for other sites than the permitted one?