I’ve just tried to reproduce your error with an ownCloud running in docker and Collabora running in a container like you did.
When going to http:// localhost:9980/loleaflet/dist/admin/admin.html I’m not able to set the necessary settings described in the documentation. Were you able to do this?
I could see the following in the collabora docker logs (
docker logs collabora --tail=100 -f):
ERR Cannot get file info from WOPI storage uri [http://localhost:8080/apps/richdocuments/wopi/files/12_ocrktkqjfzs5?access_token=1FsqICpCRdhAr3YuD6o87ZR6AYyEVf5O&access_token_ttl=0&permission=edit]. Error: Connection refused| wsd/Storage.cpp:474
Otherwise you might be able to set the configuration using the following xmlstarlet command by execing into the container (
docker exec -it collabora bash).
xmlstarlet ed -L --subnode "config/net/post_allow" --type elem -n host -v "ip\.ad\.dr\.ess" /etc/loolwsd/loolwsd.xml
Make sure to replace
ip\.ad\.dr\.ess\ with your public IP or for example with
other-40\.umwelt-campus\.de and make sure to backslash all dots.
Alternatively you could also run the following command directly:
docker exec -it collabora /bin/bash -c "xmlstarlet ed -L --subnode \"config/net/post_allow\" --type elem -n host -v \"ip\.ad\.dr\.ess\" /etc/loolwsd/loolwsd.xml"
Afterwards you need to restart the docker container again to apply the configuration changes:
docker restart collabora
Hope that helps. Otherwise you might be able to see additional error messages (
ERR) in the docker log while trying to access collabora through ownCloud, please send those through.