Open blwtxc opened 9 months ago
Storj limit the putObject request one a single object to 1 per second.
Some components like richdocuments
create the file this produces a touch putObject request
and after writes content with a second putObject request that generates the "too many requests" error
related issues https://github.com/nextcloud/server/issues/46034 https://github.com/nextcloud/server/issues/45501
Workaround: adding a 1sec sleep after file touch operation in /lib/private/Files/View.php
Just updated to NC28.0.0 and had to dive deeper into my logs for another issue, but also found errors reported by Storj. I greped the log to see if it happened earlier as well, but it didn't, so I guess this is related to recent changes in NC28.
Error:
Something else that caught my eye was, that, when trying to scan the files with
occ files:scan
, I now get the error outputError during scan: Array to string conversion
on the commandline. Unfortunately, nothing relevant gets postet to the log, but as it is file related, it might be related to the previous error.An issue that I encounter for several versions of NC now, but never related to Storj, is, that NC/Onlyoffice tells me its unable to create a document from a template. It seems to fail to create one but actually does do it. After a refresh of the page I see the document and can open it.
The error message I see in the log:
Cheers