Packages have been built which allow you to connect to the Spreed.ME snap using your Nextcloud installation.
Installation
Nextcloud
On the Nextcloud side, add these entries to your Nextcloud vhost in your reverse proxy
Apache
<Location /webrtc>
ProxyPass http://127.0.0.1:8080/webrtc
ProxyPassReverse /webrtc
</Location>
<Location /webrtc/ws>
ProxyPass ws://127.0.0.1:8080/webrtc/ws
</Location>
ProxyVia On
ProxyPreserveHost On
RequestHeader set X-Forwarded-Proto 'https' env=HTTPS
NGINX
http context
The following section, needs to go inside the http context of your Nginx
configuration. This enables Websocket proxy - make sure you have it only once.
Go to the admin panel, click on Spreed.ME on the left side-bar
Click on âGenerate Spreed WebRTC configâ
Copy-paste the random string next to âsharedsecret_secretâ for later use
Edit the Spreed me configuration file located at: /var/snap/spreedme/current/server.conf
In the [users] section, add the shared secret copy-pasted from earlier, like this sharedsecret_secret = bb04fb058e2d7fd19c5bdaa129e7883195f73a9c49414a7eXXXXXXXXXXXXXXXX
The Spreed.ME snap has been released to the store.
Unfortunately, the Nextcloud snap for the Nextcloud Box wonât support this feature for a while. In the meantime, you will need to create your own version of the Snap (which is a good idea anyway if you want to tighten security, add features, etc.).
Well, you canât use snaps on Debian. Snaps only work on Ubuntu Snappy
We also provide a Docker image for Spreed WebRTC, and Iâm sure there are Docker images for Nextcloud as well (need to modify the Dockerfile to also install the âspreedmeâ Nextcloud app).
Unfortunately, at this time, you canât install Spreed.ME when using the snap which comes with the Box. You need to create your own snap or wait for the changes which allow users to make modifications to their configs (2017)
Careful with the snap package system and X11 ! It can give you a false sens of security (sandbox)
if youâre using X11 (ie, Ubuntu desktop) any Snap package you install is completely capable of copying all your private data to wherever it wants with very little difficulty.
The problem here is the X11 windowing system. X has no real concept of different levels of application trust. Any application can register to receive keystrokes from any other application. Any application can inject fake key events into the input stream. An application that is otherwise confined by strong security policies can simply type into another window. An application that has no access to any of your private data can wait until your session is idle, open an unconfined terminal and then use curl to send your data to a remote site. As long as Ubuntu desktop still uses X11, the Snap format provides you with very little meaningful security. Mir and Wayland both fix this, which is why Wayland is a prerequisite for the sandboxed xdg-app design.
Hi, I compiled a nextcloud-snap package with support for Spreed.ME. Itâs just the current stable version (10.0.2snap1) plus these changes. If you want to use Spreed.ME on the Nextcloud Box now, you can find the snap package here. Cheers
Hi, is there any update on this issue? Can the spreed.me snap be used with the rp3 image ( https://download.nextcloud.com/server/images/ > ubuntu-core-16-armhf-rpi2-rpi3-installer-20170217.img ) on a rasperry/nextcloud box?
Itâs still the same deal, you can use the image, but you need to delete the snap an install a custom one which supports spreed.
Having said that, spreed is now integrated into Nextcloud, including screensharing, so you donât really need to use the separate app.
No. The official snap doesnât come with external Spreed support
Yes, but that wonât give you access to external Spreed from within the vanilla Nextcloud snap.
I would really recommend you use the Spreed app from the Nextcloud app store which works really well.