Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

screen sharing not working #2377

Closed
mokkin opened this issue Oct 29, 2019 · 3 comments
Closed

screen sharing not working #2377

mokkin opened this issue Oct 29, 2019 · 3 comments

Comments

@mokkin
Copy link
Contributor

mokkin commented Oct 29, 2019

Expected behaviour

screen sharing should work

Actual behaviour

Sharing of another window (Firefox, LibreOffice) doesn't work. The other attendee is only seein a question mark on a black background.
The video transmission in both ways is okay.

Browser

Chromium
Microphone available: yes/no
no
Camera available: yes/no
yes
Operating system: Windows/Ubuntu/...
Manjaro Linux 18.1 x64 Gnome
Browser name: Firefox/Chrome/...
Chromium
Browser version: 50.1/55/...
Version 77.0.3865.120 (Offizieller Build) Arch Linux (64-Bit)

Talk app

Talk app version: (see apps admin page: /index.php/settings/apps)
6.0.4
Custom TURN server configured: yes/no (see additional admin settings: /index.php/settings/admin/additional)
stun.nextcloud.com:443
Custom STUN server configured: yes/no (see additional admin settings: /index.php/settings/admin/additional)
yes, coturn on a local Debian server. Server test says "ok".

Server configuration

Operating system: Ubuntu/RedHat/...
Plesk on Debian
Web server: Apache/Nginx
Apache+Nginx (no acces, shared hosting on netcup)
Database: MySQL/Maria/SQLite/PostgreSQL
mysql Ver 15.1 Distrib 10.0.38-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
PHP version:
7.3.9
Nextcloud Version: (see admin page)
16.0.5
List of activated apps:

``` php occ app:list PHP Warning: fileperms(): stat failed for /var/www/vhosts/hosting123456.abcde.netcup.net/httpdocs/cloud/data/nextcloud.log in /httpdocs/cloud/lib/private/Log/File.php on line 140 {"reqId":"YDfKA14GdSauccd3EUGc","level":3,"time":"2019-10-29T19:44:36+01:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"fileperms(): stat failed for \/var\/www\/vhosts\/hosting123456.abcde.netcup.net\/httpdocs\/cloud\/data\/nextcloud.log at \/httpdocs\/cloud\/lib\/private\/Log\/File.php#140","userAgent":"--","version":"16.0.5.1"} {"reqId":"YDfKA14GdSauccd3EUGc","level":2,"time":"2019-10-29T19:44:36+01:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Temporary directory \/var\/www\/vhosts\/hosting123456.abcde.netcup.net\/tmp\/nc is not present or writable","userAgent":"--","version":"16.0.5.1"} The current PHP memory limit is below the recommended value of 512MB. Dein Datenverzeichnis ist ungültig Stelle sicher, dass eine Datei ".ocdata" im Wurzelverzeichnis des data-Verzeichnisses existiert.

Kann das "Daten"-Verzeichnis nicht erstellen
Dies kann zumeist behoben werden, indem dem Web-Server Schreibzugriff auf das Wurzel-Verzeichnis eingeräumt wird. Siehe auch https://docs.nextcloud.com/server/16/go.php?to=admin-dir_permissions

An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /httpdocs/cloud/lib/private/Console/Application.php:166
Stack trace:
#0 /httpdocs/cloud/console.php(96): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /httpdocs/cloud/occ(11): require_once('/httpdocs/cloud...')
#2 {main}PHP Warning: fileperms(): stat failed for /var/www/vhosts/hosting123456.abcde.netcup.net/httpdocs/cloud/data/nextcloud.log in /httpdocs/cloud/lib/private/Log/File.php on line 140
{"reqId":"YDfKA14GdSauccd3EUGc","level":3,"time":"2019-10-29T19:44:36+01:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"fileperms(): stat failed for /var/www/vhosts/hosting123456.abcde.netcup.net/httpdocs/cloud/data/nextcloud.log at /httpdocs/cloud/lib/private/Log/File.php#140","userAgent":"--","version":"16.0.5.1"}
{"reqId":"YDfKA14GdSauccd3EUGc","level":3,"time":"2019-10-29T19:44:36+01:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"chmod(): No such file or directory at /httpdocs/cloud/lib/private/Log/File.php#141","userAgent":"--","version":"16.0.5.1"}

</details>

**Nextcloud configuration:**

<details>

php occ config:list system
PHP Warning: fileperms(): stat failed for /var/www/vhosts/hosting123456.abcde.netcup.net/httpdocs/cloud/data/nextcloud.log in /httpdocs/cloud/lib/private/Log/File.php on line 140
{"reqId":"1dsugGogcmCWJUeAEG3U","level":3,"time":"2019-10-29T19:34:46+01:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"fileperms(): stat failed for /var/www/vhosts/hosting123456.abcde.netcup.net/httpdocs/cloud/data/nextcloud.log at /httpdocs/cloud/lib/private/Log/File.php#140","userAgent":"--","version":"16.0.5.1"}
{"reqId":"1dsugGogcmCWJUeAEG3U","level":2,"time":"2019-10-29T19:34:46+01:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Temporary directory /var/www/vhosts/hosting123456.abcde.netcup.net/tmp/nc is not present or writable","userAgent":"--","version":"16.0.5.1"}
The current PHP memory limit is below the recommended value of 512MB.
Dein Datenverzeichnis ist ungültig
Stelle sicher, dass eine Datei ".ocdata" im Wurzelverzeichnis des data-Verzeichnisses existiert.

Kann das "Daten"-Verzeichnis nicht erstellen
Dies kann zumeist behoben werden, indem dem Web-Server Schreibzugriff auf das Wurzel-Verzeichnis eingeräumt wird. Siehe auch https://docs.nextcloud.com/server/16/go.php?to=admin-dir_permissions

An unhandled exception has been thrown:
Exception: Environment not properly prepared. in /httpdocs/cloud/lib/private/Console/Application.php:166
Stack trace:
#0 /httpdocs/cloud/console.php(96): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /httpdocs/cloud/occ(11): require_once('/httpdocs/cloud...')
#2 {main}PHP Warning: fileperms(): stat failed for /var/www/vhosts/hosting123456.abcde.netcup.net/httpdocs/cloud/data/nextcloud.log in /httpdocs/cloud/lib/private/Log/File.php on line 140
{"reqId":"1dsugGogcmCWJUeAEG3U","level":3,"time":"2019-10-29T19:34:48+01:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"fileperms(): stat failed for /var/www/vhosts/hosting123456.abcde.netcup.net/httpdocs/cloud/data/nextcloud.log at /httpdocs/cloud/lib/private/Log/File.php#140","userAgent":"--","version":"16.0.5.1"}
{"reqId":"1dsugGogcmCWJUeAEG3U","level":3,"time":"2019-10-29T19:34:48+01:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"chmod(): No such file or directory at /httpdocs/cloud/lib/private/Log/File.php#141","userAgent":"--","version":"16.0.5.1"}

</details>

### Server log (data/nextcloud.log)
<details>

no entries while problems occure

</details>
@nickvergessen
Copy link
Member

Did you install the necessary extension?

@scroom
Copy link

scroom commented Mar 20, 2020

@nickvergessen Just stumbled across this bug report. Would it be possible to see if the necessary extension is available and inform the user that this might not be the case?

@nickvergessen
Copy link
Member

Code is still there:
https://github.com/nextcloud/spreed/blob/master/src/components/CallView/LocalMediaControls.vue#L331-L341

But you should see an error message being shown when trying to share your screen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants