Closed Niclas-sol closed 4 years ago
Create some data i.e. photos from Lightroom Save them in your Nextcloud folder and organize it with subfolders
Instant sync of all photos and data
Fatal error from caching? or mysql
Operating system: Linux 5.4.41-1-pve #1 SMP PVE 5.4.41-1 (Fri, 15 May 2020 15:06:08 +0200) x86_64
Webserver: nginx/1.16.1 (fpm-fcgi)
Database: mysql 5.7.28
PHP version:
7.4.10 Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, json, exif, mysqli, pdo_mysql, apc, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Phar, Zend OPcache
Nextcloud version: 19.0.3 - 19.0.3.1
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: Web archive
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption:
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15
Operating system:
Looks like a duplicate of #22482.
@Niclas-sol follow #22482. Thanks.
Steps to reproduce
Create some data i.e. photos from Lightroom Save them in your Nextcloud folder and organize it with subfolders
Expected behaviour
Instant sync of all photos and data
Actual behaviour
Fatal error from caching? or mysql
Server configuration detail
Operating system: Linux 5.4.41-1-pve #1 SMP PVE 5.4.41-1 (Fri, 15 May 2020 15:06:08 +0200) x86_64
Webserver: nginx/1.16.1 (fpm-fcgi)
Database: mysql 5.7.28
PHP version:
7.4.10 Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, json, exif, mysqli, pdo_mysql, apc, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Phar, Zend OPcache
Nextcloud version: 19.0.3 - 19.0.3.1
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: Web archive
Signing status
Array ( )List of activated apps
``` Enabled: - activity: 2.12.0 - admin_audit: 1.9.0 - apporder: 0.11.0 - bruteforcesettings: 2.0.1 - camerarawpreviews: 0.7.8 - cloud_federation_api: 1.2.0 - dav: 1.15.0 - documentserver_community: 0.1.7 - external: 3.6.0 - federatedfilesharing: 1.9.0 - federation: 1.9.0 - files: 1.14.0 - files_accesscontrol: 1.9.1 - files_downloadactivity: 1.8.0 - files_pdfviewer: 1.8.0 - files_rightclick: 0.16.0 - files_sharing: 1.11.0 - files_trashbin: 1.9.0 - files_versions: 1.12.0 - files_videoplayer: 1.8.0 - issuetemplate: 0.7.0 - logreader: 2.4.0 - lookup_server_connector: 1.7.0 - maps: 0.1.6 - music: 0.16.0 - notifications: 2.7.0 - oauth2: 1.7.0 - occweb: 0.0.7 - onlyoffice: 5.0.0 - password_policy: 1.9.1 - photos: 1.1.0 - previewgenerator: 2.3.0 - privacy: 1.3.0 - provisioning_api: 1.9.0 - recommendations: 0.7.0 - serverinfo: 1.9.0 - settings: 1.1.0 - support: 1.2.1 - survey_client: 1.7.0 - text: 3.0.1 - theming: 1.10.0 - twofactor_backupcodes: 1.8.0 - updatenotification: 1.9.0 - viewer: 1.3.0 - workflowengine: 2.1.0 Disabled: - accessibility - calendar - comments - contactsinteraction - deck - encryption - files_external - firstrunwizard - nextcloud_announcements - sharebymail - spreed - systemtags - user_ldap ```Configuration (config/config.php)
``` { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "removed", "removed", "removed" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "tempdirectory": "\/var\/www\/html\/nextcloud\/data\/tmp", "dbtype": "mysql", "version": "19.0.3.1", "overwrite.cli.url": "removed, "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "updater.release.channel": "stable", "default_language": "de", "force_locale": "de_DE", "memcache.local": "\\OC\\Memcache\\APCu", "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "dbindex": 0, "timeout": 1.5 }, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "app_install_overwrite": [ "files_reader", "occweb", "files_external_gdrive" ], "enable_previews": true, "enabledPreviewProviders": [ "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\HEIC", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\MP3", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown" ], "quota_include_external_storage": true, "theme": "", "loglevel": 2, "mail_smtpsecure": "tls", "data-fingerprint": "38cf46f187e9cbed0904ced4e800492d" } ```Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption:
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
Client configuration
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15
Operating system:
Logs
Web server error log
``` From Nginx error.log 2020/09/13 14:01:15 [error] 2041#2041: *28582 access forbidden by rule, client: 79.242.54.234, server: *removed*, request: "GET /data/.ocdata?t=1600005675187 HTTP/2.0", host: "*removed*" ```Nextcloud log
``` [webdav] Fatal: Doctrine\DBAL\Exception\DeadlockException: An exception occurred while executing 'UPDATE `oc_filecache` SET `mtime` = GREATEST(`mtime`, ?), `etag` = ? WHERE (`storage` = ?) AND (`path_hash` IN ('d41d8cd98f00b204e9800998ecf8427e', '45b963397aa40d4a0063e0d85e4fe7a1', '972a71d1680f779b18a1a21c95b367ab', 'bcca000a5042ab492700aac02a6c9f23', 'bac31d9c9df9fc6098cdc348a11ab29b', '0feed60b30c880bfbf461eab046dae31'))' with params [1600005563, "5f5e25bbcfc92", 1]: SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction at <Browser log