21.11.3.4.1 - problem with multiple domains

21.11.3.4.1 doesn’t seem to work with multiple domains.
I pull the docker as usual:

sudo docker run -t -d -p 9980:9980 -e “username=admin” -e “password=0123456789” -e ‘domain=domain3\.com|domain2\.com|domain3\.com’ --name collabora --restart=always --cap-add MKNOD collabora/code

If I connect to Collabora from domain1.com, everything works fine, but it gets stuck on this screen for the other domains. Same if I connect first with domain2.com. Everything works fine with that domain, but it won’t work with the other domains.
Collabora seems to only accept the first domain you connect with.
Everything works fine with 21.11.2.4.1, so this is definitely an issue introduced with 21.11.3.4.1.

1 Like

We are aware of it and working on it :slight_smile: we just introduced a new way to configure multihost which is not adapted to docker files. for now you can add multihosts by editing coolwsd.xml like shown in this comment. let me know if you need any help

2 Likes

@rash419 that worked, thank you.

For anyone else’s reference, this is what I did.
Logged into the container as root, installed nano and then edited /etc/coolwsd/coolwsd.xml

sudo docker exec -u 0 -it “container_ID” /bin/bash
apt update
apt install nano
nano /etc/coolwsd/coolwsd.xml

Changed mode from “first” to “groups”

<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">

Added the following lines below that:

<group>
<host desc="hostname to allow or deny." allow="true">https://domain1.com:443</host>
</group>
<group>
<host desc="hostname to allow or deny." allow="true">https://domain2.com:443</host>
</group>
<group>
<host desc="hostname to allow or deny." allow="true">https://domain3.com:443</host>
</group>

You can obviously have http:// and port 80, if you that is allowed in your environment.

2 Likes

You saved my day !!! I didn’t see the mode=“groups” in alias_groups bracket !

using current versions there is no need to edit coolwsd.xml everything works in a docker way