Collectives with ~500-1k files leads to unresponsive browsers
Describe the bug Bigger collectives (starting at ~300, latest at 600 files/pages) will lead to hangig browsers. Latest at 10k Files inside a collective, the app isn't use able because the browsertab will crash after being unresponsive for several minutes.
If you plan to use a collective as some kind of knowledge tool for long lasting projects you need to trust on your tools and 300 or even 5k pages during 5 years (or longer) of usage inside a team is not very uncommen and will result in such big knowledge plattforms. At least, this would be my use case.
To Reproduce Steps to reproduce the behavior:
- Set up a new nextcloud instance with collective app or at least create a new collective
- Mount your nextcloud files into your local filesystem
- run following script (adopt pathes)
- Open collective
#!/bin/bash
for j in $(seq 5 15); do
mkdir /home/user/testing/Kollektive/test/test$j
cp "/home/usertesting/Kollektive/test/Readme.md" "/home/user/testing/Kollektive/test/test$j/Readme.md"
for i in $(seq 0 100); do
cp "/home/paddy/testing/Kollektive/test/Readme.md" "/home/user/testing/Kollektive/test/test$j/$i.md"
done
done
Expected behavior Colectives App has no limits in file count (except the limits of underlying file system or storage). If there have to be limits, look at count of english wikipedia pages as rough order of magnitude for file count limit.
Screenshots not apllicable
Server details:
- Collectives app version: 2.9.2
- Nextcloud version: 27.1.4
- PHP Version: 8.2
- Database: MySQL
Client details:
- OS: LXC Container Alpine Linux
- Browser: Firefox and Chromium
- Browser version: Each up to date Version 120.xxxx
- Device: Laptop, Desktop
Logs
Nextcloud log (data/nextcloud.log)
No relevant log except failed login attemps while looking for password after install lxc
Browser log
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf eval blockiert ("script-src").
Source: typeof window.utag<"u"&&typeof utag.gdpr… [collectives](https://192.168.30.38/index.php/apps/collectives/)
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf eval blockiert ("script-src").
Source: window.__cmp&&typeof __cmp("getCMPData")… [collectives](https://192.168.30.38/index.php/apps/collectives/)
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf eval blockiert ("script-src").
Source: typeof window.utag<"u"&&typeof utag.gdpr… [collectives](https://192.168.30.38/index.php/apps/collectives/)
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf eval blockiert ("script-src").
Source: window.__cmp&&typeof __cmp("getCMPData")… [collectives](https://192.168.30.38/index.php/apps/collectives/)
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf eval blockiert ("script-src").
Source: typeof window.utag<"u"&&typeof utag.gdpr… [collectives](https://192.168.30.38/index.php/apps/collectives/)
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf eval blockiert ("script-src").
Source: window.__cmp&&typeof __cmp("getCMPData")… [collectives](https://192.168.30.38/index.php/apps/collectives/)
Content-Security-Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf eval blockiert ("script-src").
Source: typeof window.utag<"u"&&typeof utag.gdpr… [collectives](https://192.168.30.38/index.php/apps/collectives/)
You need to fill either the text or the ariaLabel props in the button component.
Object { text: undefined, ariaLabel: null }
Object { _uid: 210, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": (1) […], … }
[index.module.js:2:811376](webpack:///text/node_modules/@nextcloud/vue/dist/index.module.js)
Firefox seems to locate the issue at line 3484 of vue.runtime.esm.js
I tried to move articles from an old wiki to Collectives and found out that this is still a problem.
The collectives app is so slow that I'm unfortunately looking for an alternative. This is after adding several hundreds of files. NextCloud is otherwise great.
@mejo- Sorry for tagging, but given you're an active developer lately and also involved with NextCloud gmbh itself, maybe you care. This bug makes Collectives app completely useless in my scenario. Thanks a lot for all your work!
Hmm.. and I just tried to set my nextcloud up with PARA in the collectives app. But if the browser will hang with +300 posts, then I need to find another tool.. Or has there been updates to the performance for collectives?