nextcloud / server

ā˜ļø Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.89k stars 4.02k forks source link

Nextcloud hangs after multiple pressing "next" button on videos. #25022

Closed motodoros closed 3 years ago

motodoros commented 3 years ago

How to use GitHub

Steps to reproduce

  1. Open directory with many videos
  2. Click on any video and press arrow (next video) many times.
  3. On 10th or 15th time (of pressing next) video will not load. It will only show black player screen. After that nextcloud will not respond for any request. If u want to unhang it, you have to close this nextcloud tab, and open new one.

Expected behaviour

  1. Videos should be listed without hangs. Nextcloud should answer for requests.

Actual behaviour

  1. Video hangs, and its impossible to open new nextcloud tab (it will not respond)

Server configuration

Virtualbox VM 4GB mem 6CPUs 1TB HDD

Operating system: Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-128-generic x86_64)

Web server: apache2

Database: postgresql-10

PHP version: 7.3

Nextcloud version: (see Nextcloud admin page) 20.0.4

Updated from an older Nextcloud/ownCloud or fresh install: 19

Where did you install Nextcloud from: Official site

Signing status:

Signing status ``` Which signing do ```

List of activated apps:

App list ``` - accessibility: 1.6.0 - activity: 2.13.4 - admin_audit: 1.10.0 - calendar: 2.1.3 - camerarawpreviews: 0.7.10 - cloud_federation_api: 1.3.0 - contacts: 3.4.3 - contactsinteraction: 1.1.0 - dashboard: 7.0.0 - dav: 1.16.2 - duplicatefinder: 0.0.4 - federatedfilesharing: 1.10.2 - files: 1.15.0 - files_pdfviewer: 2.0.1 - files_rightclick: 0.17.0 - files_sharing: 1.12.1 - files_trashbin: 1.10.1 - files_versions: 1.13.0 - files_videoplayer: 1.9.0 - firstrunwizard: 2.9.0 - logreader: 2.5.0 - lookup_server_connector: 1.8.0 - maps: 0.1.8 - nextcloud_announcements: 1.9.0 - oauth2: 1.8.0 - password_policy: 1.10.1 - photos: 1.2.1 - previewgenerator: 3.1.0 - privacy: 1.4.0 - provisioning_api: 1.10.0 - recommendations: 0.8.0 - serverinfo: 1.10.0 - settings: 1.2.0 - sharebymail: 1.10.0 - support: 1.3.0 - survey_client: 1.8.0 - systemtags: 1.10.0 - theming: 1.11.0 - twofactor_backupcodes: 1.9.0 - updatenotification: 1.10.0 - user_status: 1.0.1 - viewer: 1.4.0 - weather_status: 1.0.0 - workflowengine: 2.2.0 Disabled: - audioplayer - breezedark - comments - encryption - facerecognition - federation - files_external - files_photospheres - imageconverter - metadata - notes - notifications - text - twofactor_totp - user_ldap - user_usage_report - video_converter ```

Nextcloud configuration:

Config report ``` { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "***REMOVED SENSITIVE VALUE***", "***REMOVED SENSITIVE VALUE***" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "pgsql", "version": "20.0.4.0", "overwrite.cli.url": "http:\/\/192.168.1.15", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "5432", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "updater.release.channel": "stable", "maintenance": false, "theme": "", "loglevel": 2, "mysql.utf8mb4": true, "memcache.local": "\\OC\\Memcache\\APCu", "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "mail_smtpmode": "smtp", "mail_smtpsecure": "ssl", "mail_sendmailmode": "pipe", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465 ", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "twofactor_enforced": "false", "twofactor_enforced_groups": [ "admin" ], "preview_max_x": "2048", "preview_max_y": "2048", "jpeg_quality": "60" } or Insert your config.php content here. Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, ā€¦) ```

Are you using external storage, if yes which one: local/smb/sftp/... No

Are you using encryption: yes/no No

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... No

LDAP configuration (delete this part if not used)

LDAP config ``` No ldap ```

Client configuration

Browser: Problem represents with any browser

Operating system: Problem represents with any OS

Logs

Web server error log

Web server error log ``` nextcloud_error.log [Tue Jan 05 19:05:23.689961 2021] [access_compat:error] [pid 30713] [client 192.168.88.1:49528] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Tue Jan 05 19:20:09.019962 2021] [access_compat:error] [pid 1248] [client 192.168.88.1:49982] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Tue Jan 05 19:44:55.543413 2021] [access_compat:error] [pid 945] [client 192.168.88.1:50992] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Thu Jan 07 00:19:39.291525 2021] [access_compat:error] [pid 16068] [client 192.168.88.1:52134] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Thu Jan 07 00:34:02.191274 2021] [access_compat:error] [pid 16877] [client 192.168.88.1:53030] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Thu Jan 07 00:34:06.104481 2021] [access_compat:error] [pid 16877] [client 192.168.88.1:53030] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Thu Jan 07 00:37:02.129637 2021] [access_compat:error] [pid 16420] [client 192.168.88.1:53329] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Thu Jan 07 00:37:35.805756 2021] [access_compat:error] [pid 16890] [client 192.168.88.1:53365] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Thu Jan 07 00:37:55.278423 2021] [access_compat:error] [pid 17005] [client 192.168.88.1:53371] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Thu Jan 07 00:37:58.241014 2021] [access_compat:error] [pid 16877] [client 192.168.88.1:53372] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Thu Jan 07 00:41:20.065361 2021] [access_compat:error] [pid 17158] [client 192.168.88.1:53637] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Thu Jan 07 00:41:57.820838 2021] [access_compat:error] [pid 17465] [client 192.168.88.1:53669] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Thu Jan 07 19:44:05.360541 2021] [access_compat:error] [pid 20434] [client 192.168.88.1:53870] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Thu Jan 07 19:44:56.706216 2021] [access_compat:error] [pid 16329] [client 192.168.88.1:53893] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Thu Jan 07 19:45:39.227239 2021] [access_compat:error] [pid 20468] [client 192.168.88.1:53900] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata [Thu Jan 07 19:46:32.239493 2021] [access_compat:error] [pid 16424] [client 192.168.88.1:53928] AH01797: client denied by server configuration: /var/www/nextcloud/data/.ocdata error.log (in /var/log) [Tue Jan 05 19:14:40.421971 2021] [core:notice] [pid 512] AH00094: Command line: '/usr/sbin/apache2' [Tue Jan 05 19:17:53.431564 2021] [mpm_prefork:notice] [pid 512] AH00169: caught SIGTERM, shutting down [Tue Jan 05 19:17:53.697742 2021] [mpm_prefork:notice] [pid 924] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1i configured -- resuming normal operations [Tue Jan 05 19:17:53.697778 2021] [core:notice] [pid 924] AH00094: Command line: '/usr/sbin/apache2' [Tue Jan 05 19:51:23.989253 2021] [mpm_prefork:notice] [pid 924] AH00169: caught SIGTERM, shutting down [Wed Jan 06 22:52:08.817152 2021] [mpm_prefork:notice] [pid 1633] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1i configured -- resuming normal operations [Wed Jan 06 22:52:08.855202 2021] [core:notice] [pid 1633] AH00094: Command line: '/usr/sbin/apache2' [Wed Jan 06 23:12:51.437242 2021] [mpm_prefork:notice] [pid 1633] AH00169: caught SIGTERM, shutting down [Wed Jan 06 23:12:51.931558 2021] [mpm_prefork:notice] [pid 14650] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1i configured -- resuming normal operations [Wed Jan 06 23:12:51.931593 2021] [core:notice] [pid 14650] AH00094: Command line: '/usr/sbin/apache2' ```

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` There is no logs entries associated with this error. Nextcloud says that everything is OK. ```

Browser log

Browser log ``` Insert your browser log here, this could for example include: a) [console.log](https://github.com/nextcloud/server/files/5783822/console.log) ```

https://user-images.githubusercontent.com/18364594/103940974-40fc5400-513f-11eb-920c-55dc2f00937c.mp4

PVince81 commented 3 years ago

can you check the browser log and maybe the network console ?

it might contain clues about whether the 15th video failed loading or not

also see if the network request from the previous videos have been cancelled or whether the browser is still trying to download parts of them

motodoros commented 3 years ago

@PVince81 Hello! All information in attachments. There is no clues about closing previous videos. THis bug works even if I stop each video before switching next.

szaimen commented 3 years ago

I am pretty sure that this is the problem here: https://github.com/nextcloud/server/issues/8161

motodoros commented 3 years ago

@szaimen Thanks, as I see there is no solution :)

motodoros commented 3 years ago

Is it possible to solve it somehow?

szaimen commented 3 years ago

@kesselb gave a few tips here: https://github.com/nextcloud/server/issues/22334#issuecomment-678343186 but I tried it and it didn't make any difference in my testing...

motodoros commented 3 years ago

Solved in NC 21.0.1