-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- Nextcloud Server is running on 64bit capable CPU, PHP and OS.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
Latency of loading a nextcloud site is high, especially with the default "Files" app, which should be snappy. This is not only the case with my own installation, but also with some professionally hosted installations with way more resources.
I observed that before the "Files" app page loads (loading means, until the list of files is visible), many scripts and other files are being received. For me, the site was rendered and usable about the time the file "de.js?v=b17fbaab-0" was received (seemingly a translation file for some UI text for comments).
Before that, many other "unnecessary" things were loaded, including "/apps/dashboard" (which is very slow as an app as well), "user-status-menu.js", the nextcloud logo (which took 5s for whatever reason - and the rest of the site didn't render until it was received!) and many MANY more.
Steps to reproduce
- Install nextcloud
- Visit any app's site, e.g. "Dashboard" or "Files"
- Observe high latency
Expected behavior
I would expect the site to load extremely quickly, and "side features", like the user status, notifications, file comments etc. being loaded after the "main feature", like a files list, was loaded.
Alternatively, I would expect the web apps to be very quick after the first click, so much more caching on the client side or even permanent storage.
Installation method
Manual installation
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"192.168.first.localip",
"192.168.second.localip",
"my.domain.tld"
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"allow_local_remote_servers": true,
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "24.0.4.1",
"overwriteprotocol": "https",
"overwrite.cli.url": "http:\/\/192.168.second.localip\/nextcloud",
"htaccess.RewriteBase": "\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance": false,
"has_rebuilt_cache": true,
"theme": "",
"loglevel": 2,
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"updater.release.channel": "stable",
"default_phone_region": "DE",
"memcache.local": "\\OC\\Memcache\\APCu",
"app_install_overwrite": [
"previewgenerator"
],
"preview_max_x": "2048",
"preview_max_y": "2048",
"jpeg_quality": "60"
}
}List of activated Apps
Enabled:
- accessibility: 1.10.0
- activity: 2.16.0
- announcementcenter: 6.3.1
- calendar: 3.4.2
- circles: 24.0.1
- cloud_federation_api: 1.7.0
- comments: 1.14.0
- contacts: 4.2.0
- contactsinteraction: 1.5.0
- dashboard: 7.4.0
- dav: 1.22.0
- extract: 1.3.5
- federatedfilesharing: 1.14.0
- federation: 1.14.0
- files: 1.19.0
- files_pdfviewer: 2.5.0
- files_rightclick: 1.3.0
- files_sharing: 1.16.2
- files_trashbin: 1.14.0
- files_versions: 1.17.0
- files_videoplayer: 1.13.0
- firstrunwizard: 2.13.0
- gpoddersync: 3.4.0
- logreader: 2.9.0
- lookup_server_connector: 1.12.0
- maps: 0.2.0
- nextcloud_announcements: 1.13.0
- notifications: 2.12.0
- oauth2: 1.12.0
- password_policy: 1.14.0
- phonetrack: 0.7.0
- photos: 1.6.0
- previewgenerator: 5.0.0
- privacy: 1.8.0
- provisioning_api: 1.14.0
- recommendations: 1.3.0
- serverinfo: 1.14.0
- settings: 1.6.0
- sharebymail: 1.14.0
- spreed: 14.0.4
- support: 1.7.0
- survey_client: 1.12.0
- systemtags: 1.14.0
- tasks: 0.14.4
- text: 3.5.1
- theming: 1.15.0
- twofactor_backupcodes: 1.13.0
- updatenotification: 1.14.0
- user_status: 1.4.0
- viewer: 1.8.0
- weather_status: 1.4.0
- workflowengine: 2.6.0
Disabled:
- admin_audit
- encryption
- files_external
- quota_warning: 1.14.0
- richdocuments: 6.1.1
- richdocumentscode: 22.5.301
- user_ldapNextcloud Signing status
No errors have been found.Nextcloud Logs
no logs.Additional info
No response