Post A2c3o9vUKZCU77mcSG by tjb@fosstodon.org
 (DIR) More posts by tjb@fosstodon.org
 (DIR) Post #A2bnyTI1atJFnXDgu0 by tjb@fosstodon.org
       2020-12-26T21:45:53Z
       
       0 likes, 0 repeats
       
       anyone running nextcloud with collabora online, both running in docker? i'm having a helluva time getting nextcloud to connect to collabora, and i've check everything that looks obvious (ssl, ports, hostname). i am trying to use nginx as a reverse proxy in front of collabora, and that seems to be part of the problem. but even removing it, and turning off ssl for the collabora container, nextcloud still doesn't want to connect (even though i can curl it just fine). 🤔
       
 (DIR) Post #A2bnyTQX5G7CDvCUAC by Matter@fosstodon.org
       2020-12-26T23:51:13Z
       
       0 likes, 0 repeats
       
       @tjb Yup, I have it set up. I had a lot of trouble because the provided nginx config didn't listen on ipv6, and it wasn't obvious to me when proofreading for some reason.
       
 (DIR) Post #A2bo2gUoR3cVumD5ZQ by Matter@fosstodon.org
       2020-12-26T23:51:59Z
       
       0 likes, 0 repeats
       
       @tjb not sure how I can help you, how are you starting the collabora server?
       
 (DIR) Post #A2c3o9vUKZCU77mcSG by tjb@fosstodon.org
       2020-12-27T02:48:39Z
       
       0 likes, 0 repeats
       
       @Matter are you running in docker?here's how i'm starting it:docker run -t -d -p 0.0.0.0:9980:9980 --network nextcloud --name collabora -e 'domain=my.domain' -e 'dictionaries=en ..' --restart always --cap-add MKNOD collabora/code
       
 (DIR) Post #A2c5ouOHmDdw84jp5c by tjb@fosstodon.org
       2020-12-27T03:11:12Z
       
       0 likes, 0 repeats
       
       @Matter are you running in docker?here's how i'm starting it:docker run -t -d -p 9980:9980 --name collabora -e "server_name=office.my.domain" -e 'dictionaries=en ..' -e "domain=my\\.domain" -e "username=secret" -e "password=secret" --restart always --cap-add MKNOD collabora/code
       
 (DIR) Post #A2cdeAdoPlc5mk3Gym by Matter@fosstodon.org
       2020-12-27T09:30:14Z
       
       0 likes, 0 repeats
       
       @tjb yes I'm using docker.You don't need the username and password anymore I think. I don't have server_name set up. Make sure the domain is your nextcloud instance's domain.When you say "doesn't want to connect", what does that mean? The setup where you enter the server's details in the nextcloud settings?
       
 (DIR) Post #A2dRE6NJwvrmJ59iHA by tjb@fosstodon.org
       2020-12-27T18:45:41Z
       
       0 likes, 0 repeats
       
       @Matter nextcloud doesn't want to connect to the collabora server running in a separate docker container. i figured that out though--put both containers in the same bridge network.now the problem is the nextcloud server can't connect to the outside world, which also looks like an issue with the bridge network.
       
 (DIR) Post #A2dRLgjZAOvV6BB7Ca by tjb@fosstodon.org
       2020-12-27T18:47:08Z
       
       0 likes, 0 repeats
       
       @Matter are you using the apache or fpm image? i've been using the apache image.
       
 (DIR) Post #A2dTjgEItQ8cOR7iQC by Matter@fosstodon.org
       2020-12-27T19:13:53Z
       
       0 likes, 0 repeats
       
       @tjb apache image as well.
       
 (DIR) Post #A2dU4vv3kpsR8QFxPU by Matter@fosstodon.org
       2020-12-27T19:17:43Z
       
       0 likes, 0 repeats
       
       @tjb I don't have them in the same network, weird... That shouldn't be necessary
       
 (DIR) Post #A2dULhYgOvvZWBmlv6 by tjb@fosstodon.org
       2020-12-27T19:20:45Z
       
       0 likes, 0 repeats
       
       @Matter i think this is turning out to be a networking issue. are you running your setup using host networking, or bridge networking? if i put all 3 containers on the same bridge network (nextcloud, nextcloud-db, collabora), they can talk among each other just fine, but the nextcloud container then can't talk to the outside world, which apparently it needs to do (for the app store).
       
 (DIR) Post #A2dWSGF4Yp9GjXruim by Matter@fosstodon.org
       2020-12-27T19:44:21Z
       
       0 likes, 0 repeats
       
       @tjb bridge networking. My nextcloud can talk to the outside. I did a traceroute to office.mydomain.tld and it uses my external IP address, so maybe you would need hairpinning set up? I would think not, but who knows.