Since the upgrade to Ubuntu 20.04 and a new Coturn version there have been some issues with getting Talk to work properly in Nextcloud. It turns out that using (D)TLS on port 5349 isn’t officially supported, and that the newer version of Coturn needed some other changes to start functioning correctly.
After doing some digging online I bumped into a post that stated that encryption isn’t needed for the TURN server as WebRTC already is encrypted. Makes sense. What happened before when it was running on port 5349 (and working in Ubuntu 18.04 with an older Coturn release) was that we tried to encrypt an already encrypted stream, which both is unnecessary, and also didn’t work. So reverting back to using port 3478 (which was the port we used originally when creating the script) actually isn’t less secure – and it should be faster since the server doesn’t have to encrypt the traffic two times. Win-win.
Since version 3.6 of Collabora there have been loads of reports that Collabora wasn’t working. After some quick reading in the forum some weeks ago we found that it was a known issue.
Not having the time to look into it properly, plus the fact that the developers should know about it since there was so many users affected and release a fix soon – we gave it low priority to fix. I mean, the developers should either fix it, or make it official what the workaround was until the actual fix was released IMHO.
Well, that wasn’t the case, and up until this day it was still not working. So, another round online and some more digging lead us to find the actual fix for the problem.
Turns out that you needed to add 2 lines in the Apache2 config and voila, issue resolved.
I’m actually quite surprised that it wasn’t made official (or maybe I missed it?), but the Nextcloud community is rockin as always and the fix is now released in the Nextcloud VM.
To get the latest Talk and Collabora script, simply run:
sudo bash /var/scripts/update.sh sudo bash /var/scripts/menu.sh
When inside the menu script, choose Apps, and then choose what you want to install.
That’s all for now, as usual – happy Nextclouding!