Few Spreed.me problems

I am trying to get spreed set up on Nextcloud 10. I had it mostly working last night, but after a reboot it stopped working. I followed the instructions exactly and cleaned up any errors popping up in the admin panel. I did a debug check and it says everything is set up properly. Right now if I try to access spreed via the apps I just get the spreed background but no actual spreed app. My other problem is when I try to access spreed via mydomain/webrtc I get this error below:

Please do not directly access this service. Open the Spreed.ME app in your Nextcloud installation instead.

So currently I cannot use spreed at all

Is your shared secret set right? You can use the admin panel for that.

Hi @stratacast,

can you please check the output of your browser’s developer console?

  1. Open the Spreed.ME app in Nextcloud
  2. Append ?debug to the URL, i.e. https://domain.com/index.php/apps/spreedme/?debug
  3. Right click on the Nextcloud site
  4. Click “Inspect element” (very bottom)
  5. Check what it says in the console and paste it here
Spreed.ME - Nextcloud :root #header + #content > #left > #rlblock_left, :root #content > #center > .dose > .dosesingle, :root #content > #right > .dose > .dosesingle, :root .icon-share, :root .container > .infoBoxList > .shareInfoBox { display: none !important; }
This application requires JavaScript for correct operation. Please enable JavaScript and reload the page.

Nextcloud

		<a href="#" class="header-appname-container menutoggle" tabindex="2">
			<h1 class="header-appname">
				Spreed.ME				</h1>
			<div class="icon-caret"></div>
		</a>

		<div id="logo-claim" style="display:none;"></div>
		<div id="settings">
			<div id="expand" tabindex="6" role="link" class="menutoggle">
									<div class="avatardiv" style="display: none">
										</div>
									<span id="expandDisplayName">courtmin</span>
				<div class="icon-caret"></div>
			</div>
			<div id="expanddiv" class="menu">
			<ul>
								<li>
					<a href="/index.php/settings/personal">
						<img alt="" src="/settings/img/personal.svg?v=81420f61d12b8107eb9a4b66d21e7979">
						Personal						</a>
				</li>
								<li>
					<a href="/index.php/settings/users">
						<img alt="" src="/settings/img/users.svg?v=81420f61d12b8107eb9a4b66d21e7979">
						Users						</a>
				</li>
								<li>
					<a href="/index.php/settings/help">
						<img alt="" src="/settings/img/help.svg?v=81420f61d12b8107eb9a4b66d21e7979">
						Help						</a>
				</li>
								<li>
					<a href="/index.php/settings/admin">
						<img alt="" src="/settings/img/admin.svg?v=81420f61d12b8107eb9a4b66d21e7979">
						Admin						</a>
				</li>
								<li>
					<a id="logout" href="https://192.168.1.24/index.php/logout?requesttoken=MFJeVhEpLAYFHUljDysAXCBvGzUoVxo7Wzw6AR0hdX0%3D%3AH51azQIcFTq0eZ%2B%2BB94SzdlwmqstIL66G2yc9OE%2B0pM%3D">
						<img alt="" src="/core/img/actions/logout.svg?v=81420f61d12b8107eb9a4b66d21e7979">
						Log out						</a>
				</li>
			</ul>
			</div>
		</div>

		<div class="notifications hidden"><div class="notifications-button menutoggle"><img class="svg" alt="Notifications" src="/apps/notifications/img/notifications.svg"></div><div class="notification-container menu"><div class="emptycontent"><h2>No notifications</h2></div><div class="notification-wrapper"></div></div></div><form class="searchbox" action="#" method="post" role="search" novalidate="">
			<label for="searchbox" class="hidden-visually">
				Search				</label>
			<input id="searchbox" name="query" value="" required="" autocomplete="off" tabindex="5" style="display: none;" type="search">
		</form>
	</div></header>

	<nav role="navigation"><div id="navigation" class="menu" style="display: none;">
		<div id="apps">
			<ul>
								<li data-id="files_index">
					<a href="/index.php/apps/files/" tabindex="3">
						<svg width="32" height="32" viewBox="0 0 32 32">
							<defs><filter id="invert"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"></feColorMatrix></filter></defs>
							<image x="0" y="0" width="32" height="32" preserveAspectRatio="xMinYMin meet" filter="url(#invert)" xlink:href="/core/img/places/files.svg?v=81420f61d12b8107eb9a4b66d21e7979" class="app-icon"></image>
						</svg>
						<div class="icon-loading-dark" style="display:none;"></div>
						<span>
							Files							</span>
					</a>
				</li>
								<li data-id="activity">
					<a href="/index.php/apps/activity/" tabindex="3">
						<svg width="32" height="32" viewBox="0 0 32 32">
							<defs><filter id="invert"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"></feColorMatrix></filter></defs>
							<image x="0" y="0" width="32" height="32" preserveAspectRatio="xMinYMin meet" filter="url(#invert)" xlink:href="/apps/activity/img/activity.svg?v=81420f61d12b8107eb9a4b66d21e7979" class="app-icon"></image>
						</svg>
						<div class="icon-loading-dark" style="display:none;"></div>
						<span>
							Activity							</span>
					</a>
				</li>
								<li data-id="gallery">
					<a href="/index.php/apps/gallery/" tabindex="3">
						<svg width="32" height="32" viewBox="0 0 32 32">
							<defs><filter id="invert"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"></feColorMatrix></filter></defs>
							<image x="0" y="0" width="32" height="32" preserveAspectRatio="xMinYMin meet" filter="url(#invert)" xlink:href="/apps/gallery/img/app.svg?v=81420f61d12b8107eb9a4b66d21e7979" class="app-icon"></image>
						</svg>
						<div class="icon-loading-dark" style="display:none;"></div>
						<span>
							Gallery							</span>
					</a>
				</li>
								<li data-id="spreedme">
					<a href="/index.php/apps/spreedme/" tabindex="3" class="active">
						<svg width="32" height="32" viewBox="0 0 32 32">
							<defs><filter id="invert"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"></feColorMatrix></filter></defs>
							<image x="0" y="0" width="32" height="32" preserveAspectRatio="xMinYMin meet" filter="url(#invert)" xlink:href="/apps/spreedme/img/app.svg?v=81420f61d12b8107eb9a4b66d21e7979" class="app-icon"></image>
						</svg>
						<div class="icon-loading-dark" style="display:none;"></div>
						<span>
							Spreed.ME							</span>
					</a>
				</li>
												<li id="apps-management">
					<a href="/index.php/settings/apps" tabindex="4">
						<svg width="32" height="32" viewBox="0 0 32 32" class="app-icon">
							<defs><filter id="invert"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"></feColorMatrix></filter></defs>
							<image x="0" y="0" width="32" height="32" preserveAspectRatio="xMinYMin meet" filter="url(#invert)" xlink:href="/settings/img/apps.svg?v=81420f61d12b8107eb9a4b66d21e7979"></image>
						</svg>
						<div class="icon-loading-dark" style="display:none;"></div>
						<span>
							Apps							</span>
					</a>
				</li>
			
			</ul>
		</div>
	</div></nav>

	<div id="content-wrapper">
		<div id="content" class="app-spreedme" role="main">
Debug

Sorry if the paste is messy, that was everything I grabbed from I hope…I honestly didn’t know how to copy from Firefox Inspector. I redid my machine and right now I can get the webrtc sessions working again but I still cannot access the page doing mydomain.com/webrtc

Soko, my pane looks like that for spreed, but what did you have to do to get show advanced settings there too?

@stratacast please paste everything again on https://pastebin.ubuntu.com/

be shure, that
[nextcloudpath]/apps/spreedme/config/config.php
and
[nextcloudpath]/apps/spreedme/ extra/static/config/OwnCloudConfig.js
are absent

p.E.
`rm [nextcloudpath]/apps/spreedme/config/config.php && rm [nextcloudpath]/apps/spreedme/ extra/static/config/OwnCloudConfig.js’

Here’s the paste: https://pastebin.ubuntu.com/23113149/

And thank you Soko, that solved that problem

Hi @stratacast,

so does it work for you now?
If you have removed the .js and .php config files (see previous reply from @Soko), you need to configure the app via the Nextcloud admin web interface, see: https://github.com/strukturag/nextcloud-spreedme#installation--setup-of-this-app

Hi!

Sorry for the late response, but I was having other problems with my server having to do with SSL. Long story short, I switched host operating systems and redid my installation of nextcloud (got passed the SSL problems) and I now have a copy of spreed.me that’s up and running! Right now, even with OwnCloudConfig.js absent, I still don’t get the GUI configuration options, but I do for the config.php options. I also have screen sharing available.

I still cannot access spreed.me via mydomain.com/webrtc

I am also wondering what the encryptionSecret and serverToken options are for and how to change them if necessary. I don’t see anything in the documentation for that

Hi @stratacast,

Right now, even with OwnCloudConfig.js absent, I still don’t get the GUI configuration options

What do you see in the Admin web interface? It should give you this message:
extra/static/config/OwnCloudConfig.js was not found. If you want to run Spreed WebRTC and Nextcloud on different origins, please read this document..
There’s no way to configure the .js config via the web interface. This should not be a problem unless you want to run Spreed WebRTC and Nextcloud on different origins.

I still cannot access spreed.me via mydomain.com/webrtc

This will not work and should give you an error message saying:
Please do not directly access this service. Open the Spreed.ME app in your Nextcloud installation instead..
You need to use the Spreed.ME Nextcloud app :slight_smile: (usually located at /index.php/apps/spreedme/).

I am also wondering what the encryptionSecret and serverToken options are for

Please see the comments for encryptionSecret / serverToken

Okay, so I guess I’m misunderstanding the mydomain.com/webrtc thing then. In the server.conf file am I supposed to change /webrtc/ to /index.php/apps/spreedme/?

And thank you for pointing me to the encryption secret and server token in the config examples! I couldn’t find those at all! :sweat_smile:

@stratacast please refer to the official Installation guide.

In the [http] section:
- Enable (= uncomment) basePath and set it to /webrtc/
  (basePath = /webrtc/)