https://opendal.apache.org/ logo
OpenDAL WebDAV Service with ownCloud
# general
x
OpenDAL WebDAV Service with ownCloud
Copy code
shell
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:exception>Doctrine\DBAL\Exception\LockWaitTimeoutException</s:exception>
  <s:message>An exception occurred while executing 'UPDATE "oc_file_locks" SET "lock" = 0 WHERE "key" = ? AND "lock" = -1' with params ["files\/5188f38a14680db2ed5156e4f2e2f273"]:

SQLSTATE[HY000]: General error: 5 database is locked</s:message>
</d:error>
Add @dqhl76 for information.
Seems database lock happend in delete, and after retry, it become a 403 error.
I fix this error by allow webdav to retry it while meeting 403 - -
but I think it is ok to use
j=1
. I tried it yesterday. It actually works and the action run for 6 mins, which is shorter than
nextcloud
x
Thanks a lot!
We can move on if j=1 works, otherwise, let's add redis for both owncloud and nextcloud!
Ooops, this happen again.
cc @dqhl76 would you like to take a look on adding redis for owncloud?
d
Oh no 🥲~ I will try to do that.
x
You can create an issue for this if you know how but don't have time to do🥰
d
I am availiable this evening. If it is not so urgent, I would have added it today. However, I am not sure if it would work as we expected.
x
Thanks a lot!