Collabora not working on nextcloud

Hi everyone,
I run CODE and nextcloud on a TrueNAS 24.10 device, in which the Apps are migrated from k3s to docker-compose. I cannot obtain a public IPv4, so I’m all on IPv6. This results in that I can’t simply follow the tutorial to bind the two services with my domain, for apps in TrueNAS do NOT support IPv6. Therefore I used docker network create office and connected both containers to it and in the nextcloud administration panel, I used http://ix-collabora-1-collabora-1:9980 as the server location, and it seemed to work ↓


But when I open any file an error will occur ↓

Do you have any solutions for this?

I see that


This is not the in-docker network domain and it is IPv6 only. Is that why the communication failed? If so, are there any solutions?

Hii @ZYKerman It seems you COOL server running fine. As i can see, the connection is established with green single.

Can you share log information from of your docker ?

Also, there is a thread i found which can be helpful to please look this once and try if issue gets resolved or not ?Failed to load Nextcloud Office - Please try again later -- Solved! - #3 by VirtualCloud - ℹ️ Support - Nextcloud community

Thanks,
Darshan

I am having the same problem.
I just updated docker from the distro repo to the official repo, and everything is running fine except Collabora.

I see the green tick and message that it workd in Nextcloud Office admin settings, but I keep getting failed to open document.
Browser console says it timed out, however nginx timeout is set to 36000s.

Sometimes it then changes to a message that says there may be a misconfiguration on my reverse proxy, however I can’t see what that might be, my nginx config is the same as always and the ports remain the same.

Further to my issue above, I am getting “Unauthorised WOPI host” error message on Nextcloud, and in the docker logs for the Collabora container I get this:

No authorized hosts found matching the target host [domain] in config| wsd/RequestVettingStation.cpp:184

I have not changed anything in the docker-compose.yml file. The only thing changed is I changed docker from the Ubuntu repo to the official repo (so docker-compose is now ‘docker compose’).

@dinosm i see your issue has been resolved correct ?

Ref: 403 Forbidden and Access Denied to Nextcloud URL - can't open any files - #3