In my home situation I have Nextcloud running on a Raspberry Pi3 and I managed to install Collabora CODE on a 64 bit atom n570 device (it ain’t much but it is for testing and learning purposes)
Now I only have on IP address and have port forwarding enabled on my router to the nextcloud pi.
192.168.1.80 (multiple virtual hosts there on webmin/virtualmin, DNS managed on Cloudflare)
The n570 with collabora is running on 192.168.1.70
Now do I put the sample vhosts file as in https://nextcloud.com/collaboraonline/ on a vhost on pi with ip 192.168.1.70 instead of the 127.0.0.1? Whatever I do, I get access denied. On ip 192.168.1.70:9980
Or do I need a reverse proxy running between the router forwarding the correct traffic to the right IP
You are in the good way to get it working. Install the reverse proxy on the pi and change the 127.0.0.1 to your docker host’s ip
the key is running the container with the right port binded to get it listening to the lan instead of localhost:
(In the given docker run cmd in the tutorial, the docker port is binded to localhost.)
Use 9980:9980 instead of 127.0.0.1:9980:9980 when run the docker image.
@aalaesar, thanks that helped indeed. Now when I click a document Collabora opens indeed.
However when opening a file like “filename.odt”, it ends up in an endless spinning wheel and then “Well, this is embarrassing, we cannot connect to your document. Please try again.” and “Service not available…” And these messages keep coming…
The bottom Collabora bar says “no users”. Can’t tell if that is related…
sry i’m not very familiar with this error using Apache2
There’s a lot of people througth the forum with the same error. I recommend you to search inside, you may find a solution.
First i suggest you to check your docker logs with docker logs <your docker id>.