Very slow transfer of files with Nextcloud client. What is behind this?
I have set up a Nextcloud server, but I quickly encountered problems when importing files. Initially, the data ran quite smoothly over the line, but it quickly got stuck.
It was noticeable that it hung exactly at a 100 file step. Something was still transferred, but very slowly. I first suspected the client on my computer, but another computer showed exactly the same behaviour.
I checked the PHP settings and played around with the values. None of this helped. I even set up a new server in a virtual machine as a test. Same result.
Bulkupload is to blame
After a bit of searching on the internet, I came across a thread in the Nextcloud forum.
Some people here had the same problem. The solution was to set the following setting in the “config.php” of the server:
'bulkupload.enabled' => false
The bulk upload should actually speed up the transfer. Instead of transferring each file individually, 100 files are sent to the server at a time.
Then it went smoothly!