This basically happens when there are too many files in one folder, so the grpc answer gets too big. You can adjust the threshold with OCIS_GRPC_MAX_RECEIVED_MESSAGE_SIZE. I found some additional information in our dev docu: Additional Information | ownCloud
Thanks for getting back to me and for the tip. It’s good to know that the envvar can be changed. I have changed my workflow to avoid the problem, but I don’t think that is necessarily a good solution. The use-case is syncing mobile-phone images (in my case Android). And I think many users will have this many and probably many more files: IMHO it should just work.
Thanks for getting back to me. I mentioned above that I changed my workflow to avoid the rpc errors.
However, when I setup a Joplin sync as described here: Configure Joplin to work with ownCloud Infinite Scale (oCIS) - DEV Community, I again had rpc errors. I have about 700 notes in my DB, but there are about 4000 files in the Joplin directory (for whatever reason). I doubled OCIS_GRPC_MAX_RECEIVED_MESSAGE_SIZE to 20480000 and the error messages are gone. Joplin sync works fine, and I don’t seem to have any network timeout problems.