nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.46k stars 4.08k forks source link

Very slow popup menus #27951

Closed Revertron closed 3 years ago

Revertron commented 3 years ago

How to use GitHub

Steps to reproduce

  1. Just click on some item that shows popup menu, even avatar in the right up corner.
  2. Notice, that it takes about a second to open the menu on a decent PC.
  3. Or get the performance view in browser, screenshots included.

Expected behavior

The menu should open in under 100ms, I suppose.

Actual behavior

It takes "forever" to show popup menu.

Server configuration

Operating system: Debian 10

Web server: Nginx

Database: MariaDB

PHP version: 7.3

Nextcloud version: 21.0.3

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

Where did you install Nextcloud from: loaded from website, using for years, updating regularly.

Signing status:

Signing status No errors have been found.

List of activated apps:

App list ``` Enabled: - apporder: 0.13.0 - audioplayer: 3.1.0 - bookmarks: 4.2.2 - bruteforcesettings: 2.2.0 - calendar: 2.3.0 - carnet: 0.24.2 - cloud_federation_api: 1.4.0 - comments: 1.11.0 - contacts: 4.0.0 - contactsinteraction: 1.2.0 - dashboard: 7.1.0 - dav: 1.17.1 - deck: 1.4.3 - federatedfilesharing: 1.11.0 - federation: 1.11.0 - files: 1.16.0 - files_external: 1.12.0 - files_markdown: 2.3.4 - files_pdfviewer: 2.1.0 - files_readmemd: 1.2.0 - files_retention: 1.10.1 - files_rightclick: 1.0.0 - files_sharing: 1.13.1 - files_trashbin: 1.11.0 - files_versions: 1.14.0 - files_videoplayer: 1.10.0 - firstrunwizard: 2.10.0 - logreader: 2.6.0 - lookup_server_connector: 1.9.0 - metadata: 0.14.0 - news: 16.0.0 - nextcloud_announcements: 1.10.0 - notes: 4.1.0 - notifications: 2.9.0 - oauth2: 1.9.0 - password_policy: 1.11.0 - photos: 1.3.0 - previewgenerator: 3.1.1 - privacy: 1.5.0 - provisioning_api: 1.11.0 - recommendations: 1.0.0 - serverinfo: 1.11.0 - settings: 1.3.0 - sharebymail: 1.11.0 - support: 1.4.0 - survey_client: 1.9.0 - systemtags: 1.11.0 - tasks: 0.13.6 - text: 3.2.0 - theming: 1.12.0 - twofactor_backupcodes: 1.10.0 - updatenotification: 1.11.0 - user_status: 1.1.1 - viewer: 1.5.0 - weather_status: 1.1.0 - workflowengine: 2.3.0 Disabled: - accessibility - activity - admin_audit - encryption - end_to_end_encryption - ownnote - phonetrack - ransomware_detection - ransomware_protection - sharerenamer - user_ldap - weather ```

Nextcloud configuration:

Config report ``` { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "cloud.zbin.eu" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "21.0.3.1", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "mysql.utf8mb4": true, "trashbin_retention_obligation": "auto", "versions_retention_obligation": "auto, 5", "installed": true, "loglevel": 2, "log_type": "file", "logdateformat": "F d, Y H:i:s", "log_rotate_size": 20971520, "theme": "", "default_phone_region": "SK", "remember_login_cookie_lifetime": 1296000, "session_lifetime": 259200, "session_keepalive": true, "maintenance": false, "logfile": "\/mnt\/hdd\/nextcloud\/nextcloud.log", "appstore.experimental.enabled": true, "debug": false, "memcache.local": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0 }, "dbpassword": "***REMOVED SENSITIVE VALUE***", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "filesystem_check_changes": 1, "updater.release.channel": "stable", "dbport": "", "mail_smtpsecure": "ssl", "mail_smtpauthtype": "PLAIN", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "overwrite.cli.url": "https:\/\/cloud.zbin.eu", "app_install_overwrite": [ "tasks", "files_readmemd", "bruteforcesettings" ], "has_rebuilt_cache": true, "mail_sendmailmode": "smtp", "mail_smtpport": "465" } } ```

Are you using external storage, if yes which one: No

Are you using encryption: No

Are you using an external user-backend, if yes which one: No

Client configuration

Browser: Firefox 90

Operating system: Windows 10

Logs

Web server error log

Web server error log ``` 2021/07/13 18:37:44 [error] 752#752: *614083 "/etc/nginx/html/index.html" is not found (2: No such file or directory), client: 195.123.245.146, server: , request: "POST / HTTP/1.1", host: "195.123.245.146" 2021/07/13 18:40:05 [error] 752#752: *614211 open() "/usr/share/nginx/html/robots.txt" failed (2: No such file or directory), client: 54.36.149.53, server: _, request: "GET /robots.txt HTTP/1.1", host: "www.xxxx.me" 2021/07/13 18:45:06 [warn] 752#752: *614498 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/2/91/0000000912 while reading upstream, client: 168.119.68.179, server: zzzz.link, request: "GET /packs/media/fonts/roboto/roboto-bold-webfont-2c18fe4b97519d62a0d6aad8ada1004f.woff2 HTTP/2.0", upstream: "http://192.168.44.88:80/packs/media/fonts/roboto/roboto-bold-webfont-2c18fe4b97519d62a0d6aad8ada1004f.woff2", host: "zzzz.link", referrer: "https://zhub.link/packs/css/default-0f10ab63.chunk.css" 2021/07/13 18:49:36 [warn] 752#752: *614794 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/3/91/0000000913 while reading upstream, client: 106.11.154.52, server: zzzz.link, request: "GET /packs/media/fonts/roboto/roboto-medium-webfont-3ed000c35f7afb8bd4ad7f46da85abbf.woff2 HTTP/1.1", upstream: "http://192.168.44.88:80/packs/media/fonts/roboto/roboto-medium-webfont-3ed000c35f7afb8bd4ad7f46da85abbf.woff2", host: "zzzz.link", referrer: "https://zhub.link/packs/css/default-0f10ab63.chunk.css" 2021/07/13 18:49:38 [warn] 752#752: *614793 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/4/91/0000000914 while reading upstream, client: 106.11.157.41, server: zzzz.link, request: "GET /packs/media/fonts/roboto/roboto-regular-webfont-e6505d5d85943244ec91d5e3002791f2.woff2 HTTP/1.1", upstream: "http://192.168.44.88:80/packs/media/fonts/roboto/roboto-regular-webfont-e6505d5d85943244ec91d5e3002791f2.woff2", host: "zzzz.link", referrer: "https://zhub.link/packs/css/default-0f10ab63.chunk.css" 2021/07/13 18:49:39 [warn] 752#752: *614798 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/5/91/0000000915 while reading upstream, client: 106.11.156.33, server: zzzz.link, request: "GET /packs/media/fonts/roboto/roboto-bold-webfont-2c18fe4b97519d62a0d6aad8ada1004f.woff2 HTTP/1.1", upstream: "http://192.168.44.88:80/packs/media/fonts/roboto/roboto-bold-webfont-2c18fe4b97519d62a0d6aad8ada1004f.woff2", host: "zzzz.link", referrer: "https://zhub.link/packs/css/default-0f10ab63.chunk.css" 2021/07/13 18:55:21 [error] 752#752: *615300 open() "/usr/share/nginx/html/scrape" failed (2: No such file or directory), client: 192.168.44.1, server: _, request: "GET /scrape?info_hash=%abI%cb%da%0e%1c%87%b0%992%dc.%a9%c2%ee%ad%8b%b4%e6%09 HTTP/1.1", host: "retracker.local" 2021/07/13 18:58:10 [error] 752#752: *615453 open() "/usr/share/nginx/html/scrape" failed (2: No such file or directory), client: 192.168.44.1, server: _, request: "GET /scrape?info_hash=D%ac%b0%e82f%fb%f7%ff%3a%84%ebp%12WK%1f%1c%99%15 HTTP/1.1", host: "retracker.local" 2021/07/13 19:00:41 [error] 752#752: *615600 open() "/usr/share/nginx/html/scrape" failed (2: No such file or directory), client: 192.168.44.1, server: _, request: "GET /scrape?info_hash=%f0%e1%09%14r%95s%17%13l%18%cc%f8r1%aa66%b4%2a HTTP/1.1", host: "retracker.local" 2021/07/13 19:05:14 [error] 752#752: *615883 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 185.232.14.2, server: sssss.dev, request: "GET /info.php HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.3-fpm.sock:", host: "sssss.dev", referrer: "http://sssss.dev/info.php" ```

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` {"reqId":"VSCLTMF86lpps5aIK0YN","level":2,"time":"July 08, 2021 00:46:52","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://www.xda-developers.com/feed/ read error : cURL error 28: Operation timed out after 60001 milliseconds with 442354 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.xda-developers.com/feed/","userAgent":"--","version":"21.0.3.1"} {"reqId":"VSCLTMF86lpps5aIK0YN","level":2,"time":"July 08, 2021 00:50:35","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"http://sergey****.ru/blog/feed/ read error : cURL error 18: transfer closed with outstanding read data remaining (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://sergey****.ru/blog/feed/","userAgent":"--","version":"21.0.3.1"} {"reqId":"VSCLTMF86lpps5aIK0YN","level":2,"time":"July 08, 2021 00:51:48","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://nextcloud.com/blog/feed/ read error : cURL error 28: Operation timed out after 60000 milliseconds with 196608 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nextcloud.com/blog/static-feed/","userAgent":"--","version":"21.0.3.1"} {"reqId":"VSCLTMF86lpps5aIK0YN","level":2,"time":"July 08, 2021 00:54:53","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://feeds.feedburner.com/*****krus read error : cURL error 28: Operation timed out after 60000 milliseconds with 213077 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://feeds.feedburner.com/*****krus","userAgent":"--","version":"21.0.3.1"} {"reqId":"VSCLTMF86lpps5aIK0YN","level":2,"time":"July 08, 2021 01:12:05","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://rust-gamedev.github.io/rss.xml read error : cURL error 28: Operation timed out after 60000 milliseconds with 943295 out of 1732433 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://gamedev.rs/rss.xml","userAgent":"--","version":"21.0.3.1"} {"reqId":"ItdDAmzbQb4ZzFKaHf9Z","level":2,"time":"July 08, 2021 10:18:06","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"http://sergey*****.ru/blog/feed/ read error : cURL error 28: Operation timed out after 60000 milliseconds with 209371 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://sergey*****.ru/blog/feed/","userAgent":"--","version":"21.0.3.1"} {"reqId":"ItdDAmzbQb4ZzFKaHf9Z","level":2,"time":"July 08, 2021 10:20:41","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://blog.mozilla.org/feed/ read error : cURL error 28: Operation timed out after 60001 milliseconds with 97654 out of 122123 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://blog.mozilla.org/feed/","userAgent":"--","version":"21.0.3.1"} {"reqId":"SYiQwqzE4uxGe62yGWb6","level":2,"time":"July 08, 2021 12:31:10","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://rss.****.eu/oboobs.php read error : cURL error 28: Operation timed out after 60001 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://rss.****.eu/oboobs.php","userAgent":"--","version":"21.0.3.1"} {"reqId":"gUvLpDSM5t4QqZ9zyLzJ","level":2,"time":"July 08, 2021 18:31:04","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://rss.****.eu/di_fm.php read error : cURL error 28: Operation timed out after 60001 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://rss.****.eu/di_fm.php","userAgent":"--","version":"21.0.3.1"} {"reqId":"gUvLpDSM5t4QqZ9zyLzJ","level":2,"time":"July 08, 2021 18:32:38","remoteAddr":"","user":"--","app":"news","method":"","url":"--","message":"https://www.xda-developers.com/feed/ read error : cURL error 28: Operation timed out after 60000 milliseconds with 204217 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.xda-developers.com/feed/","userAgent":"--","version":"21.0.3.1"} ```

Browser log

Browser log ``` Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). moz-extension:136:15 No OC found index.js:46:12 JQMIGRATE: Migrate is installed, version 3.3.2 jquery-migrate.min.js:2:708 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:60:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 5 globals.js:60:15 Notifications permissions granted App.vue:306 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 5 globals.js:60:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 3 globals.js:60:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:60:15 Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). angular.min.js:205 session heartbeat polling started session-heartbeat.js:97:9 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:60:15 $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 8 globals.js:60:15 [DEBUG] unified-search: Unified Search initialized with the following providers Object { 0: {…}, 1: {…}, 2: {…}, 3: {…}, 4: {…}, 5: {…}, 6: {…}, 7: {…}, 8: {…}, 9: {…}, … } ConsoleLogger.js:42:18 $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 116 globals.js:60:15 moment is deprecated: please ship your own, this will be removed in Nextcloud 20 120 globals.js:60:15 ```

Screenshots

nc_menu1 nc_menu2 nc_menu3 nc_news_menu

szaimen commented 3 years ago

Thank you for taking the time to report a bug! 👍

As this seems to be a setup issue I would like to ask you to raise your question in the forums: https://help.nextcloud.com If you wish support with setup issues from Nextcloud GmbH we offer this as part of the Nextcloud subscription. Learn more about this at https://nextcloud.com/enterprise/