why canât you change the port? just edit it in the config file and then in the docker start command. You even can redirect one port from the outside to another to the inside.
Additional, if you look at the recent spreed.me manual on the nextcloud page you will see that the security issue is solved too.
On top of that, you forgot to expose your nextcloud App instance.
for spreedme server you need golang. if the problem was that apache wasnt starting with spreedme running i would think there might be a port conflict. did you run spreedme and apache on the same ports?
and to stop the spreedme script (it isnt a init script just a way to start in the background) you could do a:
ps -e | grep spreed-webrtc-server
it wil give you a line with a process id (like 8992 or something) and then kill it with
If you moved the data folder to the /var/oc_data/ (or nc_data ) you should add 2 lines to the permissions script:
find ${ncdata} -type f -print0 | xargs -0 chmod 0640
find ${ncdata} -type d -print0 | xargs -0 chmod 0750
I couldnt edit the original post anymore (i think) but needed to add it somehow since it could be a security issue if you donât. You could get user directoryâs with the wrong permissions (rwx-rw-r instead of rwx-r-x- â)
Open port 8443 and 3478 TCP and UDP, because coturn use the both protocols.
I have also create an admin for coturn by this command : sudo turnadmin -A -u admin -p passwdadmin
The admin panel of coturn is available by browser at the adress : https://mynextcloud:8443 wich allows me to see the sessions, and add the secret code in section Shared Secrets (for TURN REST API) (donât know if itâs necessary or not).
Just finalized the instruction with the last replyâs of my fellow nextclouders and removed the âremember its not working yetâ. thanks for all your input.
@SyS0p3r this should not be done in /var/www for security reasons. Stuff in /var/www should be directly accessible by a web server. As you are proxyâing everything through Spreed WebRTC, thereâs no need to put these files into /var/www.
Excuse me for the beginners question, but what is the reason to use either /opt or /usr/share as root folder for the spreed server? As I remeber reading somewhere the one repo available installs it to /etc. I donât know what the intention is to put something into one or the other predefined folder of linux systems or what rights/security reasons are there about this, so some explanation would be nice . Reason is that I want to write a small guide about how to establish a systemd unit to autorun spreed.
i gues you can run webrtc as root with chmod 750 rights (rwx-rx---- for root) as it runs in the background and nextcloud connects to it. thats how i would run it.
the auto run part i cant help with so i will be following your guide for that one
Thanks for the information. Again some more clarification about all of this .
For the autorun systemd unit you need to create a new user, or at least it would be surely more recommendable than using root for this for security reasons. In this case you could chown -R the spreed server directory to this user or better just give him read and executable permissions: chmod -R 755
Hi and thanks for your guide. Iâm not sure if you got a success at the end or notâŚI read all commentsâŚand this is not clear.
Another tihnk, I try to download the vhost file, but the link seems not work, can you give me new ones?
Thanks in advance.
Hi, the guide should be complete and should be working, but i didnt try the full guide myself anymore. I just tried the vhost file download for me it did work: