For first post, please answer the questions below!
Describe your issue in detail
cannot get collabora to work. getting blank page and browser console says 502. I dont need ssl or reverse proxy. i just want to access via plain http and custom ports provided.
I have this in a recent setup that works smoothly:
# in docker compose file
office:
image: collabora/code:latest
restart: always
expose: ["9980"]
cap_add:
- MKNOD
environment:
- aliasgroup1=https://${ESCAPED_FQDN}
- domain=${ESCAPED_FQDN}
# where ESCAPED_FQDN=files\.example\.com => the "\" before the dots are important or it won't work
# in the pydio.json (or the plugin editor in admin web ui)
"editor.libreoffice": {
"LIBREOFFICE_CODE_VERSION": "v21",
"LIBREOFFICE_HOST": "office",
"LIBREOFFICE_PORT": 9980,
"LIBREOFFICE_SSL": true,
"LIBREOFFICE_SSL_SKIP_VERIFY": true,
"PYDIO_PLUGIN_ENABLED": true
},
When you use ‘filesuite.domain.local’ as domain, collabora docker will try to connect to wopi service via ‘http://filesuite.domain.local’
So, make sure that your docker collabora understand this fqdn.
To troubleshoot, you can go to collabora container then ping to this fqdn
For the record, I had some issues configuring the docker compose setup with collabora and I found some very interresting hints in NextCloud forum It is worth having a look to understand what is at stake and better configure your specific setup:
I have reworked on my setup today and it appears the config I gave above had a few issues.
I have corrected it with the setup that I am using now without issue.
Could you please try to adapt yours like this and see if it works?
For the record, to troubleshoot, you should:
Ensure that both cells and office docker images are up and running (and in the same docker network)
Log in the running cells docker image and verify that you can ping the collabora container with this command: ping office
Try to open this page: https://<your fqdn>/hosting/discovery: you should see an xml <wopi-discovery> tag