I’m using Pangolin on a VPS to access my homelab. I spinned up Seafile as a docker container and it’s working correctly now. I added Collabora integration according to the instructions can be found on this page, but it doesn’t work…
It tries to load the document but then it fail after a while.
”Firefox can’t connect to the server at drive.mydomain.xy:6232”
Are there any instructions exists that I should follow to make it work?
tl;dr - I think you need to take the port number out of the “OFFICE_WEB_APP_BASE_URL” line in your config.
Your browser is being told to load collabora from your domain at port 6232, but it’s unlikely that you have it set up to actually work that way. Normally you would have your seafile behind a reverse proxy that is doing TLS so that you go to https://seafile.your.domain.net (on port 443, the normal for https) and it gets forwarded to seafile. You should also have another subdomain setup in the reverse proxy for collabora, so that you get to is at an address like https://collabora.your.domain.net.
And assuming that’s all correctly set up, you need to set "OFFICE_WEB_APP_BASE_URL = " in the seahub_settings.py to point to that collabora address, like “OFFICE_WEB_APP_BASE_URL = https://collabora.your.domain.net/hosting/discovery”.
The doc you linked to has a weird example value for OFFICE_WEB_APP_BASE_URL that looks like it could mislead people about how to set that value.
Thank you for the suggestions. I created a new entry for collabora on my Pangolin pointing to the IP address of my docker host and port 6232. I also updated the OFFICE_WEB_APP_BASE_URL line in seahub_settings.py according to your suggestions. Now I’m getting the following error, when I trying to open a document: