collectives icon indicating copy to clipboard operation
collectives copied to clipboard

Collectives with ~500-1k files leads to unresponsive browsers

Open NoobyNiceDev opened this issue 2 years ago • 3 comments

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:

  1. Set up a new nextcloud instance with collective app or at least create a new collective
  2. Mount your nextcloud files into your local filesystem
  3. run following script (adopt pathes)
  4. 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

NoobyNiceDev avatar Dec 16 '23 20:12 NoobyNiceDev

I tried to move articles from an old wiki to Collectives and found out that this is still a problem.

abruening-iwt avatar Feb 05 '25 09:02 abruening-iwt

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!

p12tic avatar Apr 11 '25 23:04 p12tic

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?

badstue avatar Oct 16 '25 22:10 badstue