-
-
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
Preview generation in gallery generates deadlock in database #11136
Comments
GitMate.io thinks possibly related issues are #10473 (Database Deadlock with Postgres), #7749 (Corrupted preview *-max.png blocks generation of other previews), #2364 (Preview generation creates error message), #3088 (Generating preview for RAW files.), and #1732 (Thumbnail/Preview image generation is too slow). |
Issue #10473 seems indeed to be related. |
From #10473
|
for me at least, I used docker with nextcloud 16.0.1 and postgres 11.3 as well as redis. I set the REDIS_HOST parameter and see in the app logs that it detected redis. I was still able to reproduce the issue with this configuration. I have since switched to maria since I noticed in the documentation it says postgres is not recommended for production. |
Am using 16.0.3 and seeing errors very similar to the one reported here when uploading files over webdav. |
I'm closing this issue due to inactivity. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen. |
The preview generation failed due to a deadlock in the database usage:
Steps to reproduce
Expected behaviour
The previews should be generated and shown
Actual behaviour
The previews are not shown and an error is in the log.
Server configuration
Operating system: Linux/Docker
Web server: Nginx/fpm
Database: Postgresql
PHP version: 7.x? from the official docker image
Nextcloud version: 14.0.0
Updated from an older Nextcloud/ownCloud or fresh install: Upgrade from 13
Where did you install Nextcloud from: Official docker image
Signing status:
No errors have been found.
App list
Enabled: - accessibility: 1.0.1 - activity: 2.7.0 - apporder: 0.5.0 - calendar: 1.6.2 - cloud_federation_api: 0.0.1 - comments: 1.4.0 - contacts: 2.1.6 - dav: 1.6.0 - drawio: 0.9.0 - end_to_end_encryption: 1.0.5 - external: 3.1.0 - federatedfilesharing: 1.4.0 - federation: 1.4.0 - files: 1.9.0 - files_external: 1.5.0 - files_external_gdrive: 0.2.8 - files_fulltextsearch: 0.99.4 - files_markdown: 2.0.4 - files_pdfviewer: 1.3.2 - files_sharing: 1.6.2 - files_texteditor: 2.6.0 - files_trashbin: 1.4.1 - files_versions: 1.7.1 - files_videoplayer: 1.3.0 - firstrunwizard: 2.3.0 - fulltextsearch: 0.99.3 - fulltextsearch_elasticsearch: 0.99.2 - gallery: 18.1.0 - groupfolders: 1.3.3 - impersonate: 1.1.0 - logreader: 2.0.0 - lookup_server_connector: 1.2.0 - mail: 0.10.0 - metadata: 0.7.0 - nextcloud_announcements: 1.3.0 - notes: 2.4.1 - notifications: 2.2.1 - oauth2: 1.2.1 - password_policy: 1.4.0 - polls: 0.8.3 - provisioning_api: 1.4.0 - richdocuments: 2.0.12 - serverinfo: 1.4.0 - sharebymail: 1.4.0 - sharerenamer: 2.1.0 - socialsharing_email: 1.0.4 - spreed: 4.0.0 - support: 1.0.0 - survey_client: 1.2.0 - systemtags: 1.4.0 - tasks: 0.9.7 - theming: 1.5.0 - twofactor_backupcodes: 1.3.1 - updatenotification: 1.4.1 - workflowengine: 1.4.0 Disabled: - admin_audit - dashboard - deck - encryption - files_accesscontrol - files_automatedtagging - files_retention - mindmaps - news - user_external - user_ldapNextcloud configuration:
Config report
{ "system": { "memcache.local": "\\OC\\Memcache\\APCu", "filelocking.enabled": true, "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "dbindex": 2, "timeout": 0 }, "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "***REMOVED SENSITIVE VALUE***" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***", "dbtype": "pgsql", "version": "14.0.0.19", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_smtpauthtype": "LOGIN", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "tls", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "loglevel": 2, "maintenance": false, "theme": "" } }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/69
**Operating system:**Linux
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
The text was updated successfully, but these errors were encountered: