-
Notifications
You must be signed in to change notification settings - Fork 2.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
"An exception occurred while executing 'INSERT INTO oc_filecache
#12243
Comments
@icewind1991 Any idea what can cause such exception log entries? - That looks somewhat like an unwanted behaviour to me: {"app":"remote","message":"An exception occurred while executing 'INSERT INTO `oc_filecache` (`mimepart`, `mimetype`, `mtime`, `size`, `etag`, `storage_mtime`, `permissions`, `parent`, `path_hash`, `path`, `name`, `storage`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)':\n\nSQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-d87d764ff169c6992b9989ee68a20b76' for key 'fs_storage_path_hash'","level":4,"time":"2014-11-17T22:23:47+00:00"} |
Possibly related to #2566 |
Same problem here
Client had to remove this file from owncloud. Now if he wants to add it again he gets error:
Server configurationOperating system:
Are you using external storage, if yes which one: local/smb/sftp/... Client configurationowncloud client: Client error log
|
@LukasReschke @PVince81 Should we start digging? :) |
Duplicate entry is likely to happen in situations where the same file is uploaded at the same time. Can also happen if the first login of a user (skeleton creation?) is happening from multiple clients at the same time. |
Then it's expected behavior? If not, please reopen @PVince81 |
So far, yes. There was work put in 8.1 to use "insertWhereExists" to avoid the messages to appear. And in the future we'll look into a high level locking #11804 |
Found a new bug debugging another one: #12240 (comment)
Steps to reproduce
Don´t know.
Expected behaviour
No errors
Actual behaviour
I get this in owncloud.log:
Server configuration
Ubuntu Server 12.04
Database:
Server version: 5.5.38-0ubuntu0.12.04.1 (Ubuntu)
PHP version:
PHP 5.3.10-1ubuntu3.15 with Suhosin-Patch (cli) (built: Oct 29 2014 12:19:04)
ownCloud version: (see ownCloud admin page)
7.0.3
Updated from an older ownCloud or fresh install:
Updated from stable 5 and then later stable 6
List of activated apps:
Activity
Calender
Contacts
Deleted files
Documents
External Storage Support
First Run Wizard
Full Text Search
Music
PDF Viewer
Pictures
Share Files
Tasks
Text Editor
Updater
Versions
Video Viewer
ownCloud SMS
Music
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
Dropbox
Are you using encryption: yes/no
No
Client configuration
Browser:
Version 37.0.2062.120 m
Operating system:
Windows 8.1
Logs
Web server error log
ownCloud log (data/owncloud.log)
Browser log
The text was updated successfully, but these errors were encountered: