-
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
Integrity constraint violation: 1062 Duplicate entry ... for key 'fs_storage_path_hash' #17683
Comments
@icewind1991 Any idea? |
Ref: #13934 |
I am still getting this error too and it is not just for uploads this is occurring on downloads too |
I'm getting a very similar error but not with large files, getting the error with files less than 1 Mbyte, using the Windows sync client version 1.8.4 |
i get the same issue. Is there a workaround? |
@swadey See the linked issue for example: #13934 (comment) |
@RealRancor I read that thread but it's not clear what the workaround/solution actually is. Is it necessary to change the tx_isolation setting? |
@swadey First run the query as described in the linked issue:
to see if this is causing your issue. |
@RealRancor Thanks, I did that and, both settings are at their defaults: REPEATABLE-READ |
Ok, than it think its unrelated to the question for the transaction isolation level in the linked issue. |
I have this problem, too, with win desktop 2.0.1 build 5446 & 8.1.3.0. Small files, larger files, totally random. SELECT @@GLOBAL.tx_isolation, @@tx_isolation: REPEATABLE-READ Update: oc_filecache table to MyISAM seems to have worked. |
I get the exact same error with a qnap system, all kinds of files ( about every one out of twenty) This is very annoying since you have to delete the error producing files on the server and rename them on your local system in order to get rid of the infinite loops. |
is this #19068 related? seems that setting the upload and download limit to 800kbytes/s is helping. trying this right now... |
yep, that did it! limiting upload and download speed will make the errors vanish. Automatic upload and download speed also works. |
Try setting "filesystem_check_changes" to 0 in config.php, it should solve those conflicts. In 8.1.3 and 8.2 the transactional file locking feature will prevent such situations to happen: https://doc.owncloud.org/server/8.1/admin_manual/configuration_files/files_locking_transactional.html |
I'm running the latest daily build of the Windows client from 11/10/2018 and I am constantly getting this error. Usually comes along with a "500 Internal Server Error" message. |
When upgrading from 8.0.x to 8.1.0 I first came across the above error.
[...]
The text was updated successfully, but these errors were encountered: