Hi All,
I recently set up a Nextcloud server connected to an S3 external storage.
Both Nextcloud and the database are running as separate containers in Docker.
Users create folder shares through Nextcloud. However, some of these shares disappear automatically after a few days, and users need to create them again.
We are also experiencing slow performance when browsing folders and files through the Nextcloud.
While reviewing the Nextcloud logs, I found the following database errors:
Warning:
DbalException
An exception occurred while executing a query:
SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction
Retrying propagation query after retryable exception.
Error:
DbalException
An exception occurred while executing a query:
SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction
Uncaught exception.
Could these errors be related to the disappearing folder shares or the slow file-browsing performance?
What should I check to identify the root cause and prevent the shares from being removed?
Your kind advice is highly appreciated!