-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
14.0.4: Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'UPDATE oc_filecache
#12699
Comments
GitMate.io thinks possibly related issues are #12343 (Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'INSERT INTO |
I think it is very similar to #11136. I also upgraded from Nextcloud 13 to 14 and also use the gallery / media preview to reproduce the problem. But the referenced issue also does not have a solution yet. |
Just to be sure: did you read https://docs.nextcloud.com/server/14/admin_manual/configuration_database/linux_database_configuration.html? |
Do you have many users or a large amount of data that is transferred? |
Hi @ChristophWurst , I read the [Database configuration] page and I use Nextcloud alone that means there is not much activity on the Nextcloud server. I can reproduce the problem 100% when generating new preview images in the gallery (also from the browser). |
Yep. Thus closing |
I have just updated to 14.0.4 and still get the error
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'UPDATE
oc_filecache
SETmtime
= GREATEST(mtime
, ?),etag
= ? WHERE (storage
= ?) AND (path_hash
IN ('d41d8cd98f00b204e9800998ecf8427e', '365b26642f524d56d2fa53da7a8458d9', '9af9c3d83bec564b56ec03b2e740c288', '1fb23f05313296b7b7cbceec5cb92d64'))' with params [1543347882, "5bfd9eaa96a43", 4]: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transactionSteps to reproduce
Now a lot of thumbnails need to be created by the server and the error appears in the server logs.
Expected behaviour
No error should be logged.
Actual behaviour
The error appears in the log
Server configuration
Server configuration
Operating system: Ubuntu 18.04
Web server: Apache
Database: MariaDB 10.x
PHP version: Using the docker image nextcloud:14.0.4
Nextcloud version: Using the docker image nextcloud:14.0.4
Updated from an older Nextcloud/ownCloud or fresh install: Update
Where did you install Nextcloud from: Using the docker image nextcloud:14.0.4
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Chrome
Operating system: MacOS
Logs
Nextcloud log (data/nextcloud.log)
Nextcloud log
The text was updated successfully, but these errors were encountered: