Nextcloud version : 25.0.4
Operating system and version: Unraid 6.11
Apache or nginx version: nginx 1.22.1
PHP version : 8.1.16
My nextcloud is behind a swag reverse proxy in a docker container
My issue
I recently noticed my uploads tend to be stuck/fail. Downloads are fine. They don’t produce any log entries server side, the desktop client gives a “connection time out” error. When uploading through the webapp the upload remained stuck at 10MB
I tinkered a bit with the server configuration and noticed the issue is tied to the max_chunk_size configuration property. When disabling chunking via the following command and restarting the container, the uploads are going through fine (and very fast too)
occ config:app:set files max_chunk_size --value 0
changing the chunk size to a higher value seems to just change at what uploaded amount the process gets stuck.
I recognize that disabling chunking has a negative impact on stability in certain scenarios, so I would like to know the cause of this and how I can enable it without the issues.
I don’t really know where to start though, as I don’t have any logs that can help me find the root cause. Any veterans that can help me out?
I have the same uploading issue and the same postgresql processes using a lot of CPU.
However, I have the feeling it started already with version 25.0.3. It seems to me that it started when I made the update for some plugins. I am not so sure. I made an update to 25.0.4 in the hope to fix it but nothing changed.
Does any of you use the Recognize app?
I noticed that disabling that fixes the problem for me (at least for the webapp, still have to check the desktop client).
Yes that’s it! Man, I was on the verge to deactivate it yesterday, but I just toggle recognition down in the config menu and the problem was still there. Lost a day on all this…
Thank you! I’ve been trying to figure this out for hours. It does appear that the current version of the Recognize app fixes the issue, though; I went to disable and saw that version 3.6.3 was available, so I updated it just to see. So, updating Recognize to 3.6.3 also works, instead of disabling.
In hopes it may help someone else find a solution they’re desperately searching for, here are some of the keywords I was searching for before I found this post: connection timeout extremely slow performance speed large uploads