Windows Desktop Client: Uploads 100 files at a time and freezes

I’m experiencing a similar issue. It usually happens when I try to upload a large number of small files.
I’ve first set up the system on a Raspberry Pi 4, and then moved the installation to a more performant server when I saw the processor was causing the bottleneck while uploading. The freezing situation seems to have improved somewhat using a more powerful backend, and I suspect the issue has something to do with both the backend and the client.

I am using a hosted Nextcloud-Instance at Hetzner (Storage Share) and faced similat issues. CLient uploaded a bunch of files and after a multiple of 100 the upload got stuck and nothing helped. Your solution (diabling bulkupload) solved the issue - Thanks a lot @mattewan !! :heart:

I have the same issue with the Linux flatpak client.
Unfortunately, it doesn’t seem like I can implement @mattewan’s solution: I am running Nextcloud on TrueNAS (it uses Docker), and I cannot manually edit config.php.
Does anyone know of any workaround?

Thanks!

Disabling the bulk upload also worked on my side (didn’t tried the nginx patch as I’m using apache and ha-proxy as frontend)

Thank you so much @mattewan, I have 241 151 files to sync, you saved my week-end!

While disabling bulk upload prevents the app from hanging, I’d much like to have this option fixed rather than disabled. Uploading a bunch of smaller files (like a bunch of small image assets) will become much faster.

It looks like the issue probably is due to the client trying to process too many files at once. Until we have an actual fix, just a simple workaround, (like having a config option alongside bulkupload.enabled limiting the number of files processed at once to 10 rather than 100 - maybe something like bulkupload.filelimit?) could be a great stopgap for the time being.

This seems to have been an issue for some time already. Is this even acknowledged and is being investigated by the NextCloud team?

I added ā€œbulkupload.enabledā€: false, to my config.php and didnt help with the crash, I have a large folder of 5000 files and if I try to paste ir to the nextcloud folder using the windows client, the client app crashes inmediately
if I remove the folder and open the windows client again It syncs without a problem

this is the begining of the config i use

occ $ config:list system
{ ā€œsystemā€: { ā€œhtaccess.RewriteBaseā€: ā€œ/ā€, ā€œmemcache.localā€: ā€œ\OC\Memcache\APCuā€, ā€œbulkupload.enabledā€: false, ā€œapps_pathsā€: [
…
…

in currently running windows 11,
Nextcloud Desktop Client Version 3.16.4 (Windows)
Nextcloud 31.0.5 server in a docker container

checking the log found at C:\Users\user1\AppData\Roaming\Nextcloud\logs\20250521_1608_nextcloud.log.2
seems like is trying to sync files but crashes in the process, using the web browser those files never appear
these are the last lines in the log:

ā€œC:/Users/user1/Nextcloud/docs/EM/g/20220709 CT scanner (VersionWEB)/1.2.840.113619.6.95.31.0.3.4.1.9172.13.1697043/CTL600783_P L TC ABD PELVIS MULTIC SIMPL/1_205.dcmā€, ā€œC:/Users/user1/Nextcloud/docs/EM/g/20220709 CT scanner (VersionWEB)/1.2.840.113619.6.95.31.0.3.4.1.9172.13.1697043/CTL600783_P L TC ABD PELVIS MULTIC SIMPL/4_50.dcmā€, ā€œC:/Users/user1/Nextcloud/docs/ID/Ro/i/ia.jpgā€, ā€œC:/Users/user1/Nextcloud/docs/EM/g/20220709 CT scanner (VersionWEB)/1.2.840.113619.6.95.31.0.3.4.1.9172.13.1697043/CTL600783_P L TC ABD PELVIS MULTIC SIMPL/1_318.dcmā€, ā€œC:/Users/user1/Nextcloud/docs/EM/g/20220502 1.3.76.13.1060.2.20220502093926.100462293.1/05 Video.mp4ā€)

my php config:

root@60355b1a136e:/usr/local/etc/php/conf.d# cat nextcloud.ini
memory_limit=2G
upload_max_filesize=16G
post_max_size=16G
max_input_time=3600
max_execution_time=3600

any idea how to fix it?